From e45b70f98dc225530c0d4d490bbcb80786fc521f Mon Sep 17 00:00:00 2001 From: elenapan Date: Fri, 24 Apr 2020 01:50:30 +0300 Subject: [PATCH] Adjust notification max height and width for all themes --- config/awesome/notifications/themes/amarena.lua | 3 ++- config/awesome/notifications/themes/ephemeral.lua | 3 ++- config/awesome/notifications/themes/lovelace.lua | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/config/awesome/notifications/themes/amarena.lua b/config/awesome/notifications/themes/amarena.lua index c0bd71b..df8c635 100644 --- a/config/awesome/notifications/themes/amarena.lua +++ b/config/awesome/notifications/themes/amarena.lua @@ -166,7 +166,8 @@ naughty.connect_signal("request::display", function(n) widget = wibox.container.constraint, }, strategy = "max", - width = beautiful.notification_max_width or dpi(500), + width = beautiful.notification_max_width or dpi(350), + height = beautiful.notification_max_height or dpi(180), widget = wibox.container.constraint, }, -- Anti-aliasing container diff --git a/config/awesome/notifications/themes/ephemeral.lua b/config/awesome/notifications/themes/ephemeral.lua index c6ec41b..5cf2866 100644 --- a/config/awesome/notifications/themes/ephemeral.lua +++ b/config/awesome/notifications/themes/ephemeral.lua @@ -190,7 +190,8 @@ naughty.connect_signal("request::display", function(n) widget = wibox.container.constraint, }, strategy = "max", - width = beautiful.notification_max_width or dpi(500), + width = beautiful.notification_max_width or dpi(350), + height = beautiful.notification_max_height or dpi(200), widget = wibox.container.constraint, }, -- Anti-aliasing container diff --git a/config/awesome/notifications/themes/lovelace.lua b/config/awesome/notifications/themes/lovelace.lua index 3cc21a4..856872c 100644 --- a/config/awesome/notifications/themes/lovelace.lua +++ b/config/awesome/notifications/themes/lovelace.lua @@ -105,7 +105,7 @@ naughty.connect_signal("request::display", function(n) }, strategy = "max", width = beautiful.notification_max_width or dpi(300), - -- height = beautiful.notification_max_height or dpi(300), + height = beautiful.notification_max_height or dpi(150), widget = wibox.container.constraint, } }