From 3cd1e39ecb49cee3b03d83af930b5397d81dd0fd Mon Sep 17 00:00:00 2001 From: shockrah Date: Thu, 14 Apr 2022 21:00:18 -0700 Subject: [PATCH] + Adding ipc socket control to musicbg again --- musicbg | 2 +- vpape-ctl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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;;