mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-17 04:08:08 +08:00
fixed clean up script so than on restart it correctly kills the mpv idleloop command that monitors mpd events
This commit is contained in:
parent
56455cf819
commit
cc3ee2cc92
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue