refactor(music): inherit for ncmpcpp binds

This commit is contained in:
winston 2023-03-02 20:30:14 +01:00
parent 2ad53260dc
commit b2e7df6e04
Signed by: winston
GPG key ID: 3786770EDBC2B481

View file

@ -9,10 +9,7 @@ in {
programs.ncmpcpp = {
enable = true;
bindings =
lib.mapAttrsToList (key: command: {
key = key;
command = command;
})
lib.mapAttrsToList (key: command: {inherit key command;})
{
"j" = "scroll_down";
"k" = "scroll_up";