Move .xinitrc
This commit is contained in:
parent
1899081f06
commit
3bd7f1fffe
1 changed files with 5 additions and 1 deletions
|
@ -12,7 +12,7 @@ with lib;
|
||||||
|
|
||||||
config = mkIf config.homeManagerModules.dwm.enable {
|
config = mkIf config.homeManagerModules.dwm.enable {
|
||||||
home = {
|
home = {
|
||||||
file.".xinitrc".text = ''
|
file."${config.home.sessionVariables.XINITRC}".text = ''
|
||||||
systemctl --user import-environment DISPLAY
|
systemctl --user import-environment DISPLAY
|
||||||
|
|
||||||
copyq &
|
copyq &
|
||||||
|
@ -26,6 +26,10 @@ with lib;
|
||||||
exec dwm
|
exec dwm
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
sessionVariables = {
|
||||||
|
XINITRC = "${config.xdg.configHome}/X11/xinitrc";
|
||||||
|
};
|
||||||
|
|
||||||
packages = with pkgs; [
|
packages = with pkgs; [
|
||||||
dunst
|
dunst
|
||||||
poweralertd
|
poweralertd
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue