aboutsummaryrefslogtreecommitdiffstats
path: root/mpv/Makefile
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/Makefile
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
1 files changed, 11 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