fix configurations in example scripts

We forgot to update the configurations in the example scripts to the new
map syntax based on conditions. This fixes that.

Related to #201
This commit is contained in:
Leonardo Gibrowski Faé 2022-07-13 11:29:52 -03:00 committed by Daniel Eklöf
parent b331473a6b
commit 084a9021b9
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
2 changed files with 20 additions and 27 deletions

View file

@ -24,10 +24,9 @@
# args: []
# content:
# map:
# tag: pkg
# default: { string: { text: "{pacman} + {aur} = {pkg}" } }
# values:
# 0: {string: {text: no updates}}
# conditions:
# pkg == 0: {string: {text: no updates}}
declare interval aur_helper pacman_num aur_num pkg_num