nix/modules/wm/home/mpv/default.nix

19 lines
369 B
Nix
Raw Normal View History

2024-10-09 20:17:39 +02:00
{pkgs, ...}: {
2024-10-04 22:32:42 +02:00
programs.mpv = {
2024-09-17 22:19:37 +02:00
enable = true;
bindings = {
2024-09-18 19:29:17 +02:00
x = "add speed 0.1";
z = "add speed -0.1";
"," = "frame-back-step";
"." = "frame-step";
space = "cycle-values speed 1 2";
DOWN = "add volume -5";
UP = "add volume 5";
2024-09-17 22:19:37 +02:00
};
2024-10-09 20:17:39 +02:00
scripts = with pkgs.mpvScripts; [
mpris
sponsorblock
];
2024-09-17 22:19:37 +02:00
};
}