From b38b8915e055e7b7dc6522dfbe2662e0ff5acd9d Mon Sep 17 00:00:00 2001 From: actionless Date: Thu, 19 Sep 2024 02:02:29 +0200 Subject: [PATCH] chore(widgets: arch_updates): increase update inerval to 20 minutes --- config/widgets.lua | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/config/widgets.lua b/config/widgets.lua index ed4a7879..5214fa08 100644 --- a/config/widgets.lua +++ b/config/widgets.lua @@ -122,13 +122,14 @@ function widget_loader.init(awesome_context) end -- Arch updates w.updates = widgets.arch_updates({ - bg = beautiful.panel_widget_updates_bg or ( + update_interval = 1200, -- 20 minutes + bg = beautiful.panel_widget_updates_bg or ( h_color.is_dark(beautiful.panel_bg or beautiful.bg_normal) == h_color.is_dark(beautiful.xrdb and beautiful.xrdb.background or beautiful.bg_normal) ) and TRANSPARENT or beautiful.panel_widget_fg_warning, - fg = beautiful.panel_widget_updates_fg or beautiful.panel_widget_bg_warning, + fg = beautiful.panel_widget_updates_fg or beautiful.panel_widget_bg_warning, }) -- NAUGHTY SIDEBAR --