diff options
author | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-12-01 23:55:06 +0300 |
---|---|---|
committer | Yaroslav de la Peña Smirnov <yps@yaroslavps.com> | 2020-12-01 23:55:06 +0300 |
commit | 60c2cc122f2389d66be3868489aff59e61589ab7 (patch) | |
tree | 7455608a071ada8021bb00fb6b41102b83872cb1 /dotfiles/.config | |
parent | a604c075fc9b26998cd075230b37bbcb80c80d51 (diff) | |
download | swayrice-60c2cc122f2389d66be3868489aff59e61589ab7.tar.gz swayrice-60c2cc122f2389d66be3868489aff59e61589ab7.zip |
mpv config
Diffstat (limited to 'dotfiles/.config')
-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" |