mirror of
https://github.com/nix-community/home-manager.git
synced 2025-11-08 11:36:05 +01:00
waybar: use X-Reload-Triggers
This causes the running waybar to be reloaded rather that fully restarted when only the configuration changes.
This commit is contained in:
parent
b7112b12ea
commit
6d7c11a0ad
1 changed files with 1 additions and 1 deletions
|
|
@ -353,7 +353,7 @@ in
|
|||
];
|
||||
After = [ cfg.systemd.target ];
|
||||
ConditionEnvironment = "WAYLAND_DISPLAY";
|
||||
X-Restart-Triggers =
|
||||
X-Reload-Triggers =
|
||||
optional (settings != [ ]) "${config.xdg.configFile."waybar/config".source}"
|
||||
++ optional (cfg.style != null) "${config.xdg.configFile."waybar/style.css".source}";
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue