mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-01-30 09:48:11 +01:00
only when mpd running
This commit is contained in:
parent
782e66df1a
commit
56fa8087e5
@ -20,7 +20,7 @@ xrandr -q | grep "DP2 con" >/dev/null 2>&1 && xrandr --output DP1 --auto --outpu
|
|||||||
|
|
||||||
# This loop will run the `refbar` script to refresh the statusbar whenever a
|
# This loop will run the `refbar` script to refresh the statusbar whenever a
|
||||||
# command changes the music player's status.
|
# command changes the music player's status.
|
||||||
while : ; do
|
while pgrep -x mpd; do
|
||||||
mpc idle >/dev/null 2>&1
|
mpc idle >/dev/null 2>&1
|
||||||
refbar
|
refbar
|
||||||
done &
|
done &
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user