From 34f6b8355314a9eb5cff889bb6fe4b8f69bc9277 Mon Sep 17 00:00:00 2001 From: Umar Arshad Date: Sun, 12 Jan 2020 19:58:46 -0500 Subject: Fix arc_thickness variable name --- batteryarc-widget/README.md | 2 +- batteryarc-widget/batteryarc.lua | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'batteryarc-widget') 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 -- cgit v1.2.3