It should looks like this:
When i leave name= empty, i can add only number in arg. I need to add script that will grab temperature from sensors.I triedCode:{ --[ Graph for GPU]-- name="", arg="", max=100, alarm=50, alarm_colour={0xFF0000,0.72}, bg_colour={0xFFFFFF,0.25}, fg_colour={0x00FF00,0.55}, mid_colour={{0.45,0xFFFF00,0.70}}, x=15,y=365, blocks=77, space=1, height=2,width=5, angle=90, smooth=true },
but it doesn't work.I don't know anything about lua programming, but as i see it is not hard to learn.Code:arg="sensors | grep "temp1" |cut -c16-17| head -2 | tail -1",



Adv Reply





Bookmarks