Skip to content

Commit

Permalink
Fix arc_thickness variable name
Browse files Browse the repository at this point in the history
  • Loading branch information
umar456 committed Jan 13, 2020
1 parent 428b32d commit 34f6b83
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion batteryarc-widget/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |
Expand Down
2 changes: 1 addition & 1 deletion batteryarc-widget/batteryarc.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 34f6b83

Please sign in to comment.