refactor(music): inherit for ncmpcpp binds
This commit is contained in:
parent
2ad53260dc
commit
b2e7df6e04
1 changed files with 1 additions and 4 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue