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
];
# Set cursor theme
# Cursor theme — stylix.cursor in settings/stylix.nix owns the choice.
environment.sessionVariables = {
XCURSOR_THEME = "Adwaita";
XCURSOR_THEME = "Bibata-Modern-Ice";
XCURSOR_SIZE = "24";
XCURSOR_PATH = lib.mkForce [
"${pkgs.adwaita-icon-theme}/share/icons"
"${pkgs.bibata-cursors}/share/icons"
"$HOME/.icons"
"$HOME/.local/share/icons"
];

View file

@ -76,11 +76,10 @@
"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"
# Keep these in sync with stylix.cursor in settings/stylix.nix.
"XCURSOR_THEME,Bibata-Modern-Ice"
"XCURSOR_SIZE,24"
"HYPRCURSOR_THEME,Adwaita"
"HYPRCURSOR_THEME,Bibata-Modern-Ice"
"HYPRCURSOR_SIZE,24"
# Prefer native Wayland backends where the app supports it.
@ -104,7 +103,7 @@
"nm-applet --indicator"
"wl-paste --type text --watch cliphist store"
"wl-paste --type image --watch cliphist store"
"hyprctl setcursor Adwaita 24"
"hyprctl setcursor Bibata-Modern-Ice 24"
];
general = {

View file

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