From 9c7de4823c8a797c27ad4aea8cf5becd78594377 Mon Sep 17 00:00:00 2001 From: Sisiutl Date: Tue, 3 Dec 2024 14:20:56 +0100 Subject: add configuration file documentation note --- sigils/home/services/hyprland.scm | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3