mirror of
https://github.com/donovanglover/nix-config.git
synced 2025-08-09 23:07:46 +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 "
|
xsetroot -name " $VOLUME・$BATTERY・$TIME "
|
||||||
end
|
end
|
||||||
|
|
||||||
while true
|
while pidof dwm
|
||||||
update_bar
|
update_bar
|
||||||
|
|
||||||
sleep 10s
|
sleep 10s
|
||||||
|
Reference in New Issue
Block a user