summaryrefslogtreecommitdiff
path: root/.local/bin/dwmbar/dwmb-debarque
diff options
context:
space:
mode:
authorBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 15:53:27 -0400
committerBenjamin Chausse <benjamin@chausse.xyz>2023-10-13 15:53:27 -0400
commit7c231155cecfa1964b3b9c7153a166cbeb9efa8b (patch)
treea99b2ce3e2ea28c13ea5b62060ea924952bcfa99 /.local/bin/dwmbar/dwmb-debarque
parentab1ca121adbeb0340e6c96267565866e99875261 (diff)
Debloat dwmblocks
Diffstat (limited to '.local/bin/dwmbar/dwmb-debarque')
-rwxr-xr-x.local/bin/dwmbar/dwmb-debarque26
1 files changed, 0 insertions, 26 deletions
diff --git a/.local/bin/dwmbar/dwmb-debarque b/.local/bin/dwmbar/dwmb-debarque
deleted file mode 100755
index 79fc346..0000000
--- a/.local/bin/dwmbar/dwmb-debarque
+++ /dev/null
@@ -1,26 +0,0 @@
-#!/bin/sh
-
-# count="$(curl https://www.ladebarque.com/achalandage |
- # grep 'il y a' |
- # sed 's/.*il\sy\sa\sen\sce\smoment\s//; s/\sgrimpeurs.*//')"
-
-count="$(curl -L ladebarque.com/achalandage |
- grep -i 'moment' |
- sed 's/\s//g;
- s/Maximum.*//;
- s/^.*moment//;
- s/\([0-9]\+\).*/\1/')"
-
-# curl https://www.ladebarque.com/achalandage > ~/asdf.html
-
-sep=","
-date="$(TZ='America/Toronto' date +"%Y-%m-%d$sep%R")"
-entry=""$date"$sep"$count""
-
-case "$1" in
- write) echo "$entry" >> $HOME/.cache/debarque.csv ;;
- *) echo "  $count " ;;
-esac
-
-
-# echo "$entry"