Add poweralertd and dunst

https://git.sr.ht/~kennylevinsen/poweralertd
This commit is contained in:
Oliver Davies 2025-02-28 00:18:04 +00:00
parent 0e599e9273
commit 26700c7911

View file

@ -11,16 +11,25 @@ with lib;
options.features.desktop.dwm.enable = mkEnableOption "Enable dwm";
config = mkIf config.features.desktop.dwm.enable {
home.file.".xinitrc".text = ''
systemctl --user import-environment DISPLAY
home = {
file.".xinitrc".text = ''
systemctl --user import-environment DISPLAY
autorandr --change
autorandr --change
copyq &
copyq &
systemctl --user start dwm-status &
poweralertd -s &
exec dwm
'';
systemctl --user start dwm-status &
exec dwm
'';
packages = with pkgs; [
dunst
poweralertd
];
};
};
}