dotfiles/lib/nixos/home-manager/modules/mpv.nix
Oliver Davies a3bcd63b3d Add keybindings for controlling volume
Add keybindings for increasing and decreasing volume in mpv.
2024-05-31 19:46:47 +01:00

12 lines
200 B
Nix

{
programs.mpv = {
enable = true;
# https://github.com/mpv-player/mpv/blob/master/etc/input.conf
bindings = {
"DOWN" = "add volume -5";
"UP" = "add volume 5";
};
};
}