diff options
| author | Blake Romero <blake@blkrom.com> | 2024-12-16 00:35:48 +0000 |
|---|---|---|
| committer | Blake Romero <blake@blkrom.com> | 2024-12-16 00:35:48 +0000 |
| commit | 491268c0160ece4b00148f1bb0f4cef22a5d050c (patch) | |
| tree | 15ae9dc97adf109b93e58870bf49fcf904fbf82a /dot-config/yambar/scripts/pacman-label | |
| parent | c13e166e9f9c67af7d3c2a411275b99ae1ba735a (diff) | |
Add pacman module & scripts for yambar
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" |
