style: remove trailing spaces

This commit is contained in:
Yiyu Zhou 2024-01-13 00:24:58 -05:00
parent bbbf2b601e
commit 9d90848291
3 changed files with 14 additions and 16 deletions

View file

@ -136,4 +136,3 @@ done
unset -v output title layout activetags selectedtags
unset -v tags name

View file

@ -15,13 +15,13 @@
# Exemples configuration:
# - script:
# path: /absolute/path/to/pacman.sh
# args: []
# args: []
# content: { string: { text: "{pacman} + {aur} = {pkg}" } }
#
# To display a message when there is no update:
# - script:
# path: /absolute/path/to/pacman.sh
# args: []
# args: []
# content:
# map:
# default: { string: { text: "{pacman} + {aur} = {pkg}" } }
@ -47,9 +47,9 @@ while true; do
# Change interval
# NUMBER[SUFFIXE]
# Possible suffix:
# "s" seconds / "m" minutes / "h" hours / "d" days
# "s" seconds / "m" minutes / "h" hours / "d" days
interval="1h"
# Change your aur manager
aur_helper="paru"
@ -62,7 +62,7 @@ while true; do
else
aur_num=$("${aur_helper}" -Qmu | wc -l)
fi
pkg_num=$(( pacman_num + aur_num ))
printf -- '%s\n' "pacman|int|${pacman_num}"
@ -76,4 +76,3 @@ done
unset -v interval aur_helper pacman_num aur_num pkg_num
unset -f _err