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 <noreply@anthropic.com>
This commit is contained in:
parent
92de9cc76b
commit
7859ac8589
1 changed files with 7 additions and 0 deletions
|
|
@ -75,6 +75,12 @@
|
||||||
"AQ_DRM_DEVICES,/dev/dri/card1"
|
"AQ_DRM_DEVICES,/dev/dri/card1"
|
||||||
"WLR_DRM_DEVICES,/dev/dri/card1"
|
"WLR_DRM_DEVICES,/dev/dri/card1"
|
||||||
"DRI_PRIME,pci-0000_03_00_0"
|
"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";
|
"$mod" = "SUPER";
|
||||||
|
|
@ -88,6 +94,7 @@
|
||||||
"nm-applet --indicator"
|
"nm-applet --indicator"
|
||||||
"wl-paste --type text --watch cliphist store"
|
"wl-paste --type text --watch cliphist store"
|
||||||
"wl-paste --type image --watch cliphist store"
|
"wl-paste --type image --watch cliphist store"
|
||||||
|
"hyprctl setcursor Adwaita 24"
|
||||||
];
|
];
|
||||||
|
|
||||||
general = {
|
general = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue