dotfiles/onedark/polybar/scripts/xbps-updates.sh
2021-09-05 19:16:26 +05:30

11 lines
132 B
Bash
Executable file

#!/bin/bash
Updates=$(xbps-install -un | wc -l)
if [ -z "$updates" ]; then
echo "Fully Updated"
else
echo "$updates"
fi