move git and mprocs configs to shell module

This commit is contained in:
Schrottkatze 2024-03-05 13:53:39 +01:00
parent ede1765ee8
commit 9a7768ff5b
Signed by: schrottkatze
SSH key fingerprint: SHA256:hXb3t1vINBFCiDCmhRABHX5ocdbLiKyCdKI4HK2Rbbc
4 changed files with 2 additions and 2 deletions

24
modules/shell/mprocs.nix Normal file
View file

@ -0,0 +1,24 @@
{...}: {
home-manager.users.jade = {
pkgs,
lib,
...
}: {
home = {
packages = [pkgs.mprocs];
};
xdg.configFile."mprocs/mprocs.yaml" = {
text = builtins.toJSON {
proc_list_width = 15;
keymap_procs = {
"<l>" = {c = "toggle-focus";};
};
keymap_term = {
"<C-a>" = null;
# Ctrl-m so it doesnt overlap with zellij or helix
"<C-M>" = {c = "toggle-focus";};
};
};
};
};
}