Adjust notification max height and width for all themes

This commit is contained in:
elenapan 2020-04-24 01:50:30 +03:00
parent 5d54b47ec4
commit e45b70f98d
3 changed files with 5 additions and 3 deletions

View file

@ -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

View file

@ -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

View file

@ -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,
}
}