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
|
@ -152,9 +152,6 @@
|
||||||
|
|
||||||
MOZ_ENABLE_WAYLAND = "1";
|
MOZ_ENABLE_WAYLAND = "1";
|
||||||
MOZ_DRM_DEVICE = "/dev/dri/card0";
|
MOZ_DRM_DEVICE = "/dev/dri/card0";
|
||||||
|
|
||||||
XCURSOR_THEME = "Bibata-Modern-Classic";
|
|
||||||
XCURSOR_SIZE = "24";
|
|
||||||
|
|
||||||
XDG_DATA_HOME = "\$HOME/.local/share";
|
XDG_DATA_HOME = "\$HOME/.local/share";
|
||||||
XDG_CONFIG_HOME = "\$HOME/.config";
|
XDG_CONFIG_HOME = "\$HOME/.config";
|
||||||
|
|
|
@ -23,6 +23,11 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
config = mkIf cfg.enable {
|
config = mkIf cfg.enable {
|
||||||
|
environment.sessionVariables = {
|
||||||
|
XCURSOR_THEME = "${cfg.name}";
|
||||||
|
XCURSOR_SIZE = "${cfg.size}";
|
||||||
|
};
|
||||||
|
|
||||||
home-manager.users.${config'.username} = {
|
home-manager.users.${config'.username} = {
|
||||||
home.pointerCursor = {
|
home.pointerCursor = {
|
||||||
inherit (cfg) package name size;
|
inherit (cfg) package name size;
|
||||||
|
|
Loading…
Reference in a new issue