aboutsummaryrefslogtreecommitdiffstats
path: root/mpv
diff options
context:
space:
mode:
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