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