From 1a065752a034fac18465e14b84dfb4482edb0f3b Mon Sep 17 00:00:00 2001 From: elenapan Date: Fri, 10 Jul 2020 07:06:38 +0300 Subject: [PATCH] Only add left padding to notification if an icon is displayed --- config/awesome/notifications/themes/lovelace.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/awesome/notifications/themes/lovelace.lua b/config/awesome/notifications/themes/lovelace.lua index 856872c..21d26e9 100644 --- a/config/awesome/notifications/themes/lovelace.lua +++ b/config/awesome/notifications/themes/lovelace.lua @@ -78,7 +78,7 @@ naughty.connect_signal("request::display", function(n) expand = "none", layout = wibox.layout.align.vertical }, - left = beautiful.notification_padding, + left = n.icon and beautiful.notification_padding or 0, widget = wibox.container.margin, }, layout = wibox.layout.align.horizontal