diff options
author | Sisiutl <sisiutl@egregore.fun> | 2024-12-03 14:20:56 +0100 |
---|---|---|
committer | Sisiutl <sisiutl@egregore.fun> | 2024-12-03 14:20:56 +0100 |
commit | 9c7de4823c8a797c27ad4aea8cf5becd78594377 (patch) | |
tree | 06a8084398e1c29ff23934e47fb6e166fbb59b05 | |
parent | 75296e588be85cc8fb62b79bb50630555210cdf1 (diff) |
add configuration file documentation note
-rw-r--r-- | sigils/home/services/hyprland.scm | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/sigils/home/services/hyprland.scm b/sigils/home/services/hyprland.scm index 469c319..d6b4fe1 100644 --- a/sigils/home/services/hyprland.scm +++ b/sigils/home/services/hyprland.scm @@ -315,7 +315,17 @@ with wayland display ~s.~%" hyprland-instance wayland-display) hyprland-shepherd-service))) (compose identity) (default-value (home-hyprland-configuration)) - (description "Configure Hyprland by providing @file{~/.config/hypr/hyprland.conf}"))) + (description "Configure Hyprland by providing @file{~/.config/hypr/hyprland.conf}. + +To use a normal configuration file instead of the S-expression-like +configuration, you can use a @code{source} keyword. + +@lisp +(service home-hyprland-service-type + (home-hyprland-configuration + (config `((source ,(local-file \"hyprland.conf\")) + (source ,(local-file \"other-hyprland.conf\"))))) +@end lisp"))) ;;; Hyprpaper |