diff --git a/polybar/scripte/nightscout_cgm.sh b/polybar/scripte/nightscout_cgm.sh index b13d2aa..22a37bc 100755 --- a/polybar/scripte/nightscout_cgm.sh +++ b/polybar/scripte/nightscout_cgm.sh @@ -9,15 +9,29 @@ else wert=$(echo $api_url | awk '{printf "%.1f\n",$3*0.0555}') #echo $wert case $symbol in - '"Flat"') - echo $wert "=" - ;; + '"SingleDown"') + echo $wert "-" + ;; + '"SingleUp"') + echo $wert "+" + ;; + '"DoubleDown"') + echo $wert "--" + ;; + '"DoubleUp"') + echo $wert "++" + ;; '"FortyFiveDown"') - echo $wert "-" - ;; + echo $wert "\" + ;; + '"FortyFiveUp"') + echo $wert "/" + ;; + '"Flat"') + echo $wert "=" + ;; *) - echo $symbol - ;; + echo $symbol + ;; esac fi -