diff --git a/pages/FAQ/_index.md b/pages/FAQ/_index.md index 9d4f553..49bd285 100644 --- a/pages/FAQ/_index.md +++ b/pages/FAQ/_index.md @@ -116,20 +116,7 @@ Use a wayland-compatible locking utility using WLR protocols, e.g. `swaylock`. # How do I change me mouse cursor? -1. Set the GTK cursor using [nwg-look](https://github.com/nwg-piotr/nwg-look). -2. Add `exec-once=hyprctl setcursor [THEME] [SIZE]` to your config and restart Hyprland. - -If using flatpak, run `flatpak override --env=~/.themes:ro --env=~/.icons:ro --user` and put your themes in both `/usr/share/themes` and `~/.themes`, and put your icons and cursors in both `/usr/share/icons` and `~/.icons`. - -For Qt applications, Hyprland exports XCURSOR_SIZE as 24, which is the default. -You can overwrite this by exporting XCURSOR_SIZE to a different value with `env`. - -You can also try running `gsettings set org.gnome.desktop.interface cursor-theme 'theme-name'` or adding it after `exec-once=` in your config. - -If you do not want to install a GTK settings editor, change the config files according to the -[XDG specification (Arch Wiki link)](https://wiki.archlinux.org/title/Cursor_themes#Configuration). -Make sure to also edit `~/.config/gtk-4.0/settings.ini` and `~/.gtkrc-2.0` if _not_ using a tool -(like `nwg-look`). +See [hyprcursor](../Hypr-Ecosystem/hyprcursor) # GTK Settings no work / whatever diff --git a/pages/Hypr Ecosystem/hyprcursor.md b/pages/Hypr Ecosystem/hyprcursor.md index 24a8086..4e079a5 100644 --- a/pages/Hypr Ecosystem/hyprcursor.md +++ b/pages/Hypr Ecosystem/hyprcursor.md @@ -24,4 +24,18 @@ env = HYPRCURSOR_SIZE,24 Go to the [hyprcursor repo](https://github.com/hyprwm/hyprcursor) -See the `docs/` and `hyprcursor-util/` directories for instructions. \ No newline at end of file +See the `docs/` and `hyprcursor-util/` directories for instructions. + +## Important notes + +Although many apps support server-side cursors (e.g. qt, chromium, electron, hypr ecosystem) +some apps still don't (like gtk) + +Apps that do not support server-side cursors and hyprcursor will still fall back to XCursor. + +For those apps, you need to export `XCURSOR_THEME` and `XCURSOR_SIZE` to a valid XCursor theme, +and run `gsettings set org.gnome.desktop.interface cursor-theme 'THEME_NAME'` for gtk. + +If the app is a flatpak, run `flatpak override --env=~/.themes:ro --env=~/.icons:ro --user` and put +your themes in both `/usr/share/themes` and `~/.themes`, and put your +icons and XCursors in both `/usr/share/icons` and `~/.icons`. \ No newline at end of file