summaryrefslogtreecommitdiff
path: root/nix/hm-module.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nix/hm-module.nix')
-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 = {