summaryrefslogtreecommitdiff
path: root/batteryarc-widget
diff options
context:
space:
mode:
authorUmar Arshad <umar@arrayfire.com>2020-01-12 19:58:46 -0500
committerUmar Arshad <umar@arrayfire.com>2020-01-12 19:58:46 -0500
commit34f6b8355314a9eb5cff889bb6fe4b8f69bc9277 (patch)
tree665f24390ee98213efeaf683c2e5235e455eaed1 /batteryarc-widget
parent428b32d6ea3d1f67babe309879d953a9353bb45a (diff)
Fix arc_thickness variable name
Diffstat (limited to 'batteryarc-widget')
-rw-r--r--batteryarc-widget/README.md2
-rw-r--r--batteryarc-widget/batteryarc.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/batteryarc-widget/README.md b/batteryarc-widget/README.md
index 31da25f..ba65db7 100644
--- a/batteryarc-widget/README.md
+++ b/batteryarc-widget/README.md
@@ -27,7 +27,7 @@ It is possible to customize widget by providing a table with all or some of the
| `main_color` | `beautiful.fg_color` | Color of the text with the current charge level and the arc |
| `low_level_color` | #e53935 | Arc color when battery charge is less that 15% |
| `medium_level_color` | #c0ca33 | Arc color when battery charge is between 15% and 40% |
-| `charging` | `beautiful.fg_color` | Color of the circle inside the arc when charging |
+| `charging` | `#43a047` | Color of the circle inside the arc when charging |
| `warning_msg_title` | _Huston, we have a problem_ | Title of the warning popup |
| `warning_msg_text` | _Battery is dying_ | Text of the warning popup |
| `warning_msg_position` | `bottom_right` | Position of the warning popup |
diff --git a/batteryarc-widget/batteryarc.lua b/batteryarc-widget/batteryarc.lua
index 0078164..bff861e 100644
--- a/batteryarc-widget/batteryarc.lua
+++ b/batteryarc-widget/batteryarc.lua
@@ -23,7 +23,7 @@ local function worker(args)
local args = args or {}
local font = args.font or 'Play 6'
- local arc_thickness = args.thickness or 2
+ local arc_thickness = args.arc_thickness or 2
local show_current_level = args.show_current_level or false
local main_color = args.main_color or beautiful.fg_color