Public feed
#724460
<?xml version="1.0" encoding="UTF-8"?><widget> <debug>on</debug> <window> <name>main_window</name> <title>My First Widget</title> <height>30</height> <width>300</width> <visible>true</visible> <text> <name>myText</name> <color>#FF0000</color> <size>18</size> <alignment>left</alignment> <vOffset>25</vOffset> <hOffset>2</hOffset> </text> </window> <timer> <name>timer</name> <interval>1</interval> <ticking>true</ticking> <onTimerFired> <![CDATA[ var cpuLoad = system.cpu.activity; myText.data = cpuLoad + "% CPU load"; myText.opacity = cpuLoad * 2.55; ]]> </onTimerFired> </timer></widget>