nix/hm: restart shell on config changes (#482)
This commit is contained in:
parent
a1d5a16392
commit
be4047201f
1 changed files with 3 additions and 0 deletions
|
|
@ -60,6 +60,9 @@ in {
|
||||||
Description = "Caelestia Shell Service";
|
Description = "Caelestia Shell Service";
|
||||||
After = ["graphical-session.target"];
|
After = ["graphical-session.target"];
|
||||||
PartOf = ["graphical-session.target"];
|
PartOf = ["graphical-session.target"];
|
||||||
|
X-Restart-Triggers = lib.mkIf (cfg.settings != { }) [
|
||||||
|
"${config.xdg.configFile."caelestia/shell.json".source}"
|
||||||
|
];
|
||||||
};
|
};
|
||||||
|
|
||||||
Service = {
|
Service = {
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue