mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 23:43:30 +00:00
nixos/xdg/icons: match XCURSOR_PATH spec
This commit is contained in:
parent
760b677c19
commit
b3f4ce351e
@ -19,9 +19,20 @@ with lib;
|
||||
"/share/pixmaps"
|
||||
];
|
||||
|
||||
environment.profileRelativeSessionVariables = {
|
||||
XCURSOR_PATH = [ "/share/icons" ];
|
||||
};
|
||||
# libXcursor looks for cursors in XCURSOR_PATH
|
||||
# it mostly follows the spec for icons
|
||||
# See: https://www.x.org/releases/current/doc/man/man3/Xcursor.3.xhtml Themes
|
||||
|
||||
# These are preferred so they come first in the list
|
||||
environment.sessionVariables.XCURSOR_PATH = [
|
||||
"$HOME/.icons"
|
||||
"$HOME/.local/share/icons"
|
||||
];
|
||||
|
||||
environment.profileRelativeSessionVariables.XCURSOR_PATH = [
|
||||
"/share/icons"
|
||||
"/share/pixmaps"
|
||||
];
|
||||
};
|
||||
|
||||
}
|
||||
|
@ -20,7 +20,6 @@ in
|
||||
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
|
||||
PAGER = mkDefault "less -R";
|
||||
EDITOR = mkDefault "nano";
|
||||
XCURSOR_PATH = [ "$HOME/.icons" ];
|
||||
XDG_CONFIG_DIRS = [ "/etc/xdg" ]; # needs to be before profile-relative paths to allow changes through environment.etc
|
||||
GTK_DATA_PREFIX = "${config.system.path}"; # needed for gtk2 apps to find themes
|
||||
GTK_EXE_PREFIX = "${config.system.path}";
|
||||
|
Loading…
Reference in New Issue
Block a user