fix keybinds
This commit is contained in:
@@ -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" ]; }
|
||||||
|
];
|
||||||
|
};
|
||||||
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user