From 546bab210af70f72a691984a71ddcf84f407dbb9 Mon Sep 17 00:00:00 2001 From: punkfairie <23287005+punkfairie@users.noreply.github.com> Date: Wed, 13 Mar 2024 20:50:24 -0700 Subject: [PATCH] =?UTF-8?q?=F0=9F=92=84=20style(awesome):=20Notif=20adjust?= =?UTF-8?q?ments?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .config/awesome/ui/popups/notifications/init.lua | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/.config/awesome/ui/popups/notifications/init.lua b/.config/awesome/ui/popups/notifications/init.lua index 767617c..6f4590d 100644 --- a/.config/awesome/ui/popups/notifications/init.lua +++ b/.config/awesome/ui/popups/notifications/init.lua @@ -52,7 +52,7 @@ end) naughty.connect_signal("request::display", function(n) --- random accent color - local accent_colors = theme.color.blue + local accent_colors = theme.color.accent --- table of icons local app_icons = { @@ -132,7 +132,7 @@ naughty.connect_signal("request::display", function(n) local dismiss = wibox.widget({ { 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, valign = "center", halign = "center", @@ -319,12 +319,11 @@ naughty.connect_signal("request::display", function(n) }) anim:connect_signal("ended", function() - n:destroy() + n:reset_timeout(0.0000001) end) widget:connect_signal("mouse::enter", function() - --- Absurdly big number because setting it to 0 doesn't work - n:set_timeout(4294967) + n:reset_timeout(0) anim:stop() end)