diff options
author | Benjamin Chausse <benjamin@chausse.xyz> | 2020-11-25 00:52:49 -0500 |
---|---|---|
committer | Benjamin Chausse <benjamin@chausse.xyz> | 2020-11-25 00:52:49 -0500 |
commit | b84a3cdbfe6ef145a7ba13d7c1a04f71e7efb55e (patch) | |
tree | ae5597d83c9dd34b78a8fe45eed36307b7682c15 /.local/bin/dwmbar/dwmb-debarque | |
parent | eed8b962c9d8b400561d347733c98b33ae851cc2 (diff) |
future proof dwmb-debarque
Diffstat (limited to '.local/bin/dwmbar/dwmb-debarque')
-rwxr-xr-x | .local/bin/dwmbar/dwmb-debarque | 4 |
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 " |