Bwall is an animated battery wallpaper for Linux (Bash script)

Ball (Battery Wallpaper) is a Bash script that uses a set of images to show your current battery power as your desktop wallpaper.

When the battery is charging, the wallpaper will have an animation. When not charging, Bwall displays the battery level, which changes according to the current battery percentage.

This animated battery wallpaper script supports multiple desktop environments and window managers, such as KDE, Pantheon, Gnome, Deepin, Cinnamon, Xfce, LXDE, MATE, Openbox, i3wm, bspwm, awesomewm, Fluxbox, Fvwm and Swaywm.

Bwall comes with 21 different types of battery wallpapers, and since this is just a Bash script, you can easily add your own custom wallpapers. You can view a preview of all available animated battery wallpapers at the following URL: This link (Click “click to view” to expand the preview section).

In addition to allowing users to select the wallpaper to be animated, Bwall can also choose to set the charging animation delay time (-d num), the default is 0.8 seconds.

As for dependencies, the script only needs acpi Used to obtain battery and charging data, and feh Set the wallpaper as your desktop background. Xfce users also need xrandr, For Swaywm, you need oguri For this work.

This is how to animate the “leaf” wallpaper while the battery is charging (GIF provided by the creator of the battery wallpaper):

Leave the battery wallpaper to Linux

You can use more animated wallpapers on the Linux desktop:

  • Live video wallpaper for GNOME, Xfce or bspwm desktop
  • Use GLava to embed audio visualization tools on the Linux desktop background (PPA installation and configuration guide)

Install Bwall (battery wallpaper)

Before attempting to use the script, make sure to first install the necessary dependencies following the instructions on the Bwall repository page. If you scroll down at the end of the article, you can also find instructions on adding Bwall to the startup application, in case your desktop does not have a tool that allows adding scripts to startup.


Related Posts