nix/modules/apps/gui/mpv/default.nix
2024-09-17 22:19:37 +02:00

18 lines
351 B
Nix

{pkgs,...}: {
home-manager.users.joy.programs.mpv = {
enable = true;
bindings = {
x = "add speed 0.1";
z = "add speed -0.1";
"," = "frame-back-step";
"." = "frame-step";
space = "set speed 2";
DOWN = "add volume -5";
UP = "add volume 5";
};
scripts = with pkgs.mpvScripts; [
mpvacious
];
};
}