[feat] Add ncmpcpp basic config

This commit is contained in:
uttarayan21
2024-03-17 05:08:06 +05:30
parent 33a94911df
commit d1edabe192
4 changed files with 19 additions and 63 deletions

15
common/ncmpcpp.nix Normal file
View 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;
};
}