summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruno Inec <contact@sweenu.xyz>2025-08-27 16:22:26 +0200
committerGitHub <noreply@github.com>2025-08-28 00:22:26 +1000
commitbe4047201f610d2703bfb51d78da8b329e9ecd6a (patch)
tree155e5e9bb03260e37ad6585ec8675e781143d06e
parentplugin: fix getDominantColour scaling (diff)
downloadcaelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.tar.gz
caelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.tar.bz2
caelestia-shell-be4047201f610d2703bfb51d78da8b329e9ecd6a.zip
nix/hm: restart shell on config changes (#482)
-rw-r--r--nix/hm-module.nix3
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 = {