1
0
Fork 0
dotfiles/bin/waybar-pacman

10 lines
203 B
Plaintext
Raw Normal View History

2020-09-12 07:59:24 +00:00
#!/bin/bash
# Used by waybar
# Returns a message when there is more than 50 packages available for update
nupdates=$(checkupdates | wc -l)
if [ $nupdates -gt 50 ]; then
echo "  $nupdates "
fi