diff options
| author | 2026-07-18 02:10:01 -0700 | |
|---|---|---|
| committer | 2026-08-26 23:04:25 -0700 | |
| commit | 9cf56211b4f3a39a830acaedf4c855d1ead6efdc (patch) | |
| tree | ac24bfb70632f1e06280507c3f5d765d672ea0b1 | |
| parent | 5306c18432be7a789973fd39c5f9cd5bb60bea2b (diff) | |
| download | new-dotfiles-9cf56211b4f3a39a830acaedf4c855d1ead6efdc.tar.gz new-dotfiles-9cf56211b4f3a39a830acaedf4c855d1ead6efdc.zip | |
sway: Move sway configuration
| -rw-r--r-- | oni/home/config/data.scm | 6 | ||||
| -rw-r--r-- | oni/home/services/guile-xyz.scm | 7 |
2 files changed, 10 insertions, 3 deletions
diff --git a/oni/home/config/data.scm b/oni/home/config/data.scm index 11bfbaf..9ba3d81 100644 --- a/oni/home/config/data.scm +++ b/oni/home/config/data.scm @@ -186,4 +186,8 @@ (exclude '("COMMIT_EDITMSG$" "TAG_EDITMSG$")))) - (service home-guile-swayer-service-type))))) + (service home-guile-swayer-service-type + (home-guile-swayer-configuration + (extra-config + (list + (local-file "../../../sway/.config/sway/init.scm"))))))))) diff --git a/oni/home/services/guile-xyz.scm b/oni/home/services/guile-xyz.scm index 3b72309..1dca5c8 100644 --- a/oni/home/services/guile-xyz.scm +++ b/oni/home/services/guile-xyz.scm @@ -11,7 +11,10 @@ (define-configuration home-guile-swayer-configuration (package (package guile-swayer) - "Package to use for setting Guile-Swayer")) + "Package to use for setting Guile-Swayer") + (extra-config + (text-config '()) + "Configuration for sway.")) (define (add-guile-swayer-packages config) (list (home-guile-swayer-configuration-package config))) @@ -24,7 +27,7 @@ "\n" "exec_always \"guile ~/.config/sway/init.scm\"\n")) ("sway/init.scm" - ,(local-file "../../../sway/.config/sway/init.scm")))) + ,(serialize-text-config config (home-guile-swayer-configuration-extra-config config))))) (define home-guile-swayer-service-type (service-type (name 'home-guile-swayer) |
