conf2/i3/.config/polybar/updates-arch-combined.sh
2020-06-14 21:52:57 +02:00

10 lines
126 B
Bash
Executable File

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