diff --git a/.config/waybar/scripts/updates.sh b/.config/waybar/scripts/updates.sh new file mode 100755 index 0000000..a51840f --- /dev/null +++ b/.config/waybar/scripts/updates.sh @@ -0,0 +1,3 @@ +#!/usr/bin/env bash +updates=$(checkupdates | wc -l) +echo "{\"text\": \"󰇚 $updates\", \"tooltip\": \"$updates pending updates\"}" \ No newline at end of file