dotfiles/home/private_dot_config/eww/bin/executable_check-aur-updates.sh

10 lines
170 B
Bash
Raw Normal View History

2024-01-22 06:28:52 -06:00
#!/usr/bin/env bash
if ! updates_aur=$(($(pikaur -Qua 2>/dev/null | wc -l) - 1)); then
updates_aur=0
fi
if [ $updates_aur -gt 0 ]; then
echo "Aur: ${updates_aur}"
fi