dotfiles/modules/bspwm/default.nix

33 lines
605 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";
};
2021-09-12 15:11:59 +02:00
"sxhkd/sxhkdrc" = {
source = ./sxhkdrc;
onChange = "pkill -USR1 -x sxhkd";
};
"wallpaper/dracula.png" = {
source = ./dracula.png;
2021-09-09 21:55:28 +02:00
};
};
};
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);
}