fix keybinds

This commit is contained in:
Emmet
2025-02-16 15:09:31 -06:00
parent 33fb08cd68
commit 85e5c666de

View File

@@ -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 = {
{ key = "j"; command = "scroll_down"; } package = (pkgs.ncmpcpp.override { visualizerSupport = true; });
{ key = "k"; command = "scroll_up"; } enable = true;
{ key = "J"; command = [ "select_item" "scroll_down" ]; } bindings = [
{ key = "K"; command = [ "select_item" "scroll_up" ]; } { key = "j"; command = "scroll_down"; }
]; { key = "k"; command = "scroll_up"; }
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
];
};
}; };
} }