
Basically this is how i am going to have gifs and video backgrounds be seperate + vpape-ctl now being tracked as a way to control moving backgrounds
12 lines
246 B
Bash
Executable File
12 lines
246 B
Bash
Executable File
#!/bin/sh
|
|
|
|
# mega autismo
|
|
# controlling background mpv with sockest yo
|
|
|
|
opt=`echo "Pause\nKill" | dmenu -i -l 10 -p 'Background control'`
|
|
|
|
case $opt in
|
|
Pause) echo 'cycle pause' | socat - /tmp/mpv-bg-socket;;
|
|
Kill) kill `pgrep xwinwrap`;;
|
|
esac
|