mirror of
https://github.com/streetturtle/awesome-wm-widgets.git
synced 2024-11-17 07:49:09 +01:00
make battery arc local
This commit is contained in:
parent
6539d81b5c
commit
4b533100a0
1 changed files with 3 additions and 1 deletions
|
@ -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
|
Loading…
Reference in a new issue