mirror of
https://github.com/LukeSmithxyz/voidrice.git
synced 2026-03-20 01:37:45 +01:00
mpdupdate returns
This commit is contained in:
parent
3c1247e7dd
commit
0caade59d1
9
.scripts/statusbar/mpdupdate
Executable file
9
.scripts/statusbar/mpdupdate
Executable file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
[ "$(pgrep -x "$(basename "$0")" | wc -l)" -gt 2 ] && exit
|
||||||
|
|
||||||
|
while : ; do
|
||||||
|
pgrep -x mpd || exit
|
||||||
|
mpc idle > /dev/null
|
||||||
|
pkill -RTMIN+11 i3blocks ;
|
||||||
|
done
|
||||||
Loading…
x
Reference in New Issue
Block a user