From 5ed0d0ef605c73d2b94e57ff1e280f2f0a680663 Mon Sep 17 00:00:00 2001 From: Evie Litherland-Smith Date: Tue, 27 Feb 2024 14:00:11 +0000 Subject: [PATCH] hyprland: fix setting cursor, increase size 24 -> 32 --- home/hyprland/default.nix | 6 +++--- system/stylix.nix | 1 - 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/home/hyprland/default.nix b/home/hyprland/default.nix index 09462e0b..d2c9ff77 100644 --- a/home/hyprland/default.nix +++ b/home/hyprland/default.nix @@ -88,8 +88,8 @@ "XDG_SESSION_DESKTOP=Hyprland" "GDK_BACKEND=wayland,x11" "GTK_THEME,${gtk.theme.name}" - "XCURSOR_THEME,${gtk.cursorTheme.name}" - "XCURSOR_SIZE,${toString gtk.cursorTheme.size}" + "XCURSOR_THEME,${stylix.cursor.name}" + "XCURSOR_SIZE,${toString stylix.cursor.size}" "QT_AUTO_SCREEN_SCALE_FACTOR,1" "QT_QPA_PLATFORM,wayland" "QT_WAYLAND_DISABLE_WINDOWDECORATION,1" @@ -97,7 +97,7 @@ "GRIM_DEFAULT_DIR=${xdg.userDirs.pictures}/Grim" ]; exec-once = with config; [ - "${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${gtk.theme.name} ${toString gtk.cursorTheme.size}" + "${wayland.windowManager.hyprland.finalPackage}/bin/hyprctl setcursor ${stylix.cursor.name} ${toString stylix.cursor.name}" "${pkgs.swaynotificationcenter}/bin/swaync" "${pkgs.libsForQt5.polkit-kde-agent}/libexec/polkit-kde-authentication-agent-1" "${pkgs.protonmail-bridge}/bin/protonmail-bridge -n" diff --git a/system/stylix.nix b/system/stylix.nix index a061489d..ed950e15 100644 --- a/system/stylix.nix +++ b/system/stylix.nix @@ -17,7 +17,6 @@ cursor = { package = pkgs.volantes-cursors; name = "volantes_cursors"; - size = 24; }; fonts = rec { sizes = {