Adapt workadventure i3block to new api response layout

This commit is contained in:
JuliusFreudenberger 2021-10-05 21:25:41 +02:00
parent b29423f7f8
commit ec2c6698f9

View file

@ -1,2 +1,2 @@
curl -s https://api.fachschaft-it.de/metrics | grep -Ei ".*clients.*floor[0-9]" | awk '{printf "%d ", $2}' | awk '{sub(/\|$/,"");print}' curl -s https://api.fachschaft-it.de/metrics | grep "workadventure_nb_clients_per_room{" | awk '{printf "%d ", $2}' | awk '{sub(/\|$/,"");print}'
echo echo