mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
home: services: home-sway-service-type: Enable extensions.
* gnu/home/services/sway.scm (%empty-sway-configuration): New value. (sway-combine): New procedure. (sway-compose): New procedure. (sway-extend): New procedure. (home-sway-service-type) [compose/extend]: New fields. * doc/guix.texi (Sway window manager): Document this. Change-Id: I548a18a6a273380be90c9b5b365f65a93cc02416 Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
committed by
Ludovic Courtès
parent
0b0f8702ea
commit
aec2a05e35
@@ -52511,6 +52511,21 @@ providing a @file{~/.config/sway/config} file,
|
||||
@item
|
||||
adding Sway-related packages to your profile.
|
||||
@end itemize
|
||||
|
||||
It is possible to extend this service (@pxref{Service Composition}).
|
||||
The resulting configuration file contains the concatenation of
|
||||
keybindings, modes, @i{etc.}@: found in all extensions.
|
||||
|
||||
@quotation Note
|
||||
At the moment, only one bar configuration is allowed. If more are
|
||||
found, an error will be raised.
|
||||
@end quotation
|
||||
@end defvar
|
||||
|
||||
@defvar %empty-sway-configuration
|
||||
The variable @code{%empty-sway-configuration} contains an empty
|
||||
@code{sway-configuration} record. This value can help users write
|
||||
simple service extensions.
|
||||
@end defvar
|
||||
|
||||
@deftp {Data Type} sway-configuration
|
||||
|
||||
Reference in New Issue
Block a user