@@ -19,9 +19,20 @@ with lib;
1919 "/share/pixmaps"
2020 ];
2121
22− environment.profileRelativeSessionVariables = {
23− XCURSOR_PATH = [ "/share/icons" ];
24− };
22+ # libXcursor looks for cursors in XCURSOR_PATH
23+ # it mostly follows the spec for icons
24+ # See: https://www.x.org/releases/current/doc/man/man3/Xcursor.3.xhtml Themes
25+
26+ # These are preferred so they come first in the list
27+ environment.sessionVariables.XCURSOR_PATH = [
28+ "$HOME/.icons"
29+ "$HOME/.local/share/icons"
30+ ];
31+
32+ environment.profileRelativeSessionVariables.XCURSOR_PATH = [
33+ "/share/icons"
34+ "/share/pixmaps"
35+ ];
2536 };
2637
2738}