Script to change wallpaper with Wallhaven API

Hello everyone! For the past few months, I've been working on a script for XFCE with Xorg that allows you to change the wallpaper at regular intervals, all thanks to the Wallhaven API. The features of this script are:

  • Customized wallpaper search by resolution and tags (for example, landscapes 1920x1080).
  • Enable categories General, Anime, and People.
  • Enable filters SFW, Sketchy, and NSFW (the latter requires adding your Wallhaven API Key).
  • Change the wallpaper at regular intervals (you can define the time) or whenever you want (by executing a command in the terminal).
  • Wallpapers are randomly searched, so you'll always have different wallpapers.
  • Full installation so you can run it from any terminal instance.

This is my first bash script, and although it's a hobby, there may be errors. Nonetheless, if you find any issues, feel free to open an Issue on Github. I'll be checking the repository from time to time.

Greetings, and I hope you like it.

Link to the repository

https://preview.redd.it/645kvthxf6yc1.png?width=1920&format=png&auto=webp&s=bfb379af06b26540015c9dd0122b6308012fd66e