Skip to content

Commit

Permalink
home-cursor: use profileExtra instead of initExtra
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
rycee committed Dec 4, 2024
1 parent 30f66ea commit b1c19f1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/config/home-cursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ in {
}

(mkIf cfg.x11.enable {
xsession.initExtra = ''
xsession.profileExtra = ''
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
toString cfg.size
}
Expand Down

0 comments on commit b1c19f1

Please sign in to comment.