From b84a3cdbfe6ef145a7ba13d7c1a04f71e7efb55e Mon Sep 17 00:00:00 2001 From: Benjamin Chausse Date: Wed, 25 Nov 2020 00:52:49 -0500 Subject: future proof dwmb-debarque --- .local/bin/dwmbar/dwmb-debarque | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.local/bin/dwmbar/dwmb-debarque b/.local/bin/dwmbar/dwmb-debarque index 19ba8d7..a5c0e21 100755 --- a/.local/bin/dwmbar/dwmb-debarque +++ b/.local/bin/dwmbar/dwmb-debarque @@ -1,8 +1,8 @@ #!/bin/sh count="$(curl https://www.ladebarque.com/achalandage | - grep 'il y a ' | - sed 's/.*il\sy\sa\sen\sce\smoment\s//; s/\sgrimpeurs.*//')" + grep -i 'il y a ' | + sed 's/.*il\sy\sa\sen\sce\smoment\s//; s/\([0-9]*\).*/\1/')" echo "  $count " -- cgit v1.2.3