Extract an mpv mixin

This commit is contained in:
Oliver Davies 2025-04-05 09:17:15 +01:00
parent 85cb5d0f1f
commit 21198b5bf9
7 changed files with 12 additions and 23 deletions

11
modules/mixins/mpv.nix Normal file
View file

@ -0,0 +1,11 @@
{
home-manager.users.opdavies.programs.mpv = {
enable = true;
# https://github.com/mpv-player/mpv/blob/master/etc/input.conf
bindings = {
"DOWN" = "add volume -5";
"UP" = "add volume 5";
};
};
}