mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-12 01:59:37 +08: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:
@@ -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}";
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user