nixy/home/mpv: add scripts uosc and autosubsync with keybinds
This commit is contained in:
parent
bc3c1f4a2c
commit
881080ffd2
@ -86,19 +86,25 @@ in
|
||||
|
||||
mpv = {
|
||||
enable = true;
|
||||
scripts = [
|
||||
pkgs.mpvScripts.uosc
|
||||
pkgs.mpvScripts.autosubsync-mpv
|
||||
];
|
||||
config = {
|
||||
osc = "no";
|
||||
osd-bar = "no";
|
||||
border = "no";
|
||||
slang = "eng,en";
|
||||
alang = "eng,en";
|
||||
hwdec = "auto";
|
||||
vo = "gpu-next";
|
||||
ao = "pipewire";
|
||||
osd-bar = "no";
|
||||
border = "no";
|
||||
script-opts-set = "";
|
||||
ytdl-format = "bestvideo[height<=?1080]+bestaudio/best";
|
||||
};
|
||||
|
||||
bindings = {
|
||||
"s" = "script-binding uosc/subtitles";
|
||||
"a" = "script-binding uosc/audio";
|
||||
WHEEL_UP = "ignore";
|
||||
WHEEL_DOWN = "ignore";
|
||||
WHEEL_LEFT = "ignore";
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user