4577e32a38
This changes the code in naughty so that it first decides on a width for the notification and then uses the new function :get_height_for_width() to find a suitable height. This makes a difference in the following example where before this change the text is cut off and afterwards it is shown completely: naughty.notify({ text = string.rep("abcdefghijklmnopqrstuvwxyz\n", 4), width = 75 }) Signed-off-by: Uli Schlachter <psychon@znc.in> |
||
---|---|---|
.. | ||
core.lua | ||
dbus.lua | ||
init.lua |