feat: improve formatting

This commit is contained in:
Paulo 2023-07-20 11:37:52 -03:00
parent 9a3b7c68f1
commit 40bac2e17c
Signed by: pauloo27
GPG Key ID: 079BC1BF4562F663
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ func main() {
row(PkgsIcon, "pkgs",
conditional(pkgs.AvailableUpdates == 0,
fmt.Sprintf("%d", pkgs.Installed),
fmt.Sprintf("%d (%d)", pkgs.Installed, pkgs.AvailableUpdates),
fmt.Sprintf("%d (%d upgradable)", pkgs.Installed, pkgs.AvailableUpdates),
),
)
}