commit b84a3cdbfe6ef145a7ba13d7c1a04f71e7efb55e parent eed8b962c9d8b400561d347733c98b33ae851cc2 Author: Benjamin Chausse <benjamin@chausse.xyz> Date: Wed, 25 Nov 2020 00:52:49 -0500 future proof dwmb-debarque Diffstat:
M | .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 @@ -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 "