Fixed waybar startup after rebuild

This commit is contained in:
Jan-Bulthuis 2024-12-02 11:20:59 +01:00
parent 22089bd396
commit b9af43bec2
1 changed files with 3 additions and 3 deletions

View File

@ -24,9 +24,9 @@ in
]; ];
modules.desktop.reloadScript = '' modules.desktop.reloadScript = ''
if ${pkgs.procps}/bin/pgrep waybar; then # if ${pkgs.procps}/bin/pgrep waybar; then
${pkgs.procps}/bin/pkill waybar # ${pkgs.procps}/bin/pkill waybar
fi # fi
${pkgs.waybar}/bin/waybar & ${pkgs.waybar}/bin/waybar &
''; '';