Restart waybar after rebuild
This commit is contained in:
parent
74e5398ccf
commit
5f6f793979
|
@ -23,6 +23,13 @@ in
|
||||||
wpa_supplicant_gui # TODO: Move
|
wpa_supplicant_gui # TODO: Move
|
||||||
];
|
];
|
||||||
|
|
||||||
|
modules.desktop.reloadScript = ''
|
||||||
|
if ${pkgs.procps}/bin/pgrep waybar; then
|
||||||
|
${pkgs.procps}/bin/pkill waybar
|
||||||
|
fi
|
||||||
|
${pkgs.waybar}/bin/waybar &
|
||||||
|
'';
|
||||||
|
|
||||||
programs.waybar = {
|
programs.waybar = {
|
||||||
enable = true;
|
enable = true;
|
||||||
settings = {
|
settings = {
|
||||||
|
|
Loading…
Reference in New Issue