summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLittle Clover <littleclover909@gmail.com>2021-12-11 09:53:09 +0800
committerLittle Clover <littleclover909@gmail.com>2021-12-11 09:53:09 +0800
commitd41b54c1681a2bc2bc1a90c7a22f75df7d87afd2 (patch)
tree1e7d1c22d2381c9b0ffec0bdb6b089981d083540
parentd3d929dbba9e89a8ce2101b1e1b044a727264513 (diff)
correct valigh -> valign
-rw-r--r--apt-widget/apt-widget.lua4
-rw-r--r--battery-widget/battery.lua2
-rw-r--r--docker-widget/docker.lua4
-rw-r--r--logout-popup-widget/logout-popup.lua4
-rw-r--r--translate-widget/translate.lua2
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,
},
{