forked from poz/niksos
move cursor envvars to cursor module
This commit is contained in:
parent
a3db400a44
commit
10ae3b11c3
2 changed files with 5 additions and 3 deletions
|
@ -153,9 +153,6 @@
|
|||
MOZ_ENABLE_WAYLAND = "1";
|
||||
MOZ_DRM_DEVICE = "/dev/dri/card0";
|
||||
|
||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
||||
XCURSOR_SIZE = "24";
|
||||
|
||||
XDG_DATA_HOME = "\$HOME/.local/share";
|
||||
XDG_CONFIG_HOME = "\$HOME/.config";
|
||||
XDG_STATE_HOME = "\$HOME/.local/state";
|
||||
|
|
|
@ -23,6 +23,11 @@ in {
|
|||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
environment.sessionVariables = {
|
||||
XCURSOR_THEME = "${cfg.name}";
|
||||
XCURSOR_SIZE = "${cfg.size}";
|
||||
};
|
||||
|
||||
home-manager.users.${config'.username} = {
|
||||
home.pointerCursor = {
|
||||
inherit (cfg) package name size;
|
||||
|
|
Loading…
Reference in a new issue