+ More smarter control in vpape-ctl

This commit is contained in:
shockrah 2022-04-14 23:05:26 -07:00
parent 004feae6a7
commit a8ba3dccab

View File

@ -6,6 +6,6 @@
opt=`echo "(Un)Pause\nKill" | dmenu -i -l 10 -p 'Background control'` opt=`echo "(Un)Pause\nKill" | dmenu -i -l 10 -p 'Background control'`
case $opt in case $opt in
Pause) echo 'cycle pause' | socat - /tmp/mpv-bg-socket;; '(Un)Pause') echo 'cycle pause' | socat - /tmp/mpv-bg-socket;;
Kill) kill `pgrep xwinwrap`;; Kill) kill `pgrep xwinwrap`;;
esac esac