diff options
-rw-r--r-- | dotfiles/.config/mimeo/associations.txt | 2 | ||||
-rw-r--r-- | dotfiles/.config/mpv/mpv.conf | 11 |
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" |