💄 style(awesome): Notif adjustments
This commit is contained in:
parent
ff8b84a10e
commit
546bab210a
1 changed files with 4 additions and 5 deletions
|
@ -52,7 +52,7 @@ end)
|
||||||
|
|
||||||
naughty.connect_signal("request::display", function(n)
|
naughty.connect_signal("request::display", function(n)
|
||||||
--- random accent color
|
--- random accent color
|
||||||
local accent_colors = theme.color.blue
|
local accent_colors = theme.color.accent
|
||||||
|
|
||||||
--- table of icons
|
--- table of icons
|
||||||
local app_icons = {
|
local app_icons = {
|
||||||
|
@ -132,7 +132,7 @@ naughty.connect_signal("request::display", function(n)
|
||||||
local dismiss = wibox.widget({
|
local dismiss = wibox.widget({
|
||||||
{
|
{
|
||||||
font = helpers.ui.set_font("Bold 10"),
|
font = helpers.ui.set_font("Bold 10"),
|
||||||
markup = helpers.ui.colorize_text("", theme.color.blue),
|
markup = helpers.ui.colorize_text("", theme.color.accent),
|
||||||
widget = wibox.widget.textbox,
|
widget = wibox.widget.textbox,
|
||||||
valign = "center",
|
valign = "center",
|
||||||
halign = "center",
|
halign = "center",
|
||||||
|
@ -319,12 +319,11 @@ naughty.connect_signal("request::display", function(n)
|
||||||
})
|
})
|
||||||
|
|
||||||
anim:connect_signal("ended", function()
|
anim:connect_signal("ended", function()
|
||||||
n:destroy()
|
n:reset_timeout(0.0000001)
|
||||||
end)
|
end)
|
||||||
|
|
||||||
widget:connect_signal("mouse::enter", function()
|
widget:connect_signal("mouse::enter", function()
|
||||||
--- Absurdly big number because setting it to 0 doesn't work
|
n:reset_timeout(0)
|
||||||
n:set_timeout(4294967)
|
|
||||||
anim:stop()
|
anim:stop()
|
||||||
end)
|
end)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue