dots/polybar/scripts/update_check.sh

10 lines
104 B
Bash

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