diff --git a/musicbg b/musicbg index 419b230..c952540 100755 --- a/musicbg +++ b/musicbg @@ -8,7 +8,7 @@ pape_name=`ls "${HOME}/Videos/Papes/" | dmenu -i -l 10 -p 'Pick a papes :^)'` mpv="mpv -wid WID --no-config --keepaspect=no --loop \ --no-border --vd-lavc-fast --x11-bypass-compositor=no \ - --gapless-audio=yes --vo=x11 --hwdec=auto \ + --gapless-audio=yes --vo=x11 --hwdec=auto --input-ipc-server=/tmp/mpv-bg-socket \ --x11-name=mpvbg" diff --git a/vpape-ctl b/vpape-ctl index 9e83337..dc99702 100755 --- a/vpape-ctl +++ b/vpape-ctl @@ -3,7 +3,7 @@ # mega autismo # controlling background mpv with sockest yo -opt=`echo "Pause\nKill" | dmenu -i -l 10 -p 'Background control'` +opt=`echo "(Un)Pause\nKill" | dmenu -i -l 10 -p 'Background control'` case $opt in Pause) echo 'cycle pause' | socat - /tmp/mpv-bg-socket;;