dotfiles/dot_config/waybar/modules/executable_updates.sh
2024-05-15 19:10:13 +02:00

8 lines
145 B
Bash

#!/usr/bin/env bash
pkg_updates() {
updates=$(paru -Qu | wc -l)
if [ "$updates" -gt 0 ]; then
echo -n "$updates"
fi
}
pkg_updates