diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-07-13 15:24:21 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-07-13 15:24:21 +0100 |
commit | 795e8fe5bce79a31ddbf96ad500f322abd96ae5f (patch) | |
tree | f7cf65e7bd2a3beb837202a764047bb0bf48d61a /i3 | |
parent | bd899a632ce1b356dc1311aff0e1050abd889a6a (diff) |
[i3blocks] Fix arch updates
Diffstat (limited to 'i3')
-rwxr-xr-x | i3/.config/i3blocks/bin/updates | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates index bc57eac..4385305 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=$(checkupdates | wc -l) + n_updates=$(pacman -Qu | wc -l) if [[ n_updates -gt 150 ]]; then color='red' elif [[ n_updates -gt 50 ]]; then |