Skip to content

Simple bash script to set an animated battery as desktop wallpaper.

License

Notifications You must be signed in to change notification settings

neochristou/battery-wallpaper

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

battery-wallpaper

undefined

Buy Me A Coffee

Simple bash script to set an animated battery as desktop wallpaper. It's shows charging animation and changes according to battery percentage.

gif

How to install

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
  • For swaywm support users must install oguri. The oguri daemon must be started for the script to work. Oguri can be installed on Arch linux via AUR.

  • Clone this repository and...

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

Features

  • 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.

Charging

Cup Paper Cartoon Faded
img img img img
Colours Slash Industrial Egg
img img img img
Mechanical Bonsai
img img

Discharging

Cup

0-20% 20-40% 40-60% 60-80% 80-100%
img img img img img

Colours

0-20% 20-40% 40-60% 60-80% 80-100%
img img img img img

Slash

0-20% 20-40% 40-60% 60-80% 80-100%
img img img img img

Industrial

0-20% 20-40% 40-60% 60-80% 80-100%
img img img img img

Paper

0-25% 25-50% 50-75% 75-100%
img img img img

Cartoon

0-25% 25-50% 50-75% 75-100%
img img img img

Faded

0-25% 25-50% 50-75% 75-100%
img img img img

Egg

0-25% 25-50% 50-75% 75-100%
img img img img

Mechanical

0-25% 25-50% 50-75% 75-100%
img img img img

Bonsai

0-20% 20-30% 30-40% 40-50% 50-60% 60-70% 70-80% 80-90% 90-100%
img img img img img img img img img

Fully Charged

Cup Paper Cartoon Faded Colours
img img img img img
Slash Industrial Egg Mechanical Bonsai
img img img img img

Support Me

undefined undefined

FYI

  • 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!

About

Simple bash script to set an animated battery as desktop wallpaper.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%