Here's a temporary workaround as long as you have gxmessage installed (and tuptime, if you want an accurate uptime between boots). For US weather, enter your own zipcode.
And that will produce, via gxmessage:
Code:
batt1="$(cat /sys/class/power_supply/ip5xxx-battery/capacity)"
batt2="$(cat /sys/class/power_supply/axp20x-battery/capacity)"
batt3="= $(($batt1 + $batt2))%"
uptime="$(sudo tuptime | awk -F'=' '/System uptime:/ {print substr($2, 1, length($2)-3)}')"
weather="$(curl -s http://rss.accuweather.com/rss/liveweather_rss.asp\?metric\=${METRIC}\&locCode\=20902 \ | sed -n '/Currently:/ s/.*: \(.*\): \([0-9]*\)\([CF]\).*/\2°\3 \1/p')"
s="battery: $batt1% + $batt2% $batt3\n\nuptime: $uptime\n\nweather: $weather"
echo -e $s | gxmessage -file -
And that will produce, via gxmessage:
Code:
battery: 100% + 98% = 198%
uptime: 1d 0h 52m
weather: 64°F Partly Cloudy