temperature for conky (gismmeteo):
${font :style=Bold:size=22}${execi 300 curl -s -A Tormozilla1.0 https://www.gismeteo.ru/weather-moscow-4368/|grep -oP 'temperatureAir"\:\[\K.*?(?=])'}
${font :size=16}${execi 300 curl -s -A Tormozilla1.0 https://www.gismeteo.ru/weather-moscow-4368/10-days/|grep -oP 'temperature_c"\K.*?(?=<)'|sed -n 2,3p|sed 's/−/-/g'|sed 's/>/ /g'|tr -d '\n'}
Комментариев нет:
Отправить комментарий