mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
naughty: update to new widget layouts
Signed-off-by: Lukas Hrazky <lukkash@email.cz> Signed-off-by: Julien Danjou <julien@danjou.info>
This commit is contained in:
parent
8ddc77eeb9
commit
f2800d96fd
1 changed files with 5 additions and 1 deletions
|
@ -403,7 +403,11 @@ function notify(args)
|
|||
notification.idx = offset.idx
|
||||
|
||||
-- populate widgets
|
||||
notification.box.widgets = { iconbox, textbox, ["layout"] = layout.horizontal.leftright }
|
||||
if iconbox then
|
||||
notification.box.widgets = { iconbox, textbox, ["layout"] = layout.horizontal.leftright }
|
||||
else
|
||||
notification.box.widgets = { textbox, ["layout"] = layout.horizontal.leftright }
|
||||
end
|
||||
|
||||
-- insert the notification to the table
|
||||
table.insert(notifications[screen][notification.position], notification)
|
||||
|
|
Loading…
Reference in a new issue