dotfiles/.local/bin/statusbar/mpdupdate

10 lines
267 B
Plaintext
Raw Normal View History

2020-07-04 14:23:27 +02:00
#!/bin/sh
# Whenever the mpd state changes, update the mpd i3 module.
#kill -0 "$(cat /tmp/mpdupdate)" 2>/dev/null && exit || echo $$ > /tmp/mpdupdate
#sleep 5 && while : ; do
#pkill -RTMIN+11 dwmblocks
#mpc idle >/dev/null || exit
#done
pkill -RTMIN+11 dwmblocks