|
|
@ -549,7 +549,7 @@ Widget WEATHERICON_LATER { |
|
|
|
|
|
|
|
Widget TEMPERATURE_CURRENT { |
|
|
|
class 'Text' |
|
|
|
expression file::exist(FWEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1) . '°' |
|
|
|
expression file::exist(FWEATHER) == 0 ? '' : file::readline('/tmp/lcd/weather_temp', 1) |
|
|
|
align 'L' |
|
|
|
width 3 |
|
|
|
update 10000 |
|
|
@ -572,7 +572,7 @@ Widget TEMPERATURE_CURRENT1 { |
|
|
|
|
|
|
|
Widget TEMPERATURE_LATER { |
|
|
|
class 'Text' |
|
|
|
expression file::exist(FWEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1))) . '°' |
|
|
|
expression file::exist(FWEATHER) == 0 ? '' : (TEMP=file::readline('/tmp/lcd/weather_temp', strftime('%H', time()) < 16 ? 2 : 3); substr(TEMP, (strstr(TEMP, '|') + 1))) |
|
|
|
align 'R' |
|
|
|
width 3 |
|
|
|
update 10000 |
|
|
|