summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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 "