This commit is contained in:
Leonardo Eugênio 2022-09-25 00:12:58 -03:00
parent c3412ce23d
commit 09bb3e5a7b

View file

@ -279,4 +279,18 @@ in {
Install = { WantedBy = [ "sway-session.target" ]; };
};
};
programs.mpv.enable = true;
programs.mpv.config = {
# ytdl-format='best';
ytdl_path="yt-dlp";
ytdl-format="bestvideo[height<=1080][vcodec!=vp9]+bestaudio/best";
ytdl-raw-options="cookies=~/.cache/cookies-youtube-com.txt,mark-watched=";
osd-fractions=true;
save-position-on-quit=true;
keep-open=true;
cache=true;
cache-pause-initial=true;
cache-pause-wait=10;
};
}