dotfiles/modules/desktop/bspwm/default.nix

50 lines
936 B
Nix
Raw Normal View History

2021-09-09 21:55:28 +02:00
{ config, lib, pkgs, ... }:
2021-09-14 18:43:49 +02:00
{
services = {
xserver = {
enable = true;
layout = "de";
displayManager = {
defaultSession = "none+bspwm";
autoLogin = {
enable = true;
user = "moritz";
};
lightdm = {
enable = true;
};
};
windowManager.bspwm.enable = true;
};
};
home-manager.users.moritz = {
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-14 18:43:49 +02:00
brightnessctl
2021-09-09 21:55:28 +02:00
];
};
}