Skip to content

Commit

Permalink
home.pointerCursor: use mkDefault to set XCURSOR_PATH (nix-community#…
Browse files Browse the repository at this point in the history
  • Loading branch information
polykernel authored and 15cm committed Feb 9, 2023
1 parent 00af74a commit 8c08762
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/config/home-cursor.nix
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,8 @@ in {
# https://github.com/nix-community/home-manager/issues/2812
# https://wiki.archlinux.org/title/Cursor_themes#Environment_variable
home.sessionVariables = {
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}"
+ "${config.home.profileDirectory}/share/icons";
XCURSOR_PATH = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}"
+ "${config.home.profileDirectory}/share/icons");
};
}

Expand Down

0 comments on commit 8c08762

Please sign in to comment.