diff options
Diffstat (limited to 'i3/.config/i3blocks/bin/updates')
-rwxr-xr-x | i3/.config/i3blocks/bin/updates | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates index 4385305..41c34dc 100755 --- a/i3/.config/i3blocks/bin/updates +++ b/i3/.config/i3blocks/bin/updates @@ -1,7 +1,7 @@ #!/usr/bin/env bash -if command -v pacman -Qu > /dev/null; then - n_updates=$(pacman -Qu | wc -l) +if command -v checkupdates > /dev/null; then + n_updates=$(checkupdates | wc -l) if [[ n_updates -gt 150 ]]; then color='red' elif [[ n_updates -gt 50 ]]; then |