Hypr Ecosystem/hyprpaper: rewrite reload
docs
#964
Merged
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR rewrites and extends the
reload
keyword hyprpaper documentation.This section was originally very short, with no example provided and only a very short description, this led to a lot of people missing this option and instead going with the old "unload, preload, set" combo which isn't needed and probably causes issues with the transition.
Examples of people missing this config option is seen in the discord server and hyprpaper issue tracker:
https://canary.discord.com/channels/961691461554950145/1215490894804029450/1335447955339087882
And I also missed it too when i first started using hyprpaper.
I also added a small piece of documentation about how to randomize your wallpaper using the
reload
keyword. This is in response to hyprwm/hyprpaper#194 where people (including vaxry lmfao) mentioned sed'ing the config and relaunching hyprpaper as a good solution to it. The simple script I wrote is instead much better with no reloading of hyprland being needed. Simply change the wallpaper directory to wherever your ones are stored. (It also checks to make sure it doesn't set the same wallpaper as what is currently applied!)Let me know if you need any changes or if I should make the script more in depth, i.e. check for only .png, .jpg, .jpeg, or whatever. imo it's fine as it is but I could use another persons opinion.