summaryrefslogtreecommitdiff
path: root/batteryarc-widget/README.md
diff options
context:
space:
mode:
authorpmakhov <pavel.makhov@savoirfairelinux.com>2017-10-09 17:14:03 -0400
committerpmakhov <pavel.makhov@savoirfairelinux.com>2017-10-09 17:14:03 -0400
commit2b4dba4853fc1840c5aef300b747c5a182655ba4 (patch)
tree8e24c36c6e4d8994f3fc4f35b97f256e7e570067 /batteryarc-widget/README.md
parent4057e5c379f48c02f8997e307c607a9d4f0b5b85 (diff)
batteryarc widget
Diffstat (limited to 'batteryarc-widget/README.md')
-rw-r--r--batteryarc-widget/README.md44
1 files changed, 43 insertions, 1 deletions
diff --git a/batteryarc-widget/README.md b/batteryarc-widget/README.md
index 96ad074..cc9c1b0 100644
--- a/batteryarc-widget/README.md
+++ b/batteryarc-widget/README.md
@@ -1,2 +1,44 @@
# Batteryarc widget
-:hammer: Work in progress...:construction:
+
+This widget is more informative version of [battery widget](https://github.com/streetturtle/awesome-wm-widgets/tree/master/battery-widget).
+
+Depending of the battery status it could look following ways:
+
+ - ![10_d](./10_d.png) - less than 15 percent
+ - ![10_c](./10_c.png) - less than 15 percent, charging
+ - ![20_d](./20_d.png) - between 15 and 40 percent
+ - ![20_c](./20_c.png) - between 15 and 40 percent, charging
+ - ![80_d](./80_d.png) - more than 40 percent
+ - ![80_c](./80_c.png) - more than 40 percent, charging
+
+Widget uses following beautiful variables with values:
+
+```lua
+theme.widget_main_color = "#74aeab"
+theme.widget_red = "#e53935"
+theme.widget_yelow = "#c0ca33"
+theme.widget_green = "#43a047"
+theme.widget_black = "#000000"
+theme.widget_transparent = "#00000000"
+```
+
+which means that you need to copy the code above and paste it in your **theme.lua**. Otherwise you can change colors directly in the widget.
+
+## Installation
+
+Clone repo, include widget and use it in **rc.lua**:
+
+```lua
+require("volumearc")
+...
+s.mytasklist, -- Middle widget
+ { -- Right widgets
+ layout = wibox.layout.fixed.horizontal,
+ ...
+ batteryarc_widget,
+ ...
+```
+
+## Troubleshooting
+
+In case of any doubts or questions don't hesitate to raise an [issue](https://github.com/streetturtle/awesome-wm-widgets/issues/new). \ No newline at end of file