Add polybar config change reloading

This commit is contained in:
Agatha Lovelace 2023-04-11 19:50:28 +02:00
parent 80c4b2247d
commit 3971fb85e3
Signed by: sorceress
GPG Key ID: 01D0B3AB10CED4F8
1 changed files with 3 additions and 0 deletions

View File

@ -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;