diff --git a/home/.config/mpv/mpv.conf b/home/.config/mpv/mpv.conf index be2d89c..26d1916 100644 --- a/home/.config/mpv/mpv.conf +++ b/home/.config/mpv/mpv.conf @@ -9,8 +9,10 @@ hwdec-codecs=all {%@@ if profile == "Mirkwood" @@%} gpu-context=wayland -{%@@ elif profile == "Rivendell" @@%} -ao=alsa +{%@@ endif @@%} + +{%@@ if profile == "mko-laptop" @@%} +script=~/bin/mpris.so {%@@ endif @@%} ############# @@ -104,8 +106,11 @@ ytdl-format="bestvideo[height<=2160]+bestaudio/best[height<=2160]" [best] ytdl-format="bestvideo+bestaudio" + +{%@@ if profile == "Mirkwood" @@%} # Vulkan hwdec profile [vulkan] gpu-api=vulkan gpu-context=waylandvk hwdec=vaapi-copy +{%@@ endif @@%}