dotfiles/modules/bspwm/default.nix
2021-09-12 15:11:59 +02:00

32 lines
605 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";
};
"wallpaper/dracula.png" = {
source = ./dracula.png;
};
};
};
home.packages = with pkgs; [
feh
playerctl
pamixer
];
};
in
{
home-manager.users.moritz = {...}: (base);
}