diff options
| author | Bruno Inec <contact@sweenu.xyz> | 2025-08-27 16:22:26 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-08-28 00:22:26 +1000 |
| commit | be4047201f610d2703bfb51d78da8b329e9ecd6a (patch) | |
| tree | 155e5e9bb03260e37ad6585ec8675e781143d06e /nix/hm-module.nix | |
| parent | plugin: fix getDominantColour scaling (diff) | |
| download | caelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.tar.gz caelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.tar.bz2 caelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.zip | |
nix/hm: restart shell on config changes (#482)
Diffstat (limited to 'nix/hm-module.nix')
| -rw-r--r-- | nix/hm-module.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 9538965..f87a138 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -60,6 +60,9 @@ in { Description = "Caelestia Shell Service"; After = ["graphical-session.target"]; PartOf = ["graphical-session.target"]; + X-Restart-Triggers = lib.mkIf (cfg.settings != { }) [ + "${config.xdg.configFile."caelestia/shell.json".source}" + ]; }; Service = { |