Browse wallhaven using sxiv
waldl XXX YYY Z <query>
X in
XXX
takes value either 1(on) or 0(off) forpurity
[ sfw/sketchy/nsfw ] NSFW requires a valid API key
Y inYYY
takes value either 1(on) or 0(off) forcategories
[ general/anime/people ]
Z
takes positive values (>0) for number of pages
Leave query empty to use
dmenu
, default values have been set for first,second and third arguments.
- Select wallpapers by marking them using
m
insxiv
. - Quit
sxiv
usingq
.
Selected images would be downloaded. The default download directory is
~/.local/share/wallhaven
Defaults can be changed by changing the user variables, in the start of the script.
Example
waldl 100 010 3 zero two
- sxiv
- jq
- curl
- dmenu ( optional )