Skip to content

Commit

Permalink
arch_updates: longer cache_timeout, a note about including a hook
Browse files Browse the repository at this point in the history
  • Loading branch information
lasers committed Jan 15, 2024
1 parent 7b14f3f commit f3f3ec7
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions py3status/modules/arch_updates.py
Expand Up @@ -2,7 +2,7 @@
Display number of pending updates for Arch Linux.
Configuration parameters:
cache_timeout: refresh interval for this module (default 600)
cache_timeout: refresh interval for this module (default 3600)
format: display format for this module, otherwise auto (default None)
hide_if_zero: don't show on bar if True (default False)
Expand All @@ -19,6 +19,10 @@
paru: feature packed AUR helper
pikaur: pacman wrapper and AUR helper written in python
Note:
py3status for Arch-based distributions should include an alpm hook
to refresh this module after packages and/or files being modified.
@author Iain Tatch <iain.tatch@gmail.com>
@license BSD
Expand All @@ -36,7 +40,7 @@ class Py3status:
""" """

# available configuration parameters
cache_timeout = 600
cache_timeout = 3600
format = None
hide_if_zero = False

Expand Down

0 comments on commit f3f3ec7

Please sign in to comment.