From 491268c0160ece4b00148f1bb0f4cef22a5d050c Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Mon, 16 Dec 2024 00:35:48 +0000 Subject: Add pacman module & scripts for yambar --- dot-config/yambar/scripts/pacman-label | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 dot-config/yambar/scripts/pacman-label (limited to 'dot-config/yambar/scripts/pacman-label') 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" -- cgit