stylix: switch cursor to Bibata-Modern-Ice

Updates stylix.cursor and the three places that hardcode the cursor
name as env vars / hyprctl arg / XCURSOR_PATH so they stay aligned.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
This commit is contained in:
ediblerope 2026-05-12 11:48:28 +01:00
parent 5e479cc394
commit af647e2a1e
3 changed files with 9 additions and 10 deletions

View file

@ -24,12 +24,12 @@
papirus-icon-theme papirus-icon-theme
]; ];
# Set cursor theme # Cursor theme — stylix.cursor in settings/stylix.nix owns the choice.
environment.sessionVariables = { environment.sessionVariables = {
XCURSOR_THEME = "Adwaita"; XCURSOR_THEME = "Bibata-Modern-Ice";
XCURSOR_SIZE = "24"; XCURSOR_SIZE = "24";
XCURSOR_PATH = lib.mkForce [ XCURSOR_PATH = lib.mkForce [
"${pkgs.adwaita-icon-theme}/share/icons" "${pkgs.bibata-cursors}/share/icons"
"$HOME/.icons" "$HOME/.icons"
"$HOME/.local/share/icons" "$HOME/.local/share/icons"
]; ];

View file

@ -76,11 +76,10 @@
"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 # Keep these in sync with stylix.cursor in settings/stylix.nix.
# available from the gnome.nix package set. "XCURSOR_THEME,Bibata-Modern-Ice"
"XCURSOR_THEME,Adwaita"
"XCURSOR_SIZE,24" "XCURSOR_SIZE,24"
"HYPRCURSOR_THEME,Adwaita" "HYPRCURSOR_THEME,Bibata-Modern-Ice"
"HYPRCURSOR_SIZE,24" "HYPRCURSOR_SIZE,24"
# Prefer native Wayland backends where the app supports it. # Prefer native Wayland backends where the app supports it.
@ -104,7 +103,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" "hyprctl setcursor Bibata-Modern-Ice 24"
]; ];
general = { general = {

View file

@ -13,8 +13,8 @@
autoEnable = true; autoEnable = true;
cursor = { cursor = {
package = pkgs.adwaita-icon-theme; package = pkgs.bibata-cursors;
name = "Adwaita"; name = "Bibata-Modern-Ice";
size = 24; size = 24;
}; };