guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

03/08: services: console-fonts: Update docstring.


From: guix-commits
Subject: 03/08: services: console-fonts: Update docstring.
Date: Thu, 22 Aug 2019 11:59:38 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit 74a98b5cddd0430dd7229d4045f4885191c624b7
Author: John Soo <address@hidden>
Date:   Fri Aug 16 10:45:43 2019 -0700

    services: console-fonts: Update docstring.
    
    * gnu/services/base (console-font-service-type):
    Add documentation about valid arguments.
    
    Co-authored-by: Ludovic Courtès <address@hidden>
---
 gnu/services/base.scm | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

diff --git a/gnu/services/base.scm b/gnu/services/base.scm
index 537d30a..dcb7278 100644
--- a/gnu/services/base.scm
+++ b/gnu/services/base.scm
@@ -8,6 +8,7 @@
 ;;; Copyright © 2016 Ricardo Wurmus <address@hidden>
 ;;; Copyright © 2018 Mathieu Othacehe <address@hidden>
 ;;; Copyright © 2019 Efraim Flashner <address@hidden>
+;;; Copyright © 2019 John Soo <address@hidden>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -801,10 +802,14 @@ to add @var{device} to the kernel's entropy pool.  The 
service will fail if
                 (description
                  "Install the given fonts on the specified ttys (fonts are per
 virtual console on GNU/Linux).  The value of this service is a list of
-tty/font pairs like:
+tty/font pairs.  The font can be the name of a font provided by the @code{kbd}
+package or any valid argument to @command{setfont}, as in this example:
 
 @example
-'((\"tty1\" . \"LatGrkCyr-8x16\"))
+'((\"tty1\" . \"LatGrkCyr-8x16\")
+  (\"tty2\" . (file-append
+                font-tamzen
+                \"/share/kbd/consolefonts/TamzenForPowerline10x20.psf\")))
 @end example\n")))
 
 (define* (console-font-service tty #:optional (font "LatGrkCyr-8x16"))



reply via email to

[Prev in Thread] Current Thread [Next in Thread]