mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-11 15:27:20 +03:00
Merge pull request #69031 from worldofpeace/xcursor-update
nixos/xdg/icons: match XCURSOR_PATH spec
This commit is contained in:
commit
58f090cc7b
@ -19,9 +19,20 @@ with lib;
|
|||||||
"/share/pixmaps"
|
"/share/pixmaps"
|
||||||
];
|
];
|
||||||
|
|
||||||
environment.profileRelativeSessionVariables = {
|
# libXcursor looks for cursors in XCURSOR_PATH
|
||||||
XCURSOR_PATH = [ "/share/icons" ];
|
# 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";
|
{ NIXPKGS_CONFIG = "/etc/nix/nixpkgs-config.nix";
|
||||||
PAGER = mkDefault "less -R";
|
PAGER = mkDefault "less -R";
|
||||||
EDITOR = mkDefault "nano";
|
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
|
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_DATA_PREFIX = "${config.system.path}"; # needed for gtk2 apps to find themes
|
||||||
GTK_EXE_PREFIX = "${config.system.path}";
|
GTK_EXE_PREFIX = "${config.system.path}";
|
||||||
|
Loading…
Reference in New Issue
Block a user