From c7ebaa30908029ee24296e41241d46735a830e65 Mon Sep 17 00:00:00 2001
From: Salt <rehashedsalt@cock.li>
Date: Tue, 19 Sep 2017 19:27:27 -0500
Subject: [PATCH] mpvwrap: Change title to make window easily identifiable
 Makes it easier to turn down the volume in pavucontrol, for example.

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

diff --git a/.bin/mpv-xwinwrap b/.bin/mpv-xwinwrap
index eb0b09b5..6de8569f 100755
--- a/.bin/mpv-xwinwrap
+++ b/.bin/mpv-xwinwrap
@@ -35,7 +35,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 -x mpv
-	xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --loop-playlist=inf $1
+	xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="Desktop Video" --loop-playlist=inf $1
 	return 0
 }