Browse Source

- lcd4linux: remove degree sign from text widgets

master
vanhofen 3 years ago
parent
commit
7daf9c27ba
  1. 4
      package/lcd4linux/files-skel/etc/lcd4linux.conf
  2. 4
      package/lcd4linux/files-skel/var/etc/lcd4linux.conf

4
package/lcd4linux/files-skel/etc/lcd4linux.conf

@ -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

4
package/lcd4linux/files-skel/var/etc/lcd4linux.conf

@ -551,7 +551,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
@ -574,7 +574,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

Loading…
Cancel
Save