change mpv config
This commit is contained in:
parent
1bb7e79dfa
commit
5dbd7a9c2d
@ -6,11 +6,15 @@ with deviceSpecific; {
|
|||||||
home-manager.users.alukard.programs.mpv = {
|
home-manager.users.alukard.programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
config = {
|
config = {
|
||||||
|
vo = "gpu";
|
||||||
|
hwdec = if video == "nvidia" then
|
||||||
|
"vdpau"
|
||||||
|
else
|
||||||
|
"vaapi";
|
||||||
ytdl-format = if isLaptop then
|
ytdl-format = if isLaptop then
|
||||||
"bestvideo[height<=?1080]+bestaudio/best"
|
"bestvideo[height<=?1080]+bestaudio/best"
|
||||||
else
|
else
|
||||||
"bestvideo+bestaudio/best";
|
"bestvideo+bestaudio/best";
|
||||||
# cache-default = 4000000;
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user