From 7859ac85894b1f362390513bc4d78f376e55e584 Mon Sep 17 00:00:00 2001 From: ediblerope Date: Mon, 11 May 2026 11:51:45 +0100 Subject: [PATCH] hyprland: use the Adwaita cursor to match the GNOME session Sets XCURSOR_* and HYPRCURSOR_* in Hyprland's env list so apps inherit the same Adwaita cursor the GNOME session uses, and calls `hyprctl setcursor` at exec-once to apply it compositor-side too. Co-Authored-By: Claude Opus 4.7 --- settings/hyprland.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/settings/hyprland.nix b/settings/hyprland.nix index 8fb21ae..ffa3fca 100644 --- a/settings/hyprland.nix +++ b/settings/hyprland.nix @@ -75,6 +75,12 @@ "AQ_DRM_DEVICES,/dev/dri/card1" "WLR_DRM_DEVICES,/dev/dri/card1" "DRI_PRIME,pci-0000_03_00_0" + # Match the GNOME session's cursor — same Adwaita already + # available from the gnome.nix package set. + "XCURSOR_THEME,Adwaita" + "XCURSOR_SIZE,24" + "HYPRCURSOR_THEME,Adwaita" + "HYPRCURSOR_SIZE,24" ]; "$mod" = "SUPER"; @@ -88,6 +94,7 @@ "nm-applet --indicator" "wl-paste --type text --watch cliphist store" "wl-paste --type image --watch cliphist store" + "hyprctl setcursor Adwaita 24" ]; general = {