scripts/i3blocks/Arch/update.sh

10 lines
142 B
Bash
Executable File

#!/bin/bash
update=$(checkupdates | cut -d " " -f1 | wc -l)
if [ "$update" = "0" ];then
echo -e ""
else
echo -e "$Update"
fi