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:
wrvsrx 2024-08-26 10:51:45 +08:00
parent c2cd2a52e0
commit 728e549544
No known key found for this signature in database
2 changed files with 2 additions and 2 deletions

View file

@ -163,7 +163,7 @@ in {
}
(mkIf cfg.x11.enable {
xsession.initExtra = ''
xsession.profileExtra = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
toString cfg.size
}

View file

@ -99,6 +99,6 @@ in {
'';
};
xsession.initExtra = xrdbMerge;
xsession.profileExtra = xrdbMerge;
};
}