Skip to content

Latest commit

 

History

History
69 lines (40 loc) · 2.54 KB

README.md

File metadata and controls

69 lines (40 loc) · 2.54 KB

Dynamic Wallpaper Script for Ubuntu linux

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

Installation

We have two files in this repo

  1. dynamic_wallsh.sh
  2. simple_final.sh

Both are exactly same but dynamic_wallsh.sh offers TUI based interactive selection menu built using whiptail

image

Usage

  • Download the whiptail or simple 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:

image

How to make a file Executable

  • 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

Script Background Process:

Refer

  • 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 the light or dark theme.
  • The user can see this new dynamic wallpaper in gnome settings > apperance (where user selects wallpaper)

image

Credits

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.

TODO

  • To add a funtionality to change the wallpaper based on time and date.