Add polybar config change reloading
This commit is contained in:
parent
80c4b2247d
commit
3971fb85e3
|
@ -20,6 +20,9 @@ in {
|
|||
Install = { WantedBy = [ "graphical-session.target" ]; };
|
||||
};
|
||||
|
||||
xdg.configFile."polybar/config.ini".onChange =
|
||||
"${pkgs.systemd}/bin/systemctl --user restart polybar.service";
|
||||
|
||||
services.polybar = {
|
||||
enable = true;
|
||||
package = pkgs.polybarFull;
|
||||
|
|
Loading…
Reference in New Issue