[feat] Add ncmpcpp basic config
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
./wezterm.nix
|
||||
./nvim.nix
|
||||
./goread.nix
|
||||
./ncmpcpp.nix
|
||||
] ++ lib.optionals device.isLinux [ ../linux ];
|
||||
|
||||
home.packages = with pkgs;
|
||||
|
||||
15
common/ncmpcpp.nix
Normal file
15
common/ncmpcpp.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }: {
|
||||
programs.ncmpcpp = {
|
||||
enable = true;
|
||||
bindings = pkgs.lib.attrsets.mapAttrsToList (key: value: {
|
||||
key = key;
|
||||
command = value;
|
||||
}) {
|
||||
j = "scroll_down";
|
||||
k = "scroll_up";
|
||||
J = [ "select_item" "scroll_down" ];
|
||||
K = [ "select_item" "scroll_up" ];
|
||||
};
|
||||
package = pkgs.ncmpcpp;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user