Add keybindings for controlling volume
Add keybindings for increasing and decreasing volume in mpv.
This commit is contained in:
parent
a29372ef99
commit
a3bcd63b3d
|
@ -1,5 +1,11 @@
|
||||||
{
|
{
|
||||||
programs.mpv = {
|
programs.mpv = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
# https://github.com/mpv-player/mpv/blob/master/etc/input.conf
|
||||||
|
bindings = {
|
||||||
|
"DOWN" = "add volume -5";
|
||||||
|
"UP" = "add volume 5";
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue