1
0
Fork 0
dotfiles/bin/waybar-pacman

10 lines
203 B
Bash
Executable File

#!/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