diff --git a/modules/programs/greetd.nix b/modules/programs/greetd.nix index 52aa2a5..4e1227e 100644 --- a/modules/programs/greetd.nix +++ b/modules/programs/greetd.nix @@ -105,7 +105,7 @@ } env=XCURSOR_THEME,${config.mods.stylix.cursor.name} - env=XCURSOR_SIZE,${config.mods.stylix.cursor.size} + env=XCURSOR_SIZE,${toString config.mods.stylix.cursor.size} exec-once=regreet --style /home/${username}/.config/gtk-3.0/gtk.css; hyprctl dispatch exit ''; diff --git a/modules/programs/hyprland/hyprland.nix b/modules/programs/hyprland/hyprland.nix index 44e4bb6..d85b771 100644 --- a/modules/programs/hyprland/hyprland.nix +++ b/modules/programs/hyprland/hyprland.nix @@ -272,9 +272,9 @@ "XDG_SESSION_TYPE=wayland" "XDG_SESSION_DESKTOP=Hyprland" "HYPRCURSOR_THEME,${config.mods.stylix.cursor.name}" - "HYPRCURSOR_SIZE,${config.mods.stylix.cursor.size}" + "HYPRCURSOR_SIZE,${toString config.mods.stylix.cursor.size}" "XCURSOR_THEME,${config.mods.stylix.cursor.name}" - "XCURSOR_SIZE,${config.mods.stylix.cursor.size}" + "XCURSOR_SIZE,${toString config.mods.stylix.cursor.size}" "QT_QPA_PLATFORM,wayland" "QT_QPA_PLATFORMTHEME,qt5ct" "QT_WAYLAND_FORCE_DPI,96"