From d161d11682989d18f5ec994428028afae4a122d7 Mon Sep 17 00:00:00 2001 From: Urbain Vaes Date: Wed, 14 Mar 2018 17:59:23 +0000 Subject: Minor modifications --- i3/.config/i3blocks/bin/updates | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'i3/.config/i3blocks/bin') diff --git a/i3/.config/i3blocks/bin/updates b/i3/.config/i3blocks/bin/updates index 325b485..41c34dc 100755 --- a/i3/.config/i3blocks/bin/updates +++ b/i3/.config/i3blocks/bin/updates @@ -2,9 +2,9 @@ if command -v checkupdates > /dev/null; then n_updates=$(checkupdates | wc -l) - if [[ n_updates -gt 50 ]]; then + if [[ n_updates -gt 150 ]]; then color='red' - elif [[ n_updates -gt 10 ]]; then + elif [[ n_updates -gt 50 ]]; then color='yellow' else color='gray' -- cgit v1.2.3