mpvwrap: Do not commit suicide

I can't into pkill
This commit is contained in:
Salt 2017-09-15 17:28:12 -05:00
parent e9de08784c
commit 4dbedef1bb

View File

@ -34,7 +34,7 @@ cachecontent="$(cat $cachefile)"
function video-play {
notify-send -u low -t 10 -a 'MPV' "Embedded Video" "Playing $1 as a stream embedded in the desktop"
pkill mpv
pkill -x mpv
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID $1
return 0
}