dotfiles/modules/bspwm/default.nix

27 lines
485 B
Nix

{ config, lib, pkgs, ... }:
let
base = {
xsession.windowManager.bspwm.enable = true;
xdg = {
enable = true;
configFile = {
"bspwm/bspwmrc" = {
source = ./bspwmrc;
onChange = "bspc wm -r";
};
"sxhkd/sxhkdrc" = {
source = ./sxhkdrc;
onChange = "pkill -USR1 -x sxhkd";
};
};
};
home.packages = with pkgs; [
feh
];
};
in
{
home-manager.users.moritz = {...}: (base);
}