dotfiles/modules/bspwm/default.nix

29 lines
516 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
playerctl
pamixer
];
};
in
{
home-manager.users.moritz = {...}: (base);
}