awesome-wm-widgets/BatteryWidget
streetturtle d79cc9727a readme 2015-07-13 18:37:31 +02:00
..
battery-icons Moved to special folder 2015-07-13 18:26:39 +02:00
README.md readme 2015-07-13 18:37:31 +02:00
batWid1.png Image added to readme 2015-07-13 18:33:42 +02:00
batWid2.png Image added to readme 2015-07-13 18:33:42 +02:00
battery.lua Moved to special folder 2015-07-13 18:26:39 +02:00

README.md

Battery widget

Simple and easy-to-install widget for Awesome Window Manager.

Basically this widget consist of an icon which shows the battery status: Battery Widget

And a pop-up window, which shows when you hover over it: Battery Widget

Installation

This widget ueses the output of acpi tool.

  • install acpi tool:

{% highlight bash %} sudo apt-get install acpi {% endhighlight %}

  • clone/copy battery.lua file and battery-icons folder to your ~/home/username/.config/awesome/ folder;

  • add battery widget to your wibox in rc.lua:

{% highlight lua%} right_layout:add(batteryIcon) {% endhighlight %}