Go to file
Sam Delmerico bfe818b11e battery widgets support multiple batteries
Added support for the battery widgets to read multiple battery values
from the acpi output. The total charge becomes average of all of the
available batteries, the status is that of the highest battery.
2018-06-16 00:20:30 -04:00
battery-widget battery widgets support multiple batteries 2018-06-16 00:20:30 -04:00
batteryarc-widget battery widgets support multiple batteries 2018-06-16 00:20:30 -04:00
brightness-widget few small changes 2018-01-20 23:16:38 -05:00
cpu-widget make bg transparent 2018-01-28 17:01:04 -05:00
email-widget Show 0 email if script returns nothing 2017-02-04 10:38:46 -05:00
mpdarc-widget Update README.md 2018-04-14 21:28:32 -04:00
ram-widget reformat 2018-04-15 14:21:46 -04:00
rhythmbox-widget readme update 2017-02-01 21:45:15 -05:00
spotify-shell Update README.md 2018-04-01 18:08:32 -04:00
spotify-widget refactor spotify widget 2018-01-20 14:10:53 -05:00
translate-widget add border to translate widget 2018-04-14 19:38:32 -04:00
volume-widget Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
volumearc-widget Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
volumebar-widget Possible fix for the memory leak (issue #11) 2017-12-09 14:39:46 -05:00
weather-widget Reimplement wind direction detection properly 2018-03-27 18:46:58 +02:00
.gitignore .gitignore for idea files 2017-02-05 13:17:51 -05:00
LICENSE Update LICENSE 2017-01-31 10:33:30 -05:00
README.md Update README.md 2018-01-22 08:29:14 -05:00
screenshot.png update main readme 2017-10-09 17:34:51 -04:00
screenshot_with_sprtrs.png update main readme 2017-10-09 17:34:51 -04:00
secrets.lua add header 2018-01-20 21:52:04 -05:00

README.md

Awesome WM widgets

Set of super simple widgets compatible with Awesome Window Manager v.4+.

screenshot

or with separators

screenshot

From left to right:

Some of these widgets use Arc icon theme by default but it could be easily changed to any other icon theme or custom icons. If you want to have separators between widgets like on the screenshot create text widget with : and place it between widgets:

...
sprtr = wibox.widget.textbox()
sprtr:set_text(" : ")
...
sprtr,
volume_icon,
sprtr,
battery_widget,
sprtr,
...

Installation

Clone the repo under ~/.config/awesome/, then in rc.lua add the import of the widget you'd like to use in "require" section on the top of the file:

local battery_widget = require("awesome-wm-widgets.battery-widget.battery")

and then add widget to the wibox (you can search for mytextclock and add widget before):

 -- Add widgets to the wibox
     s.mywibox:setup {
         layout = wibox.layout.align.horizontal,
         { -- Left widgets
         ...
         },
         s.mytasklist, -- Middle widget
         { -- Right widgets
         ...
             battery_widget,
             mytextclock
         ...
         }

You will also need to install Arc icon theme if widget uses icons. By default it should be installed under /usr/share/icons/Arc. If you prefer different installation folder then you'll have to change path to the icons in the source code of the widget you want to use.

Icons

If you don't want to install Arc icon theme you can just download the icons which are used from the Arc repository. Or create your own icons with the same name.

In case of any questions/suggestions don't hesitate to contact me, I would be happy to help :)

PRs/issues and st★rs are welcome!