mirror of
https://github.com/elenapan/dotfiles.git
synced 2026-01-09 02:17:24 +08:00
Adjust notification max height and width for all themes
This commit is contained in:
parent
5d54b47ec4
commit
e45b70f98d
3 changed files with 5 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue