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 = {
|
programs.ncmpcpp = {
|
||||||
enable = true;
|
enable = true;
|
||||||
bindings =
|
bindings =
|
||||||
lib.mapAttrsToList (key: command: {
|
lib.mapAttrsToList (key: command: {inherit key command;})
|
||||||
key = key;
|
|
||||||
command = command;
|
|
||||||
})
|
|
||||||
{
|
{
|
||||||
"j" = "scroll_down";
|
"j" = "scroll_down";
|
||||||
"k" = "scroll_up";
|
"k" = "scroll_up";
|
||||||
|
|
Loading…
Reference in a new issue