services: xorg: Add sawfish session.

* gnu/services/xorg.scm (%sawfish-session-type): New variable.
* doc/guix.texi (X Window): Mention it.
master
宋文武 2015-02-03 22:08:04 +08:00
parent ca2eebbd99
commit 5ce93d9ade
2 changed files with 11 additions and 0 deletions

View File

@ -4579,6 +4579,10 @@ Session type using the Ratpoison window manager.
Session type using the WindowMaker window manager.
@end defvr
@defvr {Scheme Variable} %sawfish-session-type
Session type using the Sawfish window manager.
@end defvr
@defvr {Scheme Variable} %default-theme
@defvrx {Scheme Variable} %default-theme-name
The G-Expression denoting the default SLiM theme and its name.

View File

@ -27,6 +27,7 @@
#:use-module (gnu packages slim)
#:use-module (gnu packages ratpoison)
#:use-module (gnu packages gnustep)
#:use-module (gnu packages sawfish)
#:use-module (gnu packages admin)
#:use-module (gnu packages bash)
#:use-module (guix gexp)
@ -41,6 +42,7 @@
%default-xsessions
%ratpoison-session-type
%windowmaker-session-type
%sawfish-session-type
session-type?
session-type-name
@ -194,6 +196,11 @@ which should be passed to this script as the first argument. If not, the
(name "Ratpoison")
(executable #~(string-append #$ratpoison "/bin/ratpoison"))))
(define %sawfish-session-type
(session-type
(name "Sawfish")
(executable #~(string-append #$sawfish "/bin/sawfish"))))
(define %default-xsessions
;; Default session types available to the log-in manager.
(list %windowmaker-session-type %ratpoison-session-type))