mirror of
https://github.com/nix-community/home-manager
synced 2024-11-26 21:19:45 +01:00
home-cursor, xresources: use profileExtra
instead of initExtra
`xsession.initExtra` is executed after systemd graphical-session.target, which means graphical applications started by graphical-session.target can get these x settings.
This commit is contained in:
parent
c2cd2a52e0
commit
728e549544
2 changed files with 2 additions and 2 deletions
|
@ -163,7 +163,7 @@ in {
|
||||||
}
|
}
|
||||||
|
|
||||||
(mkIf cfg.x11.enable {
|
(mkIf cfg.x11.enable {
|
||||||
xsession.initExtra = ''
|
xsession.profileExtra = ''
|
||||||
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
|
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
|
||||||
toString cfg.size
|
toString cfg.size
|
||||||
}
|
}
|
||||||
|
|
|
@ -99,6 +99,6 @@ in {
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
|
|
||||||
xsession.initExtra = xrdbMerge;
|
xsession.profileExtra = xrdbMerge;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue