dotfiles/bin/polybar/updates.sh

10 lines
130 B
Bash
Raw Normal View History

2018-05-25 21:47:28 +00:00
#!/bin/sh
updates_arch=$(checkupdates | wc -l)
2018-06-10 18:59:46 +00:00
if [ "$updates_arch" -gt 0 ]; then
echo " $updates_arch"
2018-05-25 21:47:28 +00:00
else
echo ""
fi