From 534288bcb1785db877d3ead09229ea8dd149fb5b Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Mon, 4 Jun 2018 13:49:01 +0100 Subject: Use 'pacman -Qu' instead of checkupdates --- i3/.config/i3blocks/bin/updates | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'i3/.config/i3blocks') 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' -- cgit v1.2.3