mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-29 20:12:42 +00:00
36 lines
954 B
Markdown
36 lines
954 B
Markdown
# aur-update
|
|
|
|
List available updates from the Arch User Repository (AUR)
|
|
|
|

|
|
|
|
## Setup / Usage
|
|
|
|
Example i3blocks configuration:
|
|
|
|
```
|
|
[aur-update]
|
|
command=$SCRIPT_DIR/aur-update
|
|
markup=pango
|
|
format=json
|
|
interval=43200
|
|
UPDATE_COLOR=red
|
|
QUIET=1
|
|
IGNORE=root vidyodesktop
|
|
#CACHE_UPDATES=0
|
|
#FORCE_IPV4=1
|
|
```
|
|
|
|
Right or middle click sends a notification (via notify-send) with a list of outdated packages
|
|
and the corresponding version information.
|
|
If you enable caching (`CACHE_UPDATES=1`), the update list will be cached as an environment variable.
|
|
This will be read on a (right/middle) click to directly show the notification without the delay caused by updating the list.
|
|
Usage of IPV4 can be forced using `FORCE_IPV4=1`. This is useful, because the AUR API often gets timeouts with IPV6 and the call does not return.
|
|
|
|
|
|
## Dependencies
|
|
|
|
- python3 [requests library](http://docs.python-requests.org/en/master/)
|
|
- optional: libnotify/notify-send
|
|
|