Fix arc_thickness variable name

This commit is contained in:
Umar Arshad 2020-01-12 19:58:46 -05:00
parent 428b32d6ea
commit 34f6b83553
No known key found for this signature in database
GPG Key ID: 07A13C9821D0B0EB
2 changed files with 2 additions and 2 deletions

View File

@ -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 |

View File

@ -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