It should looks like this:
Code:
{ --[ 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
},
When i leave name= empty, i can add only number in arg. I need to add script that will grab temperature from sensors.I tried
Code:
arg="sensors | grep "temp1" |cut -c16-17| head -2 | tail -1",
but it doesn't work.I don't know anything about lua programming, but as i see it is not hard to learn.
Bookmarks