diff options
author | Urbain Vaes <urbain@vaes.uk> | 2018-06-04 13:49:01 +0100 |
---|---|---|
committer | Urbain Vaes <urbain@vaes.uk> | 2018-06-04 13:49:01 +0100 |
commit | 534288bcb1785db877d3ead09229ea8dd149fb5b (patch) | |
tree | a909584143a796dbfd24523c72db29e69005ee14 /i3/.config/i3blocks/bin | |
parent | b4013397618a45a637f759f466eff7baf9100736 (diff) |
Use 'pacman -Qu' instead of checkupdates
Diffstat (limited to 'i3/.config/i3blocks/bin')
-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 41c34dc..bc57eac 100755 --- a/i3/.config/i3blocks/bin/updates +++ b/i3/.config/i3blocks/bin/updates @@ -1,6 +1,6 @@ #!/usr/bin/env bash -if command -v checkupdates > /dev/null; then +if command -v pacman -Qu > /dev/null; then n_updates=$(checkupdates | wc -l) if [[ n_updates -gt 150 ]]; then color='red' |