Hypr Ecosystem: reword/revamp

This commit is contained in:
Mihai Fufezan 2024-07-30 23:44:45 +03:00
parent 5281cfaf6f
commit 07c1c2850f
Signed by: fufexan
SSH key fingerprint: SHA256:SdnKmEpJrDu1+2UO1QpB/Eg4HKcdDi6n+xSRqFNJVpg
2 changed files with 28 additions and 23 deletions

View file

@ -7,14 +7,15 @@ over the widely used xcursor.
## Hyprcursor themes
You will need to obtain those yourself. If you are on the Discord server, see `#hyprcursor-themes`.
You will need to obtain those yourself. If you are on the Discord server, see
`#hyprcursor-themes`.
Put your theme(s) in `~/.local/share/icons` or `~/.icons`
{{< callout type=warning >}}
It's not recommended to put cursor themes in system-wide `/usr/share/icons` due to
potential permission issues.
It's not recommended to put cursor themes in system-wide `/usr/share/icons` due
to potential permission issues.
{{< /callout >}}
@ -39,19 +40,22 @@ 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)
Although many apps support server-side cursors (e.g. Qt, Chromium, Electron,
Hypr Ecosystem) some apps still don't (e.g. GTK).
Apps that do not support server-side cursors and hyprcursor will still fall back to XCursor.
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 `gsettings` schemas are not available to you (e.g. on NixOS you will get `No schemas installed`), you can run instead:
`dconf write /org/gnome/desktop/interface/cursor-theme "'THEME_NAME'"`.
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 `gsettings` schemas are not available to you (e.g. on
NixOS you will get `No schemas installed`), you can run instead: `dconf write
/org/gnome/desktop/interface/cursor-theme "'THEME_NAME'"`.
If the app is a flatpak, run `flatpak override --filesystem=~/.themes:ro --filesystem=~/.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`.
If the app is a flatpak, run `flatpak override --filesystem=~/.themes:ro
--filesystem=~/.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`.
## I don't want to use hyprcursor

View file

@ -15,33 +15,34 @@ the `wallpaper` keyword is used to apply the preloaded image to your monitor(s):
```ini
preload = /home/me/amongus.png
wallpaper = monitor,/home/me/amongus.png
wallpaper = monitor, /home/me/amongus.png
```
`monitor` can be left empty to set to all monitors without a set wallpaper:
```
wallpaper = ,/home/me/amongus.png
```ini
wallpaper = , /home/me/amongus.png
```
Monitor names can be checked with `hyprctl monitors`
Also can be used with `desc:` followed by the monitor's description without the (PORT) at the end
You may add `contain:` before the file path in `wallpaper=` to set the mode to contain instead of cover:
You may add `contain:` before the file path in `wallpaper =` to set the mode to contain instead of cover:
```
wallpaper = monitor,contain:/home/me/amongus.png
```ini
wallpaper = monitor, contain:/home/me/amongus.png
```
You can use `unload` to unload preloaded images. You can also specify `unload all`
to unload all images or `unload unused` to unload images that aren't being used.
Also you can use `reload` to unload preloaded image from your monitor(s),
preload another and set it to your monitor(s). It has the same syntax as `wallpaper` keyword.
Also you can use `reload` to unload preloaded image from your monitor(s),
preload another and set it to your monitor(s). It has the same syntax as
`wallpaper` keyword.
To run hyprpaper at startup edit `hyprland.conf` and add:
`exec-once = hyprpaper`.
To run hyprpaper at startup edit `hyprland.conf` and add: `exec-once =
hyprpaper`.
### Misc options