aboutsummaryrefslogtreecommitdiff
path: root/misc/.config/mpv
diff options
context:
space:
mode:
authorYuchen Pei <id@ypei.org>2024-06-13 14:48:19 +1000
committerYuchen Pei <id@ypei.org>2024-06-13 14:48:19 +1000
commit6036a333f4bf66dd5b4d62b7534cb08aefc31823 (patch)
tree94c6dd0ba2e6164569dac93af1e3ba88d797e797 /misc/.config/mpv
parentc63a897c0f9320e0b2b0a20f0de5ea847b423127 (diff)
[mpv][inputrc] Add mpv and inputrc
Diffstat (limited to 'misc/.config/mpv')
-rw-r--r--misc/.config/mpv/input.conf2
-rw-r--r--misc/.config/mpv/mpv.conf30
2 files changed, 32 insertions, 0 deletions
diff --git a/misc/.config/mpv/input.conf b/misc/.config/mpv/input.conf
new file mode 100644
index 0000000..890da80
--- /dev/null
+++ b/misc/.config/mpv/input.conf
@@ -0,0 +1,2 @@
+PREV seek -15
+NEXT stop
diff --git a/misc/.config/mpv/mpv.conf b/misc/.config/mpv/mpv.conf
new file mode 100644
index 0000000..a3f5d24
--- /dev/null
+++ b/misc/.config/mpv/mpv.conf
@@ -0,0 +1,30 @@
+save-position-on-quit
+# Uncomment this line to load the profile by default
+# Otherwise, use `--profile=emacsconf-talks`
+# profile=emacsconf-talks
+
+script-opts=ytdl_hook-ytdl_path=/usr/bin/yt-dlp
+ytdl-format="bestvideo[height<=?720]+bestaudio/best"
+osc=no
+
+[emacsconf-talks]
+# Positioning
+video-zoom=-0.15
+video-pan-y=-0.055
+sub-use-margins=yes
+sub-scale-by-window=yes
+sub-pos=103
+sub-margin-x=150
+sub-margin-y=40
+# Style
+sub-font="Clear Sans Bold"
+sub-color="1/0.82/0"
+sub-blur=0.2
+sub-scale=0.9
+sub-font-size=40
+sub-border-size=0
+sub-border-color=0/1
+sub-shadow-color=0/1
+sub-shadow-offset=1.2
+sub-ass-force-style=Kerning=yes
+sub-ass-line-spacing=0