-
-
Notifications
You must be signed in to change notification settings - Fork 261
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
arch_updates: add a note about using alpm-hooks
- Loading branch information
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -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 <[email protected]> | ||
@license BSD | ||
|