conf2/i3/.config/polybar/updates-arch-combined.sh

10 lines
116 B
Bash
Raw Normal View History

2018-06-13 19:38:45 +00:00
#!/bin/sh
updates=$(checkupdates | wc -l)
if [ "$updates" -gt 0 ]; then
echo "# $updates"
else
echo ""
fi