summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorstuebinm2024-12-24 16:47:35 +0100
committerstuebinm2024-12-24 16:47:35 +0100
commitbb727d424fe421130b35e2071339f45cbad67fb6 (patch)
treeaebba318f7b3bdfd9de9f53d3000819452f8c96c
parent39dd504dafedce8591fbd1a2ade11930705bd41c (diff)
home/mpv: change ytdl format
seems like they have stopped encoding good combined formats, so use a reasonable video format plus best audio instead.
-rw-r--r--home/home.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/home/home.nix b/home/home.nix
index 6e18726..c93daef 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -277,7 +277,7 @@
paper = ''tags # "paper"'';
};
extraConfig = let
- mkMpv = cmd: ''set browser "kitty @launch --type tab mpv --ytdl-format='b[height<=1100]' %u > /dev/null" ; ${cmd} ; set browser "${config.programs.newsboat.browser} %u"'';
+ mkMpv = cmd: ''set browser "kitty @launch --type tab mpv --ytdl-format='bv[height<=1100]+ba' %u > /dev/null" ; ${cmd} ; set browser "${config.programs.newsboat.browser} %u"'';
in ''
color background white default
color listnormal white default