dotfiles/modules/bspwm/default.nix

30 lines
516 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
let
base = {
2021-09-10 08:59:21 +02:00
xsession.windowManager.bspwm.enable = true;
2021-09-10 09:14:03 +02:00
2021-09-09 21:55:28 +02:00
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
2021-09-10 09:57:47 +02:00
playerctl
pamixer
2021-09-09 21:55:28 +02:00
];
};
in
{
home-manager.users.moritz = {...}: (base);
}