diff --git a/py3status/modules/arch_updates.py b/py3status/modules/arch_updates.py index aa133cd7a2..c53214d596 100644 --- a/py3status/modules/arch_updates.py +++ b/py3status/modules/arch_updates.py @@ -19,6 +19,24 @@ paru: feature packed AUR helper pikaur: pacman wrapper and AUR helper written in python +Note: + For best results, use alpm-hooks, https://archlinux.org/pacman/alpm-hooks.5.html, + along with longer `cache_timeout = 3600` config to refresh this module once every + hour and to refresh based on the packages and/or files being modified too. + + # refresh all instances of arch_updates module + [Trigger] + Operation = Install + Operation = Upgrade + Operation = Remove + Type = Package + Target = * + + [Action] + Depends = py3status + When = PostTransaction + Exec = /usr/bin/py3-cmd refresh arch_updates + @author Iain Tatch @license BSD