summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrbain Vaes <urbain@vaes.uk>2018-06-08 17:00:33 +0100
committerUrbain Vaes <urbain@vaes.uk>2018-06-08 17:00:33 +0100
commit23001c0cdf7885c6933e4d671ad2880402cef24f (patch)
tree141e2b809acde112f201c2ce9f1d8a6652320ebf
parent7547ef3e1521e1afb2406f18728312a44684d27e (diff)
parent534288bcb1785db877d3ead09229ea8dd149fb5b (diff)
Merge branch 'master' of github.com:urbainvaes/dotfiles
-rwxr-xr-xi3/.config/i3blocks/bin/updates2
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'