aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config
diff options
context:
space:
mode:
Diffstat (limited to 'dotfiles/.config')
-rw-r--r--dotfiles/.config/mimeo/associations.txt2
-rw-r--r--dotfiles/.config/mpv/mpv.conf11
2 files changed, 12 insertions, 1 deletions
diff --git a/dotfiles/.config/mimeo/associations.txt b/dotfiles/.config/mimeo/associations.txt
index c62c9f3..5b3f604 100644
--- a/dotfiles/.config/mimeo/associations.txt
+++ b/dotfiles/.config/mimeo/associations.txt
@@ -1,4 +1,4 @@
-mpv --input-ipc-server=/tmp/mpvsock --ytdl-format="bestvideo[height<=?1440]+bestaudio" -quiet %U >/dev/null 2>&1
+mpv -quiet %U >/dev/null 2>&1
^https?://(www.)?youtube.com/watch\?.*v=
^https?://youtu.be/
^https?://.*\.mkv
diff --git a/dotfiles/.config/mpv/mpv.conf b/dotfiles/.config/mpv/mpv.conf
new file mode 100644
index 0000000..b9acd0f
--- /dev/null
+++ b/dotfiles/.config/mpv/mpv.conf
@@ -0,0 +1,11 @@
+# Use wayland shared memory. For some reason gpu rendered output looks garbled
+# on my second monitor on sway
+vo=gpu
+hwdec=auto
+
+alang=ja,jpn,en,eng,es,spa,ru,rus
+slang=en,eng,es,spa,ru,rus
+
+input-ipc-server=/tmp/mpvsock
+
+ytdl-format="bestvideo[height<=?1440]+bestaudio"