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