aboutsummaryrefslogtreecommitdiff
path: root/dot-config/yambar/scripts/pacman
diff options
context:
space:
mode:
authorBlake Romero <blake@blkrom.com>2024-12-17 23:20:46 +0000
committerBlake Romero <blake@blkrom.com>2024-12-17 23:22:53 +0000
commit29bde14b1e04224d5a5caedcecb60f5160d13da6 (patch)
tree075f4a577a4e17d821c74bef420d2145c28e8ba6 /dot-config/yambar/scripts/pacman
parent1c8aa8475d7323d0f121d69cb0c3073be136e473 (diff)
Refactore yambar, add mpc & newsboat to bar, update pacman scripts
Diffstat (limited to 'dot-config/yambar/scripts/pacman')
-rwxr-xr-xdot-config/yambar/scripts/pacman7
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"