aboutsummaryrefslogtreecommitdiff
path: root/files
diff options
context:
space:
mode:
authorAnton Bobov <anton@bobov.name>2022-11-27 16:26:28 +0100
committerAnton Bobov <anton@bobov.name>2022-11-27 16:26:28 +0100
commitf44445e0b67d3135cda8cea80908e5ca9802b40b (patch)
tree65139e165e4fe51cdb3d3b6c50e5b681cf9e1193 /files
parent9ecbfe6c68fb277dbe4d34fcde7bcb075b84b565 (diff)
mpv: added key to toggle pause on all mpv instances
Diffstat (limited to 'files')
-rw-r--r--files/.mpv/input.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/files/.mpv/input.conf b/files/.mpv/input.conf
index a4d459f..87dbe8b 100644
--- a/files/.mpv/input.conf
+++ b/files/.mpv/input.conf
@@ -5,3 +5,5 @@
# Disable: Activate/deactivate deinterlacer.
d ignore
+
+Alt+p run "/bin/sh" "-c" "xdotool search --class mpv | xargs -I{} xdotool key --window {} p"