mirror of
https://github.com/bvanroll/_dotfiles.git
synced 2025-08-30 12:32:41 +00:00
initial commit
This commit is contained in:
35
.config/i3blocks/aur-update/README.md
Normal file
35
.config/i3blocks/aur-update/README.md
Normal file
@@ -0,0 +1,35 @@
|
||||
# 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
|
||||
|
Reference in New Issue
Block a user