Closed flippette closed 6 months ago
Your cursor theme (BreezeX) does not seem to support the specified size of 40
:
https://github.com/ful1e5/BreezeX_Cursor?tab=readme-ov-file#cursor-sizes
I've experienced the same with another theme before. While GTK seems to be able to scale it to fit sizes not provided by the theme, Qt cannot. Try setting a size that is listed in the link above for your hyprctl setcursor
and XCURSOR_SIZE
settings.
It... literally lists 40 in the supported list?
Also it did work previously so that can't have been an issue with the cursor theme right?
It... literally lists 40
Oops. I'm sorry, you are right. This size is listed, I must've been blind.
If it worked for you before maybe it was before the introduction of Hyprcursor?
Hyprcursor seems to be on by default now. Have you tried turning it off?
misc {
...
enable_hyprcursor = false
}
... adding to the above, there seem to be new settings for that feature:
env = HYPRCURSOR_THEME,MyCursor
env = HYPRCURSOR_SIZE,24
See https://wiki.hyprland.org/Hypr-Ecosystem/hyprcursor/#hyprcursor-themes
You seeing correct cursor sizes in GTK only in conjunction with hyprcursor could be because of this:
[...] QT, chromium, electron and hypr* apps support cursor_shape, so in hyprland (or any other compositor using hyprcursors) you will get your pixel-perfect hyprcursors.
Notably, GTK does not support the protocol, so apps like firefox, or the entire gnome suite will fall back to the ugly XCursor themes.
I've switched to Bibata-Modern-Classic (with both the hyprcursor theme on the Discord server & the bibata-cursor-theme
Arch package), with the following config changes:
# <...irrelevant...>
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,32
env = XCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,32
# <...irrelevant...>
However, the cursor now straight up disappears until it enters a GTK app, and then it does not change in any app not using GTK.
You can see that behavior here:
https://github.com/hyprwm/Hyprland/assets/43138244/c9a1be07-1baa-44ab-be5a-1a05ea85f156
if it's the hyprcursor theme from the discord server the name of it is HyprBibataModernClassicSVG.
if it's the hyprcursor theme from the discord server the name of it is HyprBibataModernClassicSVG.
manifest.hl
says Bibata-Modern-Classic
though?
Also I tried repackaging BreezeX and that didn't work either.
The theme is located at ~/.local/share/icons/Bibata-Modern-Classic
, FWIW.
I'm back on the computer now, here's the theme:
~ ❯ ll ~/.local/share/icons
drwxr-xr-x - flippette 19 Mar 04:35 Bibata-Modern-Classic
drwxr-xr-x - flippette 13 Feb 01:34 default
drwxr-xr-x - flippette 21 Mar 00:19 hicolor
~ ❯ head ~/.local/share/icons/Bibata-Modern-Classic/manifest.hl -n 1
name = Bibata-Modern-Classic
what if you manually run hyprctl setcursor
with your hyprcursor theme? hyprctl setcursor Bibata-Modern-Classic 32
Same behaviour occurs with manually running hyprctl setcursor Bibata-Modern-Classic 32
.
idk sounds like a faulty theme.
I think there is a regression in the new update cause the hyprctl setcursor
does not set any new cursor and fallback on the old one that is cached or something. I added the env variables and at the new startup my cursor theme is updated:
env = HYPRCURSOR_THEME,Bibata-Modern-Classic
env = HYPRCURSOR_SIZE,20
env = XCURSOR_THEME,Bibata-Modern-Classic
env = XCURSOR_SIZE,20
I think there is a regression in the new update cause the
hyprctl setcursor
does not set any new cursor and fallback on the old one that is cached or something. I added the env variables and at the new startup my cursor theme is updated:env = HYPRCURSOR_THEME,Bibata-Modern-Classic env = HYPRCURSOR_SIZE,20 env = XCURSOR_THEME,Bibata-Modern-Classic env = XCURSOR_SIZE,20
I fail to see the difference between this and my other comment?
# <...irrelevant...> env = HYPRCURSOR_THEME,Bibata-Modern-Classic env = HYPRCURSOR_SIZE,32 env = XCURSOR_THEME,Bibata-Modern-Classic env = XCURSOR_SIZE,32 # <...irrelevant...>
So turns out the hyprcursor theme... wasn't compiled :facepalm: My bad.
not reading the readme moment
Hyprland Version
System/Version info
```sh Hyprland, built from branch HEAD at commit c5e28ebcfe00a510922779b2c568cfa52a317445 (props: bump ver 0.37.1). Date: Sat Mar 16 14:51:49 2024 Tag: v0.37.1 flags: (if any) System Information: System name: Linux Node name: okinawa Release: 6.8.1-zen1-1-zen Version: #1 ZEN SMP PREEMPT_DYNAMIC Sat, 16 Mar 2024 17:15:23 +0000 GPU information: 03:00.0 VGA compatible controller [0300]: Advanced Micro Devices, Inc. [AMD/ATI] Navi 32 [Radeon RX 7700 XT / 7800 XT] [1002:747e] (rev c8) (prog-if 00 [VGA controller]) os-release: NAME="Arch Linux" PRETTY_NAME="Arch Linux" ID=arch BUILD_ID=rolling ANSI_COLOR="38;2;23;147;209" HOME_URL="https://archlinux.org/" DOCUMENTATION_URL="https://wiki.archlinux.org/" SUPPORT_URL="https://bbs.archlinux.org/" BUG_REPORT_URL="https://gitlab.archlinux.org/groups/archlinux/-/issues" PRIVACY_POLICY_URL="https://terms.archlinux.org/docs/privacy-policy/" LOGO=archlinux-logo plugins: ```Bug or Regression?
Regression
Description
The cursor size on the desktop and non-GTK apps (I've tested
foot
andkdenlive
) does not respect the size set innwg-look
, with or without theXCURSOR_SIZE
environment variable.How to reproduce
My config file is located here.
Contents for idempotence:
Crash reports, logs, images, videos
https://github.com/hyprwm/Hyprland/assets/43138244/7910dc85-dba5-404b-bb73-9bcd38b613ae