Skip to content

Commit

Permalink
chore(widgets: arch_updates): increase update inerval to 20 minutes
Browse files Browse the repository at this point in the history
  • Loading branch information
actionless committed Sep 19, 2024
1 parent da35cb9 commit b38b891
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions config/widgets.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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 --
Expand Down

0 comments on commit b38b891

Please sign in to comment.