conf2/i3/.config/polybar/updates-arch-combined.sh
2018-06-13 21:38:45 +02:00

10 lines
116 B
Bash
Executable File

#!/bin/sh
updates=$(checkupdates | wc -l)
if [ "$updates" -gt 0 ]; then
echo "# $updates"
else
echo ""
fi