mirror of
https://github.com/nix-community/home-manager.git
synced 2026-01-11 17:39:37 +08: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:
@@ -174,7 +174,7 @@ in {
|
||||
}
|
||||
|
||||
(mkIf cfg.x11.enable {
|
||||
xsession.initExtra = ''
|
||||
xsession.profileExtra = ''
|
||||
${pkgs.xorg.xsetroot}/bin/xsetroot -xcf ${cursorPath} ${
|
||||
toString cfg.size
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user