summaryrefslogtreecommitdiff
path: root/battery-widget
diff options
context:
space:
mode:
authorstreetturtle <streetturtle@gmail.com>2021-03-01 17:24:04 -0500
committerstreetturtle <streetturtle@gmail.com>2021-03-01 17:24:04 -0500
commit473049272390054fb9ddfe861718d8f8399eee46 (patch)
tree45429455bde1daef5c0866fa3bbd7021ec03d80f /battery-widget
parent06e254cd1e180e3b97549f1635eb053403def72b (diff)
[battery] fix #243
Diffstat (limited to 'battery-widget')
-rw-r--r--battery-widget/battery.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/battery-widget/battery.lua b/battery-widget/battery.lua
index b0a71e7..d406a50 100644
--- a/battery-widget/battery.lua
+++ b/battery-widget/battery.lua
@@ -60,8 +60,8 @@ local function worker(user_args)
widget = wibox.widget.imagebox,
resize = false
},
- bottom = 3,
- layout = wibox.container.margin
+ valigh = 'center',
+ layout = wibox.container.place,
}
local level_widget = wibox.widget {
font = font,