From d41b54c1681a2bc2bc1a90c7a22f75df7d87afd2 Mon Sep 17 00:00:00 2001 From: Little Clover Date: Sat, 11 Dec 2021 09:53:09 +0800 Subject: correct valigh -> valign --- apt-widget/apt-widget.lua | 4 ++-- battery-widget/battery.lua | 2 +- docker-widget/docker.lua | 4 ++-- logout-popup-widget/logout-popup.lua | 4 ++-- translate-widget/translate.lua | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/apt-widget/apt-widget.lua b/apt-widget/apt-widget.lua index 2374192..61aa3b5 100644 --- a/apt-widget/apt-widget.lua +++ b/apt-widget/apt-widget.lua @@ -192,7 +192,7 @@ local function worker(user_args) { refresh_button, halign = 'right', - valigh = 'center', + valign = 'center', fill_horizontal = true, layout = wibox.container.place, }, @@ -307,7 +307,7 @@ local function worker(user_args) { header_refresh_icon, halign = 'right', - valigh = 'center', + valign = 'center', layout = wibox.container.place, }, layout = wibox.layout.align.horizontal diff --git a/battery-widget/battery.lua b/battery-widget/battery.lua index 0422fcc..fc8c56f 100644 --- a/battery-widget/battery.lua +++ b/battery-widget/battery.lua @@ -60,7 +60,7 @@ local function worker(user_args) widget = wibox.widget.imagebox, resize = false }, - valigh = 'center', + valign = 'center', layout = wibox.container.place, } local level_widget = wibox.widget { diff --git a/docker-widget/docker.lua b/docker-widget/docker.lua index b9613d8..f5ce7fa 100644 --- a/docker-widget/docker.lua +++ b/docker-widget/docker.lua @@ -298,7 +298,7 @@ local function worker(user_args) margins = 8, layout = wibox.container.margin }, - valigh = 'center', + valign = 'center', layout = wibox.container.place }, { @@ -318,7 +318,7 @@ local function worker(user_args) forced_width = 180, layout = wibox.layout.fixed.vertical }, - valigh = 'center', + valign = 'center', layout = wibox.container.place }, { diff --git a/logout-popup-widget/logout-popup.lua b/logout-popup-widget/logout-popup.lua index 610b359..efe6882 100644 --- a/logout-popup-widget/logout-popup.lua +++ b/logout-popup-widget/logout-popup.lua @@ -105,7 +105,7 @@ local function launch(args) spacing = 8, layout = wibox.layout.fixed.horizontal }, - valigh = 'center', + valign = 'center', layout = wibox.container.place }, { @@ -118,7 +118,7 @@ local function launch(args) }, id = 'a', shape_border_width = 1, - valigh = 'center', + valign = 'center', layout = wibox.container.place } diff --git a/translate-widget/translate.lua b/translate-widget/translate.lua index 1499333..d680c4e 100644 --- a/translate-widget/translate.lua +++ b/translate-widget/translate.lua @@ -77,7 +77,7 @@ local function translate(to_translate, lang, api_key, url) widget = wibox.widget.imagebox, resize = false }, - valigh = 'center', + valign = 'center', layout = wibox.container.place, }, { -- cgit v1.2.3