mpvwrap: Lay a little work down for future cava integration

This commit is contained in:
2017-10-24 16:59:29 -04:00
parent 7129c69497
commit ea89e9316f
3 changed files with 4 additions and 3 deletions

View File

@@ -34,7 +34,8 @@ 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
pkill -x xwinwrap
#xwinwrap -g 1920x1048+0+0 -ni -b -nf -o 0.5 -ov -- urxvt -bg rgba:2828/2828/2828/FFFF -embed WID -e cava
xwinwrap -ni -fs -b -nf -ov -- mpv -wid WID --title="Desktop Video" --loop-playlist=inf $1
return 0
}