Refactor bspwm config

This commit is contained in:
Henrik Lissner 2020-04-06 01:54:14 -04:00
parent 87f0e3bbc1
commit 1fc88b1dfe
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 8 additions and 9 deletions

0
config/bspwm/bspwmrc Normal file → Executable file
View file

View file

@ -25,21 +25,20 @@ with lib;
redshift.enable = true; redshift.enable = true;
xserver = { xserver = {
enable = true; enable = true;
windowManager.default = "bspwm";
windowManager.bspwm = {
enable = true;
configFile = <config/bspwm/bspwmrc>;
sxhkd.configFile = <config/sxhkd/sxhkdrc>;
};
displayManager.lightdm.enable = true; displayManager.lightdm.enable = true;
displayManager.lightdm.greeters.mini.enable = true; displayManager.lightdm.greeters.mini.enable = true;
windowManager.default = "bspwm";
windowManager.bspwm.enable = true;
}; };
}; };
# link recursively so other modules can link files in their folders # link recursively so other modules can link files in their folders
my.home.xdg.configFile."bspwm" = { my.home.xdg.configFile = {
"sxhkd".source = <config/sxhkd>;
"bspwm" = {
source = <config/bspwm>; source = <config/bspwm>;
recursive = true; recursive = true;
}; };
}; };
};
} }