This Script will automate the process of creating a Dynamic Wallpaper based on Light/ Dark theme of Ubuntu Linux.
Screencast.from.2024-04-15.20-02-14.webm
We have two files in this repo
Both are exactly same but dynamic_wallsh.sh offers TUI based interactive selection menu built using whiptail
- Download the
whiptail
orsimple
version and perform the below operations - If a file already has an executable permission, then
execute flag
will be indicated by the letter 'x' in the appropriate position after running the following command.
ls -l dynamic_wallsh.sh
Here is how it looks: -rwxr-xr-x
Example:
- Open the terminal in the same folder where you downloaded
dynamic_wallsh.sh
and make it executable
chmod +x dynamic_wallsh.sh
- Then run the script from the terminal or by double clicking the file
./dynamic_wallsh.sh
- The script creates a Folder containing 2 images in
gnome background wallpaper
folder. - Then it creates a
xml file
for these 2 images to switch the wallpaper based on thelight
ordark
theme. - The user can see this new dynamic wallpaper in gnome settings > apperance (where user selects wallpaper)
Creating dynamic wallpaper in gnome is explained in this site : https://linuxconfig.org/how-to-create-gnome-dynamic-wallpapers
I just created a TUI (terminal-user-interface) to automate the process.
- To add a funtionality to change the wallpaper based on
time
anddate
.