From 925375309f8f1a49b5af91cb54d1647d24bcf7ca Mon Sep 17 00:00:00 2001 From: elenapan Date: Thu, 26 Mar 2020 13:41:28 +0200 Subject: [PATCH] Fix lovelace notification theme layout --- .../awesome/notifications/themes/lovelace.lua | 23 +++++++------------ 1 file changed, 8 insertions(+), 15 deletions(-) diff --git a/config/awesome/notifications/themes/lovelace.lua b/config/awesome/notifications/themes/lovelace.lua index ef52ee2..9d4e168 100644 --- a/config/awesome/notifications/themes/lovelace.lua +++ b/config/awesome/notifications/themes/lovelace.lua @@ -27,25 +27,18 @@ naughty.connect_signal("request::display", function(n) { nil, { - nil, { - { - align = "left", - -- valign = "center", - widget = naughty.widget.title, - }, - { - align = "left", - -- valign = "center", - widget = naughty.widget.message, - }, - layout = wibox.layout.fixed.vertical + align = "left", + widget = naughty.widget.title, }, - expand = "none", - layout = wibox.layout.align.vertical + { + align = "left", + widget = naughty.widget.message, + }, + layout = wibox.layout.fixed.vertical }, expand = "none", - layout = wibox.layout.align.horizontal + layout = wibox.layout.align.vertical }, left = beautiful.notification_padding, widget = wibox.container.margin,