+ More smarter control in vpape-ctl
This commit is contained in:
parent
004feae6a7
commit
a8ba3dccab
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user