aboutsummaryrefslogtreecommitdiffstats
path: root/mpv
diff options
context:
space:
mode:
authorMattias Andrée <m@maandree.se>2026-09-27 18:55:51 +0200
committerMattias Andrée <m@maandree.se>2026-09-27 18:55:51 +0200
commit9b6222671fd2b89d16780ef640d3c29364191168 (patch)
tree835512c9959dbd661e0b66e33863378c7c4e2b10 /mpv
parentDisplay randomart when ssh:ing (diff)
downloaddotfiles-master.tar.gz
dotfiles-master.tar.bz2
dotfiles-master.tar.xz
Signed-off-by: Mattias Andrée <m@maandree.se>
Diffstat (limited to '')
-rw-r--r--mpv/Makefile11
-rw-r--r--mpv/input.conf8
2 files changed, 19 insertions, 0 deletions
diff --git a/mpv/Makefile b/mpv/Makefile
new file mode 100644
index 0000000..8f60516
--- /dev/null
+++ b/mpv/Makefile
@@ -0,0 +1,11 @@
+.POSIX:
+
+install:
+ mkdir -p -- ~/.config/mpv
+ test ! -e ~/.config/mpv/input.conf || test -L ~/.config/mpv/input.conf
+ ln -sf -- ~/.dotfiles/mpv/input.conf ~/.config/mpv/input.conf
+
+uninstall:
+ +! ../check-installed mpv
+ -unlink -- ~/.dotfiles/mpv/input.conf
+ -rmdir -- ~/.dotfiles/mpv
diff --git a/mpv/input.conf b/mpv/input.conf
new file mode 100644
index 0000000..68b5af8
--- /dev/null
+++ b/mpv/input.conf
@@ -0,0 +1,8 @@
+Ctrl+Up add video-align-y -1
+Ctrl+Down add video-align-y 1
+Ctrl+Left add video-align-x -1
+Ctrl+Right add video-align-x 1
+Alt+Up add video-pan-y -0.01
+Alt+Down add video-pan-y 0.01
+Alt+Left add video-pan-x -0.01
+Alt+Right add video-pan-x 0.01