1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

home-cursor: use profileExtra instead of initExtra

The initExtra code is executed after systemd graphical-session.target
starts, which means graphical applications started by
graphical-session.target cannot get these X settings.
This commit is contained in:
Robert Helgesson 2024-12-04 12:38:17 +01:00
parent 30f66eaa32
commit b1c19f1dcb
No known key found for this signature in database
GPG key ID: 96E745BD17AA17ED

View file

@ -174,7 +174,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
} }