From 9b6222671fd2b89d16780ef640d3c29364191168 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Sun, 27 Sep 2026 18:55:51 +0200 Subject: Misc MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- mpv/Makefile | 11 +++++++++++ mpv/input.conf | 8 ++++++++ 2 files changed, 19 insertions(+) create mode 100644 mpv/Makefile create mode 100644 mpv/input.conf (limited to 'mpv') 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 -- cgit v1.3.1