aboutsummaryrefslogtreecommitdiff
path: root/dot-config/yambar/scripts/pacman
diff options
context:
space:
mode:
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"