Periodically fetch and set random wallpapers from Wallhaven's toplist.
Download the latest release from https://github.com/arch-anes/randwall/releases.
Install the randwall-bin AUR package.
- Clone the repo
- Run
make build - The binary will be generated as
randwall
Or install directly:
go install github.com/arch-anes/randwall@latestWhen you start randwall for the first time, a configuration file with default options will be created.
The configuration file contains the following settings:
api_key(empty by default): This is your Wallhaven API key. This is only needed whenpurity.nsfwis enabled.max_page(default 500): The maximum Wallhaven page to go to when fetching wallpapers (the more restrictive the keywords are, the lower this number should be set to).keep(default 10): The maximum number of wallpapers to keep in temporary folder. A value of0means keeping everything.interval(default 30): Fetch interval in seconds.categories(all enabled by default): These are the Wallhaven categories.purity(sfwonly enabled by default): These are the Wallhaven purity settings.nsfwneeds an API key.include(empty list by default): A list of keywords to use when searching for wallpapers. This is empty by default to get all keywords.exclude: A list of keywords to exclude when searching for wallpapers. By default it contains a few entries.
Simply start the executable:
./randwallRun systemctl enable --now --user randwall.