fixed clean up script so than on restart it correctly kills the mpv idleloop command that monitors mpd events

This commit is contained in:
elena 2018-12-26 18:11:47 +02:00
parent 56455cf819
commit cc3ee2cc92

View file

@ -7,6 +7,7 @@
# This script cleans up the old processes.
# Mpd widget
ps aux | grep "mpc idle player" | grep -v grep | awk '{print $2}' | xargs kill
#ps aux | grep "mpc idle player" | grep -v grep | awk '{print $2}' | xargs kill
ps aux | grep "mpc idleloop player" | grep -v grep | awk '{print $2}' | xargs kill
# Volume widget
ps aux | grep "pactl subscribe" | grep -v grep | awk '{print $2}' | xargs kill