add mpv
This commit is contained in:
parent
c3412ce23d
commit
09bb3e5a7b
|
@ -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;
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue