mirror of
https://github.com/nix-community/home-manager
synced 2024-12-25 03:09:47 +01:00
home.pointerCursor: use mkDefault to set XCURSOR_PATH (#3553)
fixes https://github.com/nix-community/home-manager/issues/3551
This commit is contained in:
parent
498c46ea5d
commit
54245e1820
1 changed files with 2 additions and 2 deletions
|
@ -131,8 +131,8 @@ in {
|
||||||
# https://github.com/nix-community/home-manager/issues/2812
|
# https://github.com/nix-community/home-manager/issues/2812
|
||||||
# https://wiki.archlinux.org/title/Cursor_themes#Environment_variable
|
# https://wiki.archlinux.org/title/Cursor_themes#Environment_variable
|
||||||
home.sessionVariables = {
|
home.sessionVariables = {
|
||||||
XCURSOR_PATH = "$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
XCURSOR_PATH = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
||||||
+ "${config.home.profileDirectory}/share/icons";
|
+ "${config.home.profileDirectory}/share/icons");
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue