aboutsummaryrefslogtreecommitdiff
path: root/pauseallmpv
blob: 7c3406f71bb5496fa05f462b1464fcd22e372db9 (plain)
1
2
3
4
5
6
7
8
#!/bin/sh

# From Luke Smith
#for i in $(ls /tmp/mpvsoc*); do
#	echo '{ "command": ["set_property", "pause", true] }' | socat - "$i";
#done

xdotool search --class mpv | xargs -I % xdotool key --window % comma