mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-19 01:54:02 +05:30
fix keybinds
This commit is contained in:
parent
33fb08cd68
commit
85e5c666de
1 changed files with 10 additions and 7 deletions
|
@ -14,7 +14,6 @@ in {
|
||||||
vlc
|
vlc
|
||||||
#yt-dlp_git # TODO disabled for debugging
|
#yt-dlp_git # TODO disabled for debugging
|
||||||
mpv mpc
|
mpv mpc
|
||||||
ncmpcpp
|
|
||||||
ffmpeg
|
ffmpeg
|
||||||
];
|
];
|
||||||
|
|
||||||
|
@ -31,12 +30,16 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.ncmpcpp.bindings = [
|
programs.ncmpcpp = {
|
||||||
|
package = (pkgs.ncmpcpp.override { visualizerSupport = true; });
|
||||||
|
enable = true;
|
||||||
|
bindings = [
|
||||||
{ key = "j"; command = "scroll_down"; }
|
{ key = "j"; command = "scroll_down"; }
|
||||||
{ key = "k"; command = "scroll_up"; }
|
{ key = "k"; command = "scroll_up"; }
|
||||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||||
];
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue