diff options
-rwxr-xr-x | pauseallmpv | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pauseallmpv b/pauseallmpv new file mode 100755 index 0000000..7c3406f --- /dev/null +++ b/pauseallmpv @@ -0,0 +1,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 |