mirror of
https://github.com/librephoenix/nixos-config
synced 2025-10-18 09:34:00 +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
|
||||
#yt-dlp_git # TODO disabled for debugging
|
||||
mpv mpc
|
||||
ncmpcpp
|
||||
ffmpeg
|
||||
];
|
||||
|
||||
|
@ -31,12 +30,16 @@ in {
|
|||
'';
|
||||
};
|
||||
|
||||
programs.ncmpcpp.bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
programs.ncmpcpp = {
|
||||
package = (pkgs.ncmpcpp.override { visualizerSupport = true; });
|
||||
enable = true;
|
||||
bindings = [
|
||||
{ key = "j"; command = "scroll_down"; }
|
||||
{ key = "k"; command = "scroll_up"; }
|
||||
{ key = "J"; command = [ "select_item" "scroll_down" ]; }
|
||||
{ key = "K"; command = [ "select_item" "scroll_up" ]; }
|
||||
];
|
||||
};
|
||||
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue