parent
0e599e9273
commit
26700c7911
|
@ -11,16 +11,25 @@ with lib;
|
||||||
options.features.desktop.dwm.enable = mkEnableOption "Enable dwm";
|
options.features.desktop.dwm.enable = mkEnableOption "Enable dwm";
|
||||||
|
|
||||||
config = mkIf config.features.desktop.dwm.enable {
|
config = mkIf config.features.desktop.dwm.enable {
|
||||||
home.file.".xinitrc".text = ''
|
home = {
|
||||||
systemctl --user import-environment DISPLAY
|
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
|
||||||
|
];
|
||||||
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue