blob: c9f70fe183c610ab50c920d4caf8ae73c87c50cb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#!/bin/sh
count="$(curl https://www.ladebarque.com/achalandage |
grep "il y a " |
sed 's/.*il\ y\ a\ en\ ce\ moment.nbsp;\s//; s/.nbsp.*//')"
echo " $count "
case $BLOCK_BUTTON in
1) $BROWSER https://www.ladebarque.com/achalandage ;;
2) notify-send -a " La Débarque" "Syncing..." && kill -51 $(pidof dwmblocks) && notify-send -a " La Débarque" "Done!" ;;
3) notify-send -a "La Débarque" "This block shows the number of people currently climbing at my local gym." ;;
esac
|