From 41281d368b4bec98bd8186fedeb17a03aeb0bca2 Mon Sep 17 00:00:00 2001 From: elenapan Date: Tue, 21 Apr 2020 18:54:22 +0300 Subject: [PATCH] Fix black section appearing on notifications that end with a new line Only affected amarena notification theme --- config/awesome/notifications/themes/amarena.lua | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/config/awesome/notifications/themes/amarena.lua b/config/awesome/notifications/themes/amarena.lua index ea24b31..41d6bc9 100644 --- a/config/awesome/notifications/themes/amarena.lua +++ b/config/awesome/notifications/themes/amarena.lua @@ -137,15 +137,16 @@ naughty.connect_signal("request::display", function(n) widget = naughty.widget.message, }, { + helpers.vertical_pad(dpi(10)), + { + actions, + shape = gears.shape.rounded_bar, + widget = wibox.container.background, + }, visible = n.actions and #n.actions > 0, - widget = helpers.vertical_pad(dpi(10)), + layout = wibox.layout.fixed.vertical }, - { - actions, - shape = gears.shape.rounded_bar, - widget = wibox.container.background, - }, - layout = wibox.layout.fixed.vertical, + layout = wibox.layout.align.vertical, }, margins = beautiful.notification_margin, widget = wibox.container.margin,