summaryrefslogtreecommitdiff
path: root/battery-widget
diff options
context:
space:
mode:
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,