From d3328bc70564322b0e4aba19c4cd92b81ab70ebf Mon Sep 17 00:00:00 2001 From: DashieTM Date: Sun, 25 Aug 2024 19:57:32 +0200 Subject: [PATCH] Add toString for cursor sizes --- modules/programs/greetd.nix | 2 +- modules/programs/hyprland/hyprland.nix | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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"