bgswitch is a lightweight tool for periodically changing your desktop background. It's written in Bash and is very simple, allowing anyone to understand every line of code and make it easy to modify.
bashfeh[only if you running window mangaer like dwm, i3, etc]
~ $ git clone https://github.com/ad1w/bgswitch
~ $ cd bgswitch
~ $ bash install.sh
# to uninstall, run this command
~ $ bash install.sh -R
then add your image files into ~/.config/bgswitch/backgrounds
in major desktop env. like plasma, gnome or xfce, you only need relog from your session
if you running window manager, add this line to your autostart file:
bgswitch &
~ $ nano ~/.config/bgswitch/config
TIME=60 # in second
highly recommend restart bgswitch before relog from your session to avoid any error
~ $ pkill bgswitch
bgswitch already tested on
- plasma
- gnome
- gnome-classic
- xfce4
- dwm
- bspwm
- twm