mirror of
https://github.com/awesomeWM/awesome
synced 2024-11-17 07:47:41 +01:00
Revert "naughty: Fix replaces_id + changing colors (#2041)"
This reverts commit 4e42996d9a
.
This commit is contained in:
parent
a2f314c349
commit
74ef4dd8b7
1 changed files with 10 additions and 10 deletions
|
@ -781,18 +781,18 @@ function naughty.notify(args)
|
||||||
notification.iconbox = iconbox
|
notification.iconbox = iconbox
|
||||||
|
|
||||||
-- create container wibox
|
-- create container wibox
|
||||||
if not reuse_box then
|
notification.box = wibox({ fg = fg,
|
||||||
notification.box = wibox({ type = "notification" })
|
bg = bg,
|
||||||
else
|
border_color = border_color,
|
||||||
|
border_width = border_width,
|
||||||
|
shape_border_color = shape and border_color,
|
||||||
|
shape_border_width = shape and border_width,
|
||||||
|
shape = shape,
|
||||||
|
type = "notification" })
|
||||||
|
|
||||||
|
if reuse_box then
|
||||||
notification.box = reuse_box
|
notification.box = reuse_box
|
||||||
end
|
end
|
||||||
notification.box.fg = fg
|
|
||||||
notification.box.bg = bg
|
|
||||||
notification.box.border_color = border_color
|
|
||||||
notification.box.border_width = border_width
|
|
||||||
notification.box.shape_border_color = shape and border_color
|
|
||||||
notification.box.shape_border_width = shape and border_width
|
|
||||||
notification.box.shape = shape
|
|
||||||
|
|
||||||
if hover_timeout then notification.box:connect_signal("mouse::enter", hover_destroy) end
|
if hover_timeout then notification.box:connect_signal("mouse::enter", hover_destroy) end
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue