summaryrefslogtreecommitdiffstats
path: root/.scripts/tools/pauseallmpv
diff options
context:
space:
mode:
Diffstat (limited to '.scripts/tools/pauseallmpv')
-rwxr-xr-x.scripts/tools/pauseallmpv4
1 files changed, 4 insertions, 0 deletions
diff --git a/.scripts/tools/pauseallmpv b/.scripts/tools/pauseallmpv
new file mode 100755
index 0000000..08241b5
--- /dev/null
+++ b/.scripts/tools/pauseallmpv
@@ -0,0 +1,4 @@
+#!/bin/sh
+# Sends a , key to all mpv instances, pausing them at the last frame.
+
+xdotool search --class mpv | xargs -I % xdotool key --window % comma