conf2/i3/.config/polybar/updates-arch-combined.sh
2018-06-27 19:10:06 +02:00

10 lines
128 B
Bash
Executable File

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