From 4dbedef1bb3e0263720174edf83dfdfc432a5e5c Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Fri, 15 Sep 2017 17:28:12 -0500
Subject: [PATCH] mpvwrap: Do not commit suicide I can't into pkill

---
 .bin/mpv-xwinwrap | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/.bin/mpv-xwinwrap b/.bin/mpv-xwinwrap
index 1298041b..f27b2eef 100755
--- a/.bin/mpv-xwinwrap
+++ b/.bin/mpv-xwinwrap
@@ -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
 }