diff options
Diffstat (limited to 'batteryarc-widget')
-rw-r--r-- | batteryarc-widget/batteryarc.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/batteryarc-widget/batteryarc.lua b/batteryarc-widget/batteryarc.lua index 29e8bcd..e1ab203 100644 --- a/batteryarc-widget/batteryarc.lua +++ b/batteryarc-widget/batteryarc.lua @@ -36,7 +36,7 @@ local batteryarc = wibox.widget { } -- mirror the widget, so that chart value increases clockwise -batteryarc_widget = wibox.container.mirror(batteryarc, { horizontal = true }) +local batteryarc_widget = wibox.container.mirror(batteryarc, { horizontal = true }) watch("acpi", 10, function(widget, stdout, stderr, exitreason, exitcode) @@ -109,3 +109,5 @@ function show_battery_warning() width = 300, } end + +return batteryarc_widget
\ No newline at end of file |