From 537c6aae7f997a9d024233ef22ab6c7cf66ac58e Mon Sep 17 00:00:00 2001 From: Michael Grote Date: Tue, 8 Jun 2021 14:58:58 +0200 Subject: [PATCH] script mit rundung --- polybar/nightscout_cgm.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/polybar/nightscout_cgm.sh b/polybar/nightscout_cgm.sh index 1b42353..a40c924 100644 --- a/polybar/nightscout_cgm.sh +++ b/polybar/nightscout_cgm.sh @@ -1,2 +1,2 @@ #!/bin/bash -curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{print $3 * 0.055}' +curl -s -X GET "https://nightscout.mgrote.net/api/v1/entries/sgv?count=1&token=polybar-ae6fe2720f2c30f4" | awk '{$zw=$3 * 0.055} {printf "%.2f\n",$zw}'