summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorArnaud Daby-Seesaram <ds-ac@nanein.fr>2025-08-09 13:11:07 +0200
committerLudovic Courtès <ludo@gnu.org>2025-09-14 18:13:07 +0200
commitaec2a05e359f73fc5d0fd786bfc94f243e35120a (patch)
tree201e6812f1ddfc87d7ab36b825f2702dc7037a58 /doc
parent0b0f8702ea89de6fa0dd2e4ef18717001b395c1b (diff)
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>
Diffstat (limited to 'doc')
-rw-r--r--doc/guix.texi15
1 files changed, 15 insertions, 0 deletions
diff --git a/doc/guix.texi b/doc/guix.texi
index 622a4e76f06..13665b568d7 100644
--- a/doc/guix.texi
+++ b/doc/guix.texi
@@ -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