mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01:00
home.pointerCursor: set common XCURSOR_* environment variables by default (#3663)
The `XCURSOR_*` environment variables specified in libxcursor are used by many applications and libraries to load and configure cursor settings. Setting these variables is a no-op if ignored but is useful as a fallback when other sources of configuration are unreliable. This commit sets some commonly used `XCURSOR_*` environment variables (i.e XCURSOR_THEME, XCURSOR_SIZE) by default when `home.pointerCursor` is enabled.
This commit is contained in:
parent
c8cb60b8a1
commit
5e94669f8e
1 changed files with 2 additions and 0 deletions
|
@ -133,6 +133,8 @@ in {
|
|||
home.sessionVariables = {
|
||||
XCURSOR_PATH = mkDefault ("$XCURSOR_PATH\${XCURSOR_PATH:+:}"
|
||||
+ "${config.home.profileDirectory}/share/icons");
|
||||
XCURSOR_SIZE = mkDefault cfg.size;
|
||||
XCURSOR_THEME = mkDefault cfg.name;
|
||||
};
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue