mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-09 06:55:13 +02:00
dwm: Only update bar if dwm is running
Fixes an issue where the script would continue to run after quitting dwm.
This commit is contained in:
@ -218,7 +218,7 @@ in
|
||||
xsetroot -name " $VOLUME・$BATTERY・$TIME "
|
||||
end
|
||||
|
||||
while true
|
||||
while pidof dwm
|
||||
update_bar
|
||||
|
||||
sleep 10s
|
||||
|
Reference in New Issue
Block a user