Dots/polybar/scripts/update_check.sh

9 lines
96 B
Bash

#!/bin/sh
b=$(pacman -Qu | wc -l)
if [ "$b" != "0" ]; then
echo " ";
else
echo "";
fi