feat: restructure and move apps into their own configs (#2)
This commit is contained in:
16
home/programs/ncmpcpp.nix
Normal file
16
home/programs/ncmpcpp.nix
Normal file
@@ -0,0 +1,16 @@
|
||||
{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