Skip to content

Commit

Permalink
home.pointerCursor: use mkDefault to set XCURSOR_PATH (#3553)
Browse files Browse the repository at this point in the history
fixes #3551
  • Loading branch information
polykernel committed Jan 3, 2023
1 parent 498c46e commit 54245e1
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 54245e1

Please sign in to comment.