From 14503e7771e4d0a2d04e691d702cb5e7b8e88160 Mon Sep 17 00:00:00 2001 From: Mihai Fufezan Date: Tue, 30 Jul 2024 23:44:45 +0300 Subject: [PATCH] Hypr Ecosystem: reword/revamp --- pages/Hypr Ecosystem/hyprcursor.md | 30 +++++++++++++++++------------- pages/Hypr Ecosystem/hyprpaper.md | 21 +++++++++++---------- 2 files changed, 28 insertions(+), 23 deletions(-) diff --git a/pages/Hypr Ecosystem/hyprcursor.md b/pages/Hypr Ecosystem/hyprcursor.md index cba0c49..070ae5e 100644 --- a/pages/Hypr Ecosystem/hyprcursor.md +++ b/pages/Hypr Ecosystem/hyprcursor.md @@ -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 diff --git a/pages/Hypr Ecosystem/hyprpaper.md b/pages/Hypr Ecosystem/hyprpaper.md index 326f2bc..1c811b4 100644 --- a/pages/Hypr Ecosystem/hyprpaper.md +++ b/pages/Hypr Ecosystem/hyprpaper.md @@ -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