diff options
Diffstat (limited to 'dot-config/yambar/scripts/pacman')
| -rwxr-xr-x | dot-config/yambar/scripts/pacman | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/dot-config/yambar/scripts/pacman b/dot-config/yambar/scripts/pacman new file mode 100755 index 0000000..7015e5b --- /dev/null +++ b/dot-config/yambar/scripts/pacman @@ -0,0 +1,7 @@ +#!/bin/sh + +# Get package count +count=$(wc -l < ~/.cache/updates) + +# Display count +printf "%s\n\n" "count|int|$count" |
