mirror of
https://github.com/foo-dogsquared/nixos-config.git
synced 2025-01-31 10:58:02 +00:00
profiles/desktop: update mpv configuration
This commit is contained in:
parent
5f5dc2a14e
commit
9be7f20438
@ -80,10 +80,18 @@ in {
|
|||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
ytdl-format = "(webm,mkv,mp4)[height<=?1280]";
|
ytdl-format = "(webm,mkv,mp4)[height<=?1280]";
|
||||||
|
ytdl-raw-options-append = let
|
||||||
|
options = {
|
||||||
|
yes-playlist = "";
|
||||||
|
};
|
||||||
|
options' = lib.mapAttrsToList (n: v: "${n}=${v}") options;
|
||||||
|
in lib.concatStringsSep "," options';
|
||||||
ordered-chapters = true;
|
ordered-chapters = true;
|
||||||
ab-loop-count = "inf";
|
ab-loop-count = "inf";
|
||||||
chapter-seek-threshold = 15.0;
|
chapter-seek-threshold = 15.0;
|
||||||
no-osc = true;
|
osc = false;
|
||||||
|
sub-auto = "fuzzy";
|
||||||
|
hwdec= "auto";
|
||||||
};
|
};
|
||||||
|
|
||||||
bindings = {
|
bindings = {
|
||||||
@ -112,11 +120,24 @@ in {
|
|||||||
alang = vlang;
|
alang = vlang;
|
||||||
slang = with lib; concatStringsSep "," (reverseList (splitString "," vlang));
|
slang = with lib; concatStringsSep "," (reverseList (splitString "," vlang));
|
||||||
};
|
};
|
||||||
|
|
||||||
|
"extension.gif" = {
|
||||||
|
osc = false;
|
||||||
|
loop-file = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
"protocol.https" = {
|
||||||
|
keep-open = true;
|
||||||
|
loop-file = "inf";
|
||||||
|
};
|
||||||
|
|
||||||
|
"protocol.http".profile = "protocol.https";
|
||||||
};
|
};
|
||||||
|
|
||||||
scripts = with pkgs.mpvScripts; [
|
scripts = with pkgs.mpvScripts; [
|
||||||
mpris
|
mpris
|
||||||
mpvacious
|
mpvacious
|
||||||
|
mpv-playlistmanager
|
||||||
thumbnail
|
thumbnail
|
||||||
quality-menu
|
quality-menu
|
||||||
];
|
];
|
||||||
|
Loading…
Reference in New Issue
Block a user