Results 1 to 1 of 1
Hi All,
Whenever I try using conky + lua and need to use the 'max' function I am running into this error:
Conky: llua_do_call: function conky_main_bars execution failed: /home/joel/.conky/bargraph.lua:385: attempt ...
- 12-22-2011 #1
Conky + Lua + 'Max' Headache
Hi All,
Whenever I try using conky + lua and need to use the 'max' function I am running into this error:
Conky: llua_do_call: function conky_main_bars execution failed: /home/joel/.conky/bargraph.lua:385: attempt to perform arithmetic on field 'max' (a string value)
Here is the code for the section of the lua script:
Code:local bars_settings={ { name="fs_used", arg="/", max=conky_parse("${to_bytes ${fs_size /}}"), --alarm=1,--no alarm with 1 smooth block, don't do extra work here bg_colour={0x00ff00,0.25}, fg_colour={0x00ff00,1}, alarm_colour={0xff0000,1}, x=5,y=112, angle=90, blocks=1, height=210,width=18, smooth=true, mid_colour={{0.5,0xffff00,1}}, },Bodhi 1.3 & Bodhi 1.4 using E17
Dell Studio 17, Intel Graphics card, 4 gigs of RAM, E17
"The beauty in life can only be found by moving past the materialism which defines human nature and into the higher realm of thought and knowledge"


Reply With Quote