summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2020-11-25 00:52:49 -0500
committerBenjamin Chausse <benjamin@chausse.xyz>2020-11-25 00:52:49 -0500
commitb84a3cdbfe6ef145a7ba13d7c1a04f71e7efb55e (patch)
treeae5597d83c9dd34b78a8fe45eed36307b7682c15
parenteed8b962c9d8b400561d347733c98b33ae851cc2 (diff)
future proof dwmb-debarque
-rwxr-xr-x.local/bin/dwmbar/dwmb-debarque4
1 files 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 "