Simple bash script to set an animated battery as desktop wallpaper. It's shows charging animation and changes according to battery percentage.
Follow the steps below -
- Install acpi, hsetroot or wallpaper
# On Archlinux
sudo pacman -Sy acpi hsetroot
# On Ubuntu or Debian
sudo apt-get install acpi hsetroot
# On MacOS
brew install wallpaper
cd $HOME
git clone https://github.com/adi1090x/battery-wallpaper.git
cd battery-wallpaper
chmod +x install.sh
./install.sh
- Run the program and choose an option
$ bwall
Battery Wallpaper V1.0
Developed By - Aditya Shakya (@adi1090x)
Available options:
-cartoon -colours -cup_black
-cup_dark -egg -faded
-industrial -mechanical -paper
-slash -bonsai
- 11 different types of battery wallpapers/icons.
- Shows battery charging animation.
- Stop animation when battery is fully charged.
- When not charging, icon changes according to battery percentage.
- Tested on Openbox, i3wm, Fluxbox, Fvwm & Swaywm.
| Colours |
Slash |
Industrial |
Egg |
 |
 |
 |
 |
| Mechanical |
Bonsai |
 |
 |
Cup
| 0-20% |
20-40% |
40-60% |
60-80% |
80-100% |
 |
 |
 |
 |
 |
Colours
| 0-20% |
20-40% |
40-60% |
60-80% |
80-100% |
 |
 |
 |
 |
 |
Slash
| 0-20% |
20-40% |
40-60% |
60-80% |
80-100% |
 |
 |
 |
 |
 |
Industrial
| 0-20% |
20-40% |
40-60% |
60-80% |
80-100% |
 |
 |
 |
 |
 |
Paper
| 0-25% |
25-50% |
50-75% |
75-100% |
 |
 |
 |
 |
Cartoon
| 0-25% |
25-50% |
50-75% |
75-100% |
 |
 |
 |
 |
Faded
| 0-25% |
25-50% |
50-75% |
75-100% |
 |
 |
 |
 |
Egg
| 0-25% |
25-50% |
50-75% |
75-100% |
 |
 |
 |
 |
Mechanical
| 0-25% |
25-50% |
50-75% |
75-100% |
 |
 |
 |
 |
Bonsai
| 0-20% |
20-30% |
30-40% |
40-50% |
50-60% |
60-70% |
70-80% |
80-90% |
90-100% |
 |
 |
 |
 |
 |
 |
 |
 |
 |
| Cup |
Paper |
Cartoon |
Faded |
Colours |
 |
 |
 |
 |
 |
| Slash |
Industrial |
Egg |
Mechanical |
Bonsai |
 |
 |
 |
 |
 |
- Yeah, it's very simple, i know.
- I've tested it only on Window Managers (Openbox, i3wm, fluxbox, etc)
- Currently, Not Working on XFCE & Maybe on KDE too.
- If you can improve it, you're welcome.
- You can add bwall -option & to your wm autostart file to set it as wallpaper after login.
- Have Fun!