Tired of your own wallpaper collection? Hyprhaven has you covered
This script fetches wallpapers from wallhaven.cc and sets it as desktop image
-
Either build or download latest version from release
-
Press Ctrl + R and type
shell:startupto open folder with apps that will launch on user login -
Copy
hyprhaven.exeto the startup folder -
Run executable file / Reboot
On the first run script will require to be ran with elevated privileges to set reg keys to also set lockscreen
-
Run makefile
make
if building using WSL you can run make build-windows for the program to run in tray or make build-windows-debug for the program to run in CMD
These are all optional parameters
The script can be customized using the following command-line flags:
| Flag | Type | Default Value | Description |
|---|---|---|---|
-t |
int |
15 |
The time interval (in minutes) to wait before setting the wallpaper. |
-pq |
int |
5 |
The page number to query the wallpaper from the API. |
-s |
string |
favorites |
The sorting criterion for the wallpapers. |
-c |
string |
010 |
The category IDs to filter wallpapers. |
-q |
string |
"" |
The search query for wallpaper search. |
-p |
string |
100 |
The purity level of the wallpapers. |
--wh-key |
string |
"" |
Apikey to make user specific/NSFW requests. |
-sz |
string |
1920x1080 |
The minimum resolution for the wallpaper. |
-r |
string |
landscape |
The ratio for the wallpaper (accepts values like 21x9 as well as portrait or landscape for tall/wide pictures) |
-id |
string |
"" |
IDs list to select wallpaper from (like "45p3m5,1p6d79") |
All possible values can be referenced from wallhaven API
