<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[CrunchBang Linux Forums - My Conky Config]]></title>
		<link>http://crunchbanglinux.org/forums/topic/59/my-conky-config/</link>
		<description><![CDATA[The most recent posts in My Conky Config.]]></description>
		<lastBuildDate>Wed, 17 Mar 2010 20:30:02 +0000</lastBuildDate>
		<generator>PunBB</generator>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/59169/#p59169</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>Did you update your conky and read the readme?</p>]]></description>
			<author><![CDATA[dummy@example.com (anonymous)]]></author>
			<pubDate>Wed, 17 Mar 2010 20:30:02 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/59169/#p59169</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/59162/#p59162</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<div class="quotebox"><cite>tawan wrote:</cite><blockquote><p>has anyone here seen this? (yes I stole the graphic from it) </p><p>It is an <strong>amazing</strong> bit of work by <a href="http://sen7.deviantart.com/art/Conky-NightDrive-151418309">sen7 (link) </a></p><p><a href="http://sen7.deviantart.com/art/Conky-NightDrive-151418309"><span class="postimg"><img src="http://th03.deviantart.net/fs70/300W/i/2010/023/d/7/Conky___NightDrive_by_sen7.png" alt="http://th03.deviantart.net/fs70/300W/i/2010/023/d/7/Conky___NightDrive_by_sen7.png" /></span></a></p></blockquote></div><p>As anyone tried this setup? I&#039;ve been trying, but i cant figure out how to do it.</p>]]></description>
			<author><![CDATA[dummy@example.com (deviant-route)]]></author>
			<pubDate>Wed, 17 Mar 2010 19:23:17 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/59162/#p59162</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58941/#p58941</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>Finally it is working for me! Thank&#039;e!:)</p>]]></description>
			<author><![CDATA[dummy@example.com (noMaster)]]></author>
			<pubDate>Tue, 16 Mar 2010 15:59:54 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58941/#p58941</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58708/#p58708</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>The conky from the Arch repos does not have Lua support. You need to install conky-lua from the AUR:</p><p><a href="http://aur.archlinux.org/packages.php?ID=31589">http://aur.archlinux.org/packages.php?ID=31589</a></p>]]></description>
			<author><![CDATA[dummy@example.com (anonymous)]]></author>
			<pubDate>Mon, 15 Mar 2010 00:10:18 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58708/#p58708</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58706/#p58706</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>@ noMaster</p><p>I&#039;m sorry it&#039;s not working for you.<br />it could be your version of conky but you have 1.7.2 which should be high enough...</p><p>can you get other lua scripts working in conky?</p><p>it could be an arch thing too... maybe ask at the arch forum about getting conky with lua and cairo suppoert running? </p><p>I do not know anything about using arch</p>]]></description>
			<author><![CDATA[dummy@example.com (mrpeachy)]]></author>
			<pubDate>Sun, 14 Mar 2010 23:53:40 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58706/#p58706</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58515/#p58515</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<div class="quotebox"><cite>mrpeachy wrote:</cite><blockquote><p>@ noMaster</p><p>hi...well it looks like you do not have the lua script saved anywhere...<br />go to the post that contains the lua script for the configuration you want <br />you can tell its a lua script because it will have:<br /></p><div class="codebox"><pre><code>require &quot;cairo&quot;</code></pre></div><p>somewhere at the top</p><p>copy the code and paste it into a file as in your conkyrc:</p><p>/home/ku/.lua/flower.lua</p><p>you have to make sure that you type all the paths correctly!</p><p>your version of conky should support lua with cairo bindings... so apart from making sure you have the lua script and making sure all the paths are correct, I&#039;m not too sure what else it could be!</p></blockquote></div><p>&nbsp; I suppose that is conky version. My lua script is already exist that line:<br /></p><div class="codebox"><pre><code>require &#039;cairo&#039;
function string:split(delimiter)
local result = { }
local from  = 1
local delim_from, delim_to = string.find( self, delimiter, from  )
while delim_from do
table.insert( result, string.sub( self, from , delim_from-1 ) )
from  = delim_to + 1
delim_from, delim_to = string.find( self, delimiter, from  )
end
table.insert( result, string.sub( self, from  ) )
return result
end

function circlewriting(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
local inum=string.len(text)
range=finish
deg=(finish-start)/(inum-1)
degrads=1*(math.pi/180)
local textcut=string.gsub(text, &quot;.&quot;, &quot;%1@@@&quot;)
texttable=string.split(textcut, &quot;@@@&quot;)
for i = 1,inum do
ival=i
interval=(degrads*(start+(deg*(i-1))))+var1
interval2=degrads*(start+(deg*(i-1)))
txs=0+radi*(math.sin(interval))
tys=0-radi*(math.cos(interval))
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fsize);
cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
cairo_move_to (cr, txs+horiz, tys+verti);
cairo_rotate (cr, interval2)
cairo_show_text (cr, (texttable[i]))
cairo_rotate (cr, -interval2)
end
end
function circlewritingdown(cr, text, font, fsize, radi, horiz, verti, tred, tgreen, tblue, talpha, start, finish, var1)
local inum=string.len(text)
deg=(start-finish)/(inum-1)
degrads=1*(math.pi/180)
local textcut=string.gsub(text, &quot;.&quot;, &quot;%1@@@&quot;)
texttable=string.split(textcut, &quot;@@@&quot;)
for i = 1,inum do
ival=i
interval=(degrads*(start-(deg*(i-1))))+var1
interval2=degrads*(start-(deg*(i-1)))
txs=0+radi*(math.sin(interval))
tys=0-radi*(math.cos(interval))
cairo_select_font_face (cr, font, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fsize);
cairo_set_source_rgba (cr, tred, tgreen, tblue, talpha);
cairo_move_to (cr, txs+horiz, tys+verti);
cairo_rotate (cr, interval2+(180*math.pi/180))
cairo_show_text (cr, (texttable[i]))
cairo_rotate (cr, -interval2-(180*math.pi/180))
end
end

function flower (output, hori, vert, scale, rotation, red, green, blue, alpha, petals)

--BACKGROUND FLOWER FLAT
if background==1 then
inner=60+100
outer1=60+(100*2)
outer2=(60+(100*2))
outer3=outer1
varth1=0.5
varth2=0.5
for i=1,petals do
cairo_translate (cr, hori, vert)
cairo_scale (cr, scale, scale)
cairo_rotate (cr, (rotation*(math.pi/180)))
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180)))
--inner arc from
cairo_move_to (cr, 0, 0)
text_arc=((2*math.pi/(petals*2))*(3))
txs1=0+inner*(math.sin(text_arc))
tys1=0-inner*(math.cos(text_arc))
--outer arc through
text_arc=((2*math.pi/(petals*2))*(3+varth1))
txs2=0+outer1*(math.sin(text_arc))
tys2=0-outer1*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(4))
txs3=0+outer2*(math.sin(text_arc))
tys3=0-outer2*(math.cos(text_arc))
cairo_move_to (cr, txs1, tys1)
cairo_curve_to (cr, txs1, tys1, txs2, tys2, txs3, tys3)
--outer arc through
text_arc=((2*math.pi/(petals*2))*(4+varth2))
txs4=0+outer3*(math.sin(text_arc))
tys4=0-outer3*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(5))
txs5=0+inner*(math.sin(text_arc))
tys5=0-inner*(math.cos(text_arc))
cairo_curve_to (cr, txs3, tys3, txs4, tys4, txs5, tys5)
cairo_line_to (cr,0,0)
cairo_set_source_rgba (cr, bgred, bggreen, bgblue, 1)
cairo_fill (cr)
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180))*-1)
cairo_rotate (cr, (rotation*(math.pi/180))*-1)
cairo_scale (cr, 1/scale, 1/scale)
cairo_translate (cr, hori*-1, vert*-1)
end
end

--BACKGROUND FLOWER PETALS
inner=60+100
outer1=60+(100*2)
outer2=(60+(100*2))
outer3=outer1
varth1=0.5
varth2=0.5
for i=1,petals do
cairo_translate (cr, hori, vert)
cairo_scale (cr, scale, scale)
cairo_rotate (cr, (rotation*(math.pi/180)))
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180)))
--inner arc from
cairo_move_to (cr, 0, 0)
text_arc=((2*math.pi/(petals*2))*(3))
txs1=0+inner*(math.sin(text_arc))
tys1=0-inner*(math.cos(text_arc))
--outer arc through
text_arc=((2*math.pi/(petals*2))*(3+varth1))
txs2=0+outer1*(math.sin(text_arc))
tys2=0-outer1*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(4))
txs3=0+outer2*(math.sin(text_arc))
tys3=0-outer2*(math.cos(text_arc))
cairo_move_to (cr, txs1, tys1)
cairo_curve_to (cr, txs1, tys1, txs2, tys2, txs3, tys3)
--outer arc through
text_arc=((2*math.pi/(petals*2))*(4+varth2))
txs4=0+outer3*(math.sin(text_arc))
tys4=0-outer3*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(5))
txs5=0+inner*(math.sin(text_arc))
tys5=0-inner*(math.cos(text_arc))
cairo_curve_to (cr, txs3, tys3, txs4, tys4, txs5, tys5)
cairo_line_to (cr,0,0)
pat = cairo_pattern_create_radial (100, 120, 10,
                                   100,  100, 128.0);
cairo_pattern_add_color_stop_rgba (pat, 0, red, green, blue, alpha/2)
cairo_pattern_add_color_stop_rgba (pat, 1, red*0.7, green*0.7, blue*0.7, alpha/2)
cairo_set_source (cr, pat)
cairo_fill (cr)
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180))*-1)
cairo_rotate (cr, (rotation*(math.pi/180))*-1)
cairo_scale (cr, 1/scale, 1/scale)
cairo_translate (cr, hori*-1, vert*-1)
end
--INDICATOR FLOWER
inner=60+output
outer1=60+(output*2)
outer2=(60+(output*2))
outer3=outer1
varth1=0.5
varth2=0.5
for i=1,petals do
cairo_translate (cr, hori, vert)
cairo_scale (cr, scale, scale)
cairo_rotate (cr, (rotation*(math.pi/180)))
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180)))
--inner arc from
cairo_move_to (cr, 0, 0)
text_arc=((2*math.pi/(petals*2))*(3))
txs1=0+inner*(math.sin(text_arc))
tys1=0-inner*(math.cos(text_arc))
--outer arc through
text_arc=((2*math.pi/(petals*2))*(3+varth1))
txs2=0+outer1*(math.sin(text_arc))
tys2=0-outer1*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(4))
txs3=0+outer2*(math.sin(text_arc))
tys3=0-outer2*(math.cos(text_arc))
cairo_move_to (cr, txs1, tys1)
cairo_curve_to (cr, txs1, tys1, txs2, tys2, txs3, tys3)
--outer arc through
text_arc=((2*math.pi/(petals*2))*(4+varth2))
txs4=0+outer3*(math.sin(text_arc))
tys4=0-outer3*(math.cos(text_arc))
--outer arc to
text_arc=((2*math.pi/(petals*2))*(5))
txs5=0+inner*(math.sin(text_arc))
tys5=0-inner*(math.cos(text_arc))
cairo_curve_to (cr, txs3, tys3, txs4, tys4, txs5, tys5)
cairo_line_to (cr,0,0)
pat = cairo_pattern_create_radial (100, 120, 10,
                                   100,  100, 128.0);
cairo_pattern_add_color_stop_rgba (pat, 0, red, green, blue, alpha)
cairo_pattern_add_color_stop_rgba (pat, 1, red*0.7, green*0.7, blue*0.7, alpha)
cairo_set_source (cr, pat)
cairo_fill (cr)
cairo_rotate (cr, ((360/petals*(i-1))*(math.pi/180))*-1)
cairo_rotate (cr, (rotation*(math.pi/180))*-1)
cairo_scale (cr, 1/scale, 1/scale)
cairo_translate (cr, hori*-1, vert*-1)
end
--draw center circle
cairo_translate (cr, hori, vert)
cairo_scale (cr, scale, scale)
circrad=60
circx=0
circy=0
cairo_move_to (cr, 100, 100);
cairo_arc(cr,circx,circy,circrad,0,2*math.pi)
cairo_close_path(cr)
cairo_set_source_rgba (cr, 1, 1, 0, 1);
cairo_fill (cr);
cairo_scale (cr, 1/scale, 1/scale)
cairo_translate (cr, -hori, -vert)

--draw hearts delete or comment out this part to remove the hearts
scale=0.75
xpos=hori
ypos=vert+200
--cairo_set_source_rgba (cr, 255/255, 100/255, 130/255, 1)
cairo_translate (cr, xpos, ypos)
cairo_translate (cr, 200*scale*-1, 150*scale*-1);
cairo_move_to (cr, 200*scale, 150*scale);
--top right bump
cairo_curve_to (cr, 210*scale, 100*scale, 290*scale, 90*scale, 300*scale, 160*scale);
--right side
cairo_curve_to (cr, 300*scale, 160*scale, 320*scale, 270*scale, 200*scale, 320*scale);
--left side
cairo_curve_to (cr, 200*scale, 320*scale, 80*scale, 270*scale, 100*scale, 160*scale);
--left bump
cairo_curve_to (cr, 110*scale, 100*scale, 190*scale, 90*scale, 200*scale, 160*scale);
pat = cairo_pattern_create_radial (150*scale, 160*scale, 10*scale,
                                   150*scale,  160*scale, 128*scale);
cairo_pattern_add_color_stop_rgba (pat, 0, red, green, blue, alpha)
cairo_pattern_add_color_stop_rgba (pat, 1, red*0.7, green*0.7, blue*0.7, alpha)
cairo_set_source (cr, pat)
cairo_close_path (cr);
cairo_fill (cr)
cairo_translate (cr, 200*scale, 150*scale)
cairo_translate (cr, -xpos, -ypos)

end

function conky_draw_flower()
local updates=conky_parse(&#039;${updates}&#039;)
update_num=tonumber(updates)
if update_num &gt; 5 then
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)

output=tonumber(conky_parse(&#039;${fs_used_perc /}&#039;))
hori=210
vert=200
scale=0.4
rotation=0
red, green, blue, alpha=241/255,39/255,167/255,1
petals=5
--for flat opaque background enter 1
background=1
bgred=0.9
bggreen=0.7
bgblue=0.7
flower (output, hori, vert, scale, rotation, red, green, blue, alpha, petals)
circlewriting(cr, &quot;FILESYSTEM USED&quot;, &quot;Teenage Fantasy Romance Novel&quot;, 22, 110, hori, vert, red, green, blue, alpha, 270, 390, 0)

output=tonumber(conky_parse(&#039;${cpu}&#039;))
hori=425
vert=200
scale=0.4
rotation=0
red, green, blue, alpha=241/255,39/255,115/255,1
petals=7
--for flat opaque background enter 1
background=1
bgred=0.9
bggreen=0.7
bgblue=0.7
flower (output, hori, vert, scale, rotation, red, green, blue, alpha, petals)
circlewriting(cr, &quot;CENTRAL PROCESSOR&quot;, &quot;Teenage Fantasy Romance Novel&quot;, 22, 110, hori, vert, red, green, blue, alpha, 300, 420, -0.05)

output=tonumber(conky_parse(&#039;${memperc}&#039;))
hori=640
vert=200
scale=0.4
rotation=0
red, green, blue, alpha=243/255,39/255,40/255,1
petals=6
--for flat opaque background enter 1
background=1
bgred=0.9
bggreen=0.7
bgblue=0.7
flower (output, hori, vert, scale, rotation, red, green, blue, alpha, petals, background, bgred, bggreen, bgblue)
circlewriting(cr, &quot;RANDOM ACCESS MEMORY&quot;, &quot;Teenage Fantasy Romance Novel&quot;, 22, 110, hori, vert, red, green, blue, alpha, 320, 440, 0)
end
end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (noMaster)]]></author>
			<pubDate>Sun, 14 Mar 2010 03:27:06 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58515/#p58515</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58485/#p58485</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>@ noMaster</p><p>hi...well it looks like you do not have the lua script saved anywhere...<br />go to the post that contains the lua script for the configuration you want <br />you can tell its a lua script because it will have:<br /></p><div class="codebox"><pre><code>require &quot;cairo&quot;</code></pre></div><p>somewhere at the top</p><p>copy the code and paste it into a file as in your conkyrc:</p><p>/home/ku/.lua/flower.lua</p><p>you have to make sure that you type all the paths correctly!</p><p>your version of conky should support lua with cairo bindings... so apart from making sure you have the lua script and making sure all the paths are correct, I&#039;m not too sure what else it could be!</p>]]></description>
			<author><![CDATA[dummy@example.com (mrpeachy)]]></author>
			<pubDate>Sun, 14 Mar 2010 00:44:22 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58485/#p58485</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/58424/#p58424</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p><strong>to mrpeachy </strong><br /> Hello. I have done everything like you say [e-mail], but it still don&#039;t working for me.<br /> 1. I created .conkyrc_flower in /home/ku/<br /></p><div class="codebox"><pre><code>##############################################
# Settings
##############################################
max_specials 10000
max_user_text 150000
background yes
use_xft yes
xftfont mono:size=12
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 600, 640
maximum_width 600
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 10
gap_y 40
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
default_color 000000
color1 735046

lua_load /home/ku/.lua/flower.lua
lua_draw_hook_pre draw_flower

TEXT

#end of conkyrc code</code></pre></div><p> 2. I created conkyrc_flower in /home/ku/ and made it executable <br /></p><div class="codebox"><pre><code>#!/bin/bash
conky -c ~/.conkyrc_flower</code></pre></div><p>&nbsp; <br /> But when I type in terminal further:<br /></p><div class="codebox"><pre><code>[ku@ku-la ~]$ /home/ku/conky_start
Conky: /home/ku/.conkyrc_flower: 36: no such configuration: &#039;lua_load&#039;
Conky: /home/ku/.conkyrc_flower: 37: no such configuration: &#039;lua_draw_hook_pre&#039;
Conky: forked to background, pid is 3776
[ku@ku-la ~]$ 
Conky: desktop window (60008d) is subwindow of root window (101)
Conky: window type - desktop
Conky: drawing to created window (0x2600001)
Conky: drawing to double buffer</code></pre></div><p> ...nothing is happing :(</p><p>p.s. I&#039;m on Archlinux, LXDE. I have conky 1.7.2-5, cairo 1.8.8-1, lua 5.1.4-4</p>]]></description>
			<author><![CDATA[dummy@example.com (noMaster)]]></author>
			<pubDate>Sat, 13 Mar 2010 20:33:24 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/58424/#p58424</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57886/#p57886</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>I already had tint2 on the side but took Iman from Arch&#039;s idea of integrating conky. I went for a minimal looking conky that provides information from colour. </p><p>Top 2 numbers (1:0) are email boxes. </p><p>on AC power (battery meter hidden) some upload and download (blue \\ (download) and // (upload)) CPU2 is a little busy (blue +-) <br /><a href="http://omploader.org/vM3M1dA"><span class="postimg"><img src="http://omploader.org/tM3M1dA" alt="http://omploader.org/tM3M1dA" /></span></a></p><p>CPU now calm but temperature is high<br /><a href="http://omploader.org/vM3M1cg"><span class="postimg"><img src="http://omploader.org/tM3M1cg" alt="http://omploader.org/tM3M1cg" /></span></a></p><p>On battery power (battery bar becomes visible)<br /><a href="http://omploader.org/vM3M1dQ"><span class="postimg"><img src="http://omploader.org/tM3M1dQ" alt="http://omploader.org/tM3M1dQ" /></span></a></p><p>CPU&#039;s both doing a little, On AC but charging (battery a bit visible) <br /><a href="http://omploader.org/vM3M1dg"><span class="postimg"><img src="http://omploader.org/tM3M1dg" alt="http://omploader.org/tM3M1dg" /></span></a></p><p>Integrated into tint2<br /><a href="http://omploader.org/vM3M1dw"><span class="postimg"><img src="http://omploader.org/tM3M1dw" alt="http://omploader.org/tM3M1dw" /></span></a></p><p>conky code<br /></p><div class="codebox"><pre><code># -- Conky settings -- #
background no
update_interval 1
 
cpu_avg_samples 2
net_avg_samples 2
 
override_utf8_locale yes
 
double_buffer yes
no_buffers yes
 
text_buffer_size 2048
imlib_cache_size 0
 
# -- Window specifications -- #

own_window yes
own_window_transparent no
own_window_type desktop
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

border_inner_margin 1
border_outer_margin 0
 
minimum_size 42 107
maximum_width 50
 
alignment bottom_left
gap_x 0
gap_y 0
 
# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
 
# -- Text settings -- #
use_xft yes
xftfont Radio Space:size=9
xftalpha 0.4
 
uppercase no

# Default colors and also border colors
default_color FFFFDD
#good blue 1994d1
#medium blue 083146
#dark blue 041e2c
color1 303030
color2 1994d1
color3 a90100
color4 808080
color5 151515
#default_shade_color 888888
#default_outline_color 888888
own_window_colour 151515
default_color 808080
border_width 0
#
# -- Lua Load -- #
#lua_load ~/.conky/lua.lua
#lua_draw_hook_pre ring_stats
 
TEXT
${alignc}${if_up wlan0}${execpi 300 python ~/.conky/my-gmail.py emailbox1 password1 1}${else}x${endif}:${if_up wlan0}${execpi 600 python ~/.conky/my-gmail.py emailbox2 password2 1}${else}x${endif}
${alignc}${if_match ${downspeedf wlan0} &gt;= 20}${color2}${else}${if_match ${downspeedf wlan0} &gt;= 2}${color4}${else}${color5}${endif}${endif}\\${color} ${if_match ${upspeedf wlan0} &gt;= 20}${color2}${else}${if_match ${upspeedf wlan0} &gt;= 2}${color4}${else}${color5}${endif}${endif}//${color}
${alignc}${if_match ${cpu cpu1} &gt;= 90}${color3}${else}${if_match ${cpu cpu1} &gt;= 40}${color2}${else}${if_match ${cpu cpu1} &gt;= 10}${color4}${else}${color5}${endif}${endif}${endif}-+${color}${if_match ${acpitemp} &gt;= 70}${color3}${else}${if_match ${acpitemp} &gt;= 60}${color2}${else}${if_match ${acpitemp} &gt;= 50}${color4}${else}${color5}${endif}${endif}${endif}T${color}${if_match ${cpu cpu2} &gt;= 90}${color3}${else}${if_match ${cpu cpu2} &gt;= 40}${color2}${else}${if_match ${cpu cpu2} &gt;= 10}${color4}${else}${color5}${endif}${endif}${endif}+-${color}
${if_up wlan0}${voffset 10}${goto 6}${color cccccc}${font ConkyWeather:size=25}${execi 600 conkyForecast --location=EZXX0002 --datatype=WF}${font}${color}
${font DejaVu Sans Mono:size=6.5}${goto 12}${execi 600 conkyForecast --location=ASXX0112 --datatype=HT}${endif}
${if_match ${battery_percent BAT0} &gt;= 98}${color5}${else}${if_existing /sys/class/power_supply/ACAD/online 0}${color2}${else}${color1}${endif}${endif}${goto 2}${battery_bar 6,40 BAT0}
${if_existing /sys/class/power_supply/ACAD/online 0}${if_match ${battery_percent BAT0} &lt;= 8}${execi 200 ~/mybin/tawan-lowpower-shutdown}${endif}${endif}</code></pre></div><p>tint2 code<br /></p><div class="codebox"><pre><code>#---------------------------------------------
# TINT2 CONFIG FILE
#---------------------------------------------

#---------------------------------------------
# BACKGROUND AND BORDER
#---------------------------------------------
rounded = 0
border_width = 0
background_color = #151515 100
border_color = #ffffff 40

rounded = 5
border_width = 0
background_color = #000000 40
border_color = #ffffff 50

rounded = 5
border_width = 0
background_color = #000000 10
border_color = #ffffff 70

rounded = 5
border_width = 0
background_color = #ffffff 4
border_color = #ffffff 70

#---------------------------------------------
# PANEL
#---------------------------------------------
panel_monitor = all
panel_position = top left vertical
panel_size = 86% 44
panel_margin = 0 0
panel_padding = 2 2 2
font_shadow = 1
panel_background_id = 1
wm_menu = 1

#---------------------------------------------
# TASKBAR
#---------------------------------------------
taskbar_mode = multi_desktop
#taskbar_mode = single_desktop
taskbar_padding = 2 2 2
taskbar_background_id = 1
taskbar_active_background_id = 4

#---------------------------------------------
# TASKS
#---------------------------------------------
task_icon = 1
task_text = 0
task_maximum_size = 40 40
task_centered = 1
task_padding = 6 3
task_font = sans 7
task_font_color = #ffffff 70
task_active_font_color = #000000 100
task_background_id = 3
task_active_background_id = 2

#---------------------------------------------
# SYSTRAYBAR
#---------------------------------------------
systray = 1
systray_padding = 4 4 5
systray_background_id = 1
systray_sort = left2right
systray_icon_size = 16
systray_icon_asb = 100 0 0

#---------------------------------------------
# CLOCK
#---------------------------------------------
time1_format = %H:%M
time1_font = sans bold 8
time2_format = %h.%e
time2_font = sans 6
clock_font_color = #ffffff 76
clock_padding = 4 2
clock_background_id = 1
#clock_lclick_command = xclock
clock_rclick_command = zenity --calendar

#---------------------------------------------
# BATTERY
#---------------------------------------------
battery = 0
battery_hide = 98
battery_low_status = 10
battery_low_cmd = notify-send &quot;battery low&quot;
bat1_font = sans 8
bat2_font = sans 6
battery_font_color = #ffffff 76
battery_padding = 1 0
battery_background_id = 0

#---------------------------------------------
# TOOLTIP
#---------------------------------------------
tooltip = 1
tooltip_padding = 2 2
tooltip_show_timeout = 0.7
tooltip_hide_timeout = 0.3
tooltip_background_id = 1
tooltip_font_color = #ffffff 80
tooltip_font = sans 10

#---------------------------------------------
# MOUSE ACTION ON TASK
#---------------------------------------------
mouse_middle = none
mouse_right = close
mouse_scroll_up = toggle
mouse_scroll_down = iconify</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (tawan)]]></author>
			<pubDate>Tue, 09 Mar 2010 13:03:07 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57886/#p57886</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57866/#p57866</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<div class="quotebox"><cite>mrpeachy wrote:</cite><blockquote><p><a href="http://omploader.org/vM3MybA"><span class="postimg"><img src="http://omploader.org/tM3MybA" alt="http://omploader.org/tM3MybA" /></span></a></p><p>here is the code for the ascii conversion function:</p></blockquote></div><p>ha nice.</p>]]></description>
			<author><![CDATA[dummy@example.com (tawan)]]></author>
			<pubDate>Tue, 09 Mar 2010 07:00:59 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57866/#p57866</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57853/#p57853</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p><a href="http://omploader.org/vM3MybA"><span class="postimg"><img src="http://omploader.org/tM3MybA" alt="http://omploader.org/tM3MybA" /></span></a></p><p>here is the code for the ascii conversion function:<br />currently it only works with lowercase letters and only outputs one ascii &quot;font&quot; ... the &quot;standard&quot; font from the site tawan posted here:&nbsp; <a href="http://crunchbanglinux.org/forums/post/57581/#p57581">http://crunchbanglinux.org/forums/post/57581/#p57581</a></p><div class="codebox"><pre><code>--[[conky output and text converter to ascii output lua script by mrpeachy (2010)  ]]
require &quot;cairo&quot;
function addzero100(num)
if tonumber(num) &lt; 10 then
return &quot;00&quot; .. num
elseif tonumber(num) &lt;100 then
return &quot;0&quot; .. num
else
return num
end
end

function string:split(delimiter)
local result = { }
local from  = 1
local delim_from, delim_to = string.find( self, delimiter, from  )
while delim_from do
table.insert( result, string.sub( self, from , delim_from-1 ) )
from  = delim_to + 1
delim_from, delim_to = string.find( self, delimiter, from  )
end
table.insert( result, string.sub( self, from  ) )
return result
end

function texttoascii(text, fontsize, across, down)
cairo_select_font_face (cr, &quot;Mono&quot;, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, fontsize);
cairo_set_source_rgba (cr, 0.2, 0.6, 0.2, 1);

textlength=string.len(text)
textcut=string.gsub(text, &quot;.&quot;, &quot;%1|&quot;)
texttable=string.split(textcut, &quot;|&quot;)


for i=1,textlength do
if texttable[i-1]==nil then adjust=0 end
if texttable[i-1]==&quot;0&quot; then adjust=(fontsize*0.4) end
if texttable[i-1]==&quot;1&quot; then adjust=(-1*(fontsize*2)) end
if texttable[i-1]==&quot;4&quot; then adjust=(fontsize*0.5) end

cairo_translate (cr, (across+((i-1)*fontsize*4.3))+adjust, down)
    if texttable[i]==&quot;a&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2)
        cairo_show_text (cr,&quot;  __ _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _` |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__,_|&quot;)        
        
        
        elseif texttable[i]==&quot;b&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _     &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| |__  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_.__/ &quot;)

        
        elseif texttable[i]==&quot;c&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  ___ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / __|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (__ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___|&quot;)
        cairo_translate (cr, -fontsize*0.4, 0)
        
        elseif texttable[i]==&quot;d&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;     _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  __| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _` |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__,_|&quot;)

        
        elseif texttable[i]==&quot;e&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  ___ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _ \\&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;|  __/&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___|&quot;)

        
        elseif texttable[i]==&quot;f&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;  __ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; / _|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| |_ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;|  _|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|  &quot;)
        cairo_translate (cr, -fontsize, 0)

        
        elseif texttable[i]==&quot;g&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  __ _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _` |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__, |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*6) 
        cairo_show_text (cr,&quot; |___/&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*7) 
        cairo_show_text (cr,&quot; &quot;)

        
        elseif texttable[i]==&quot;h&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _     &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| |__  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_| |_|&quot;)

        
        elseif texttable[i]==&quot;i&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;(_)&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|&quot;)
        cairo_translate (cr, -fontsize*2.5, 0)

        elseif texttable[i]==&quot;j&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;   _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  (_)&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;  | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;  | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; _/ |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*6) 
        cairo_show_text (cr,&quot;|__/ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*7) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_translate (cr, -fontsize, 0)
        
        elseif texttable[i]==&quot;k&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _    &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| | __&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| |/ /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;|   &lt; &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|\\_\\&quot;)

        
        elseif texttable[i]==&quot;l&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|&quot;)
        cairo_translate (cr, -fontsize*2, 0)
        
        elseif texttable[i]==&quot;m&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _ __ ___  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ ` _ \\&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| | | | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_| |_| |_|&quot;)
        cairo_translate (cr, fontsize*2.5, 0)
        
        elseif texttable[i]==&quot;n&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _ __  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_| |_|&quot;)

        
        elseif texttable[i]==&quot;o&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  ___  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___/ &quot;)

        
        elseif texttable[i]==&quot;p&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _ __  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;| .__/ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*6) 
        cairo_show_text (cr,&quot;|_|    &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*7) 
        cairo_show_text (cr,&quot;&quot;)
        
        elseif texttable[i]==&quot;q&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;  __ _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _` |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__, |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*6) 
        cairo_show_text (cr,&quot;    |_|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*7) 
        cairo_show_text (cr,&quot;&quot;)
        
        elseif texttable[i]==&quot;r&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _ __ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;__|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |   &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|   &quot;)
        cairo_translate (cr, -fontsize*0.4, 0)

        
        elseif texttable[i]==&quot;s&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; ___ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;/ __|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;\\__ \\&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|___/&quot;)
        cairo_translate (cr, -fontsize*0.7, 0)
        
        elseif texttable[i]==&quot;t&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _   &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| |_ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| __|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__|&quot;)
        cairo_translate (cr, -fontsize*0.7, 0)
        
        elseif texttable[i]==&quot;u&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _   _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__,_|&quot;)
        cairo_translate (cr, fontsize*0.4, 0)

        
        elseif texttable[i]==&quot;v&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;__   __&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;\\ \\ / /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; \\ V / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;  \\_/  &quot;)
        cairo_translate (cr, fontsize*0.7, 0)
        
        elseif texttable[i]==&quot;w&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;__      __&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;\\ \\ /\\ / /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; \\ V  V / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;  \\_/\\_/  &quot;)
        cairo_translate (cr, fontsize*2.5, 0)

        
        elseif texttable[i]==&quot;x&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;__  __&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;\\ \\/ /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; &gt;  &lt; &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;/_/\\_\\&quot;)

        
        elseif texttable[i]==&quot;y&quot; then
        
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _   _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\__, |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*6) 
        cairo_show_text (cr,&quot; |___/ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*7) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_translate (cr, fontsize*0.7, 0)
        
        elseif texttable[i]==&quot;z&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; ____&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;|_  /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; / / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;/___|&quot;)
        cairo_translate (cr, -fontsize*0.6, 0)
        
        elseif texttable[i]==&quot;0&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;  ___  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; / _ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| | | |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |_| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___/ &quot;)
        --cairo_translate (cr, fontsize*0.4, 0)    

        elseif texttable[i]==&quot;1&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;/ |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_|&quot;)
        --cairo_translate (cr, -fontsize*2, 0)
     

        elseif texttable[i]==&quot;2&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; ____  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;|___ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;  __) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; / __/ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|_____|&quot;)      

        elseif texttable[i]==&quot;3&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _____ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;|___ / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;  |_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; ___) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|____/ &quot;)        

        elseif texttable[i]==&quot;4&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _  _   &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| || |  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| || |_ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;|__   _|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;   |_|  &quot;) 
        --cairo_translate (cr, fontsize, 0)
      

        elseif texttable[i]==&quot;5&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; ____  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;| ___| &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;|___ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; ___) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;|____/ &quot;)        

        elseif texttable[i]==&quot;6&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;  __   &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; / /_  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| &#039;_ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___/ &quot;)      

        elseif texttable[i]==&quot;7&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _____ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;|___  |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;   / / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;  / /  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; /_/   &quot;)       

        elseif texttable[i]==&quot;8&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;  ___  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; ( _ ) &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot; / _ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;| (_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot; \\___/ &quot;)       

        elseif texttable[i]==&quot;9&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;  ___  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; / _ \\ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;| (_) |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; \\__, |&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;   /_/ &quot;)  
        
        elseif texttable[i]==&quot;:&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;&quot;)  
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot; _ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;|_|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot;|_|&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;&quot;)
        cairo_translate (cr, -fontsize*2, 0)

        
        elseif texttable[i]==&quot; &quot; then   
        cairo_translate (cr, -fontsize*3, 0)
        
        elseif texttable[i]==&quot;%&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot; _  _ &quot;)  
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;|_|/ /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;  / / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; / /_ &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;/_/|_|&quot;)
        cairo_translate (cr, -fontsize*2, 0)
        
        elseif texttable[i]==&quot;/&quot; then
        cairo_move_to (cr, 0, 0)
        cairo_show_text (cr,&quot;&quot;)
        cairo_move_to (cr, 0, fontsize*1.2) 
        cairo_show_text (cr,&quot;    _ &quot;)  
        cairo_move_to (cr, 0, fontsize*1.2*2) 
        cairo_show_text (cr,&quot;   / /&quot;)
        cairo_move_to (cr, 0, fontsize*1.2*3) 
        cairo_show_text (cr,&quot;  / / &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*4) 
        cairo_show_text (cr,&quot; / /  &quot;)
        cairo_move_to (cr, 0, fontsize*1.2*5) 
        cairo_show_text (cr,&quot;/_/   &quot;)
        cairo_translate (cr, -fontsize, 0)

    end
cairo_translate (cr, -1*((across+((i-1)*fontsize*4.3))+adjust), -down)
end
end--of function


function conky_draw_text()
local updates=conky_parse(&#039;${updates}&#039;)
update_num=tonumber(updates)
if update_num &gt; 5 then
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
--setup for ascii

text=(&quot;time &quot; .. (os.date(&quot;%H : %M : %S&quot;)))
fontsize=8
across=10
down=20
texttoascii(text, fontsize, across, down)

text=(&quot;date &quot; .. (os.date(&quot;%m / %d / %y&quot;)))
fontsize=8
across=168
down=90
texttoascii(text, fontsize, across, down)

text=(&quot;cpu &quot; .. (addzero100(tonumber(conky_parse(&#039;${cpu}&#039;)))) .. &quot; %&quot;)
fontsize=10
across=308
down=160
texttoascii(text, fontsize, across, down)

text=(&quot;mem &quot; .. (addzero100(tonumber(conky_parse(&#039;${memperc}&#039;)))) .. &quot; %&quot;)
fontsize=10
across=388
down=230
texttoascii(text, fontsize, across, down)

text=(&quot;hdd &quot; .. (addzero100(tonumber(conky_parse(&#039;${fs_used_perc /}&#039;)))) .. &quot; %&quot;)
fontsize=10
across=418
down=300
texttoascii(text, fontsize, across, down)


end
end</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (mrpeachy)]]></author>
			<pubDate>Tue, 09 Mar 2010 05:00:54 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57853/#p57853</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57623/#p57623</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>nothing particularly groundbreaking, but have written a couple of lua functions to convert numbers and dates to text<br />so 19 becomes &quot;nineteen&quot;<br />and 23 (as in 23rd of month) becomes &quot;twenty third&quot;</p><p>UPDATED--------------<br />you can get stuff like this:<br /><a href="http://omploader.org/vM3I5dw"><span class="postimg"><img src="http://omploader.org/tM3I5dw" alt="http://omploader.org/tM3I5dw" /></span></a></p><p>here is the script that made the above: <br />currently the number conversion function only goes up to 999<br />i have made a separate time to words function</p><div class="codebox"><pre><code>--[[numbers to words conversion lua script by mrpeachy (2010)]]
require &quot;cairo&quot;

function string:split(delimiter)
local result = { }
local from  = 1
local delim_from, delim_to = string.find( self, delimiter, from  )
while delim_from do
table.insert( result, string.sub( self, from , delim_from-1 ) )
from  = delim_to + 1
delim_from, delim_to = string.find( self, delimiter, from  )
end
table.insert( result, string.sub( self, from  ) )
return result
end

function time_to_words(wantsecs)
hours=os.date(&quot;%I&quot;)
minutes=os.date(&quot;%M&quot;)
seconds=os.date(&quot;%S&quot;)
hrcut=string.gsub(hours, &quot;.&quot;, &quot;%1|&quot;)
hrtable=string.split(hrcut, &quot;|&quot;)
mincut=string.gsub(minutes, &quot;.&quot;, &quot;%1|&quot;)
mintable=string.split(mincut, &quot;|&quot;)
seccut=string.gsub(seconds, &quot;.&quot;, &quot;%1|&quot;)
sectable=string.split(seccut, &quot;|&quot;)
    if hours==&quot;01&quot; then
    hr=&quot;one&quot;
    elseif hours==&quot;02&quot; then
    hr=&quot;two&quot;
    elseif hours==&quot;03&quot; then
    hr=&quot;three&quot;
    elseif hours==&quot;04&quot; then
    hr=&quot;four&quot;
    elseif hours==&quot;05&quot; then
    hr=&quot;five&quot;
    elseif hours==&quot;06&quot; then
    hr=&quot;six&quot;
    elseif hours==&quot;07&quot; then
    hr=&quot;seven&quot;
    elseif hours==&quot;08&quot; then
    hr=&quot;eight&quot;
    elseif hours==&quot;09&quot; then
    hr=&quot;nine&quot;
    elseif hours==&quot;10&quot; then
    hr=&quot;ten&quot;
    elseif hours==&quot;11&quot; then
    hr=&quot;eleven&quot;
    elseif hours==&quot;12&quot; then
    hr=&quot;twelve&quot;
    end

   if mintable[1]==&quot;1&quot; then
   mintens=&quot;&quot;
   minspacer=&quot;&quot;
        if mintable[2]==&quot;0&quot; then
        minunits=&quot;ten&quot;
        elseif mintable[2]==&quot;1&quot; then
        minunits=&quot;eleven&quot;
        elseif mintable[2]==&quot;2&quot; then
        minunits=&quot;twelve&quot;
        elseif mintable[2]==&quot;3&quot; then
        minunits=&quot;thirteen&quot;
        elseif mintable[2]==&quot;4&quot; then
        minunits=&quot;fourteen&quot;
        elseif mintable[2]==&quot;5&quot; then
        minunits=&quot;fifteen&quot;
        elseif mintable[2]==&quot;6&quot; then
        minunits=&quot;sixteen&quot;
        elseif mintable[2]==&quot;7&quot; then
        fisrtdigit=&quot;seventeen&quot;
        elseif mintable[2]==&quot;8&quot; then
        minunits=&quot;eighteen&quot;
        elseif mintable[2]==&quot;9&quot; then
        minunits=&quot;nineteen&quot;
        end
    end   
    if mintable[1]==&quot;0&quot; or mintable[1]&gt;&quot;1&quot; then
    if mintable[1]==&quot;0&quot; then minspacer=&quot;&quot; end
    if mintable[1]&gt;&quot;1&quot; then minspacer=&quot; &quot; end      
        if mintable[1]==&quot;2&quot; then
        mintens=&quot;twenty&quot;
        elseif mintable[1]==&quot;3&quot; then
        mintens=&quot;thirty&quot;
        elseif mintable[1]==&quot;4&quot; then
        mintens=&quot;fourty&quot;
        elseif mintable[1]==&quot;5&quot; then
        mintens=&quot;fifty&quot;
        elseif mintable[1]==&quot;0&quot; then
        mintens=&quot;&quot;
        end  
        if mintable[2]==&quot;1&quot; then
        minunits=&quot;one&quot;
        elseif mintable[2]==&quot;2&quot; then
        minunits=&quot;two&quot;
        elseif mintable[2]==&quot;3&quot; then
        minunits=&quot;three&quot;
        elseif mintable[2]==&quot;4&quot; then
        minunits=&quot;four&quot;
        elseif mintable[2]==&quot;5&quot; then
        minunits=&quot;five&quot;
        elseif mintable[2]==&quot;6&quot; then
        minunits=&quot;six&quot;
        elseif mintable[2]==&quot;7&quot; then
        minunits=&quot;seven&quot;
        elseif mintable[2]==&quot;8&quot; then
        minunits=&quot;eight&quot;
        elseif mintable[2]==&quot;9&quot; then
        minunits=&quot;nine&quot;
        elseif mintable[2]==&quot;0&quot; then
        minunits=&quot;&quot;
        minspacer=&quot;&quot;
        end
    end
min=(mintens .. minspacer .. minunits)
    if sectable[1]==&quot;1&quot; then
        if sectable[2]==&quot;0&quot; then
        secunits=&quot;ten&quot;
        elseif sectable[2]==&quot;1&quot; then
        secunits=&quot;eleven&quot;
        elseif sectable[2]==&quot;2&quot; then
        secunits=&quot;twelve&quot;
        elseif sectable[2]==&quot;3&quot; then
        secunits=&quot;thirteen&quot;
        elseif sectable[2]==&quot;4&quot; then
        secunits=&quot;fourteen&quot;
        elseif sectable[2]==&quot;5&quot; then
        secunits=&quot;fifteen&quot;
        elseif sectable[2]==&quot;6&quot; then
        secunits=&quot;sixteen&quot;
        elseif sectable[2]==&quot;7&quot; then
        fisrtdigit=&quot;seventeen&quot;
        elseif sectable[2]==&quot;8&quot; then
        secunits=&quot;eighteen&quot;
        elseif sectable[2]==&quot;9&quot; then
        secunits=&quot;nineteen&quot;
        end
    end   
    if sectable[1]==&quot;0&quot; or sectable[1]&gt;&quot;1&quot; then
    if sectable[1]==&quot;0&quot; then secspacer=&quot;&quot; end
    if sectable[1]&gt;&quot;1&quot; then secspacer=&quot; &quot; end       
        if sectable[1]==&quot;2&quot; then
        sectens=&quot;twenty&quot;
        elseif sectable[1]==&quot;3&quot; then
        sectens=&quot;thirty&quot;
        elseif sectable[1]==&quot;4&quot; then
        sectens=&quot;fourty&quot;
        elseif sectable[1]==&quot;5&quot; then
        sectens=&quot;fifty&quot;
        elseif sectable[1]==&quot;0&quot; then
        sectens=&quot;&quot;
        end  
        if sectable[2]==&quot;1&quot; then
        secunits=&quot;one&quot;
        elseif sectable[2]==&quot;2&quot; then
        secunits=&quot;two&quot;
        elseif sectable[2]==&quot;3&quot; then
        secunits=&quot;three&quot;
        elseif sectable[2]==&quot;4&quot; then
        secunits=&quot;four&quot;
        elseif sectable[2]==&quot;5&quot; then
        secunits=&quot;five&quot;
        elseif sectable[2]==&quot;6&quot; then
        secunits=&quot;six&quot;
        elseif sectable[2]==&quot;7&quot; then
        secunits=&quot;seven&quot;
        elseif sectable[2]==&quot;8&quot; then
        secunits=&quot;eight&quot;
        elseif sectable[2]==&quot;9&quot; then
        secunits=&quot;nine&quot;
        elseif sectable[2]==&quot;0&quot; then
        secunits=&quot;&quot;
        secspacer=&quot;&quot;
        end
    end
sec=(sectens .. secspacer .. secunits)
if wantsecs==&quot;n&quot; then
    if minutes==00 then
    return ((hr) .. &quot; o&#039;clock&quot;)
    elseif minutes==01 then
    return ((min) .. &quot; minute past &quot; .. (hr))
    elseif minutes&gt;01 then
    return ((min) .. &quot; minutes past &quot; .. (hr))
    end
end
if wantsecs==&quot;y&quot; then
    if seconds&gt;&quot;01&quot; then    
        if minutes==&quot;00&quot; then
        return ((sec) .. &quot; seconds past &quot; .. (hr))
        elseif minutes&gt;&quot;00&quot; then
        return ((min) .. &quot; minutes and &quot; .. (sec) .. &quot; seconds past &quot; .. (hr))
        end
    end
    if seconds==&quot;01&quot; then
        if minutes==&quot;00&quot; then
        return ((sec) .. &quot; second past &quot; .. (hr))
        elseif minutes&gt;&quot;00&quot; then
        return ((min) .. &quot; minutes and &quot; .. (sec) .. &quot; second past &quot; .. (hr))
        end
    end
    if seconds==&quot;00&quot; then    
        if minutes==&quot;00&quot; then
        return ((hr) .. &quot; o&#039;clock&quot;)
        elseif minutes&gt;&quot;00&quot; then
        return ((min) .. &quot; minutes past &quot; .. (hr))
        end
    end
end

end--end of function

function date_to_words()------------------------------------------------------------------------------------------
date=os.date(&quot;%d&quot;)
datecut=string.gsub(date, &quot;.&quot;, &quot;%1|&quot;)
datetable=string.split(datecut, &quot;|&quot;)
        
        if datetable[1]==&quot;1&quot; then
            datetens=&quot;&quot;
            datespacer=&quot;&quot;
            if datetable[2]==&quot;0&quot; then
            dateunit=&quot;tenth&quot;
            elseif datetable[2]==&quot;1&quot; then
            dateunit=&quot;eleventh&quot;
            elseif datetable[2]==&quot;2&quot; then
            dateunit=&quot;twelfth&quot;
            elseif datetable[2]==&quot;3&quot; then
            dateunit=&quot;thirteenth&quot;
            elseif datetable[2]==&quot;4&quot; then
            dateunit=&quot;fourteenth&quot;
            elseif datetable[2]==&quot;5&quot; then
            dateunit=&quot;fifteenth&quot;
            elseif datetable[2]==&quot;6&quot; then
            dateunit=&quot;sixteenth&quot;
            elseif datetable[2]==&quot;7&quot; then
            fisrtdigit=&quot;seventeenth&quot;
            elseif datetable[2]==&quot;8&quot; then
            dateunit=&quot;eighteenth&quot;
            elseif datetable[2]==&quot;9&quot; then
            dateunit=&quot;nineteenth&quot;
            end
        end 
          
        if datetable[1]==&quot;0&quot; or datetable[1]&gt;&quot;1&quot; then
            datespacer=&quot; &quot;
            if datetable[1]==&quot;2&quot; then
            datetens=&quot;twenty&quot;
            elseif datetable[1]==&quot;3&quot; then
            datetens=&quot;thirty&quot;
            elseif datetable[1]==&quot;0&quot; then
            datetens=&quot;&quot;
            end 
            if datetable[2]==&quot;1&quot; then
            dateunit=&quot;first&quot;
            elseif datetable[2]==&quot;2&quot; then
            dateunit=&quot;second&quot;
            elseif datetable[2]==&quot;3&quot; then
            dateunit=&quot;third&quot;
            elseif datetable[2]==&quot;4&quot; then
            dateunit=&quot;fourth&quot;
            elseif datetable[2]==&quot;5&quot; then
            dateunit=&quot;fifth&quot;
            elseif datetable[2]==&quot;6&quot; then
            dateunit=&quot;sixth&quot;
            elseif datetable[2]==&quot;7&quot; then
            dateunit=&quot;seventh&quot;
            elseif datetable[2]==&quot;8&quot; then
            dateunit=&quot;eighth&quot;
            elseif datetable[2]==&quot;9&quot; then
            dateunit=&quot;nineth&quot;
            elseif datetable[2]==&quot;0&quot; then
            dateunit=&quot;&quot;
            datespacer=&quot;&quot;
            end
        end
        if datetable[2]==&quot;0&quot; then
            datetens=&quot;&quot;
            datespacer=&quot;&quot;
            if datetable[1]==&quot;2&quot; then
            dateunit=&quot;twentieth&quot;
            elseif datetable[1]==&quot;3&quot; then
            dateunit=&quot;thirtieth&quot;
            end
        end    
    return ((datetens) .. (datespacer) .. (dateunit))
end--end of function--------------------------------------------------------------------------------------

function number_to_words(text)
textlength=string.len(text)
textcut=string.gsub(text, &quot;.&quot;, &quot;%1|&quot;)
texttable=string.split(textcut, &quot;|&quot;)
--for NUMBERS from 1 to 999
--for numbers 1 digit number----------
if textlength==1 then
    if texttable[1]==&quot;1&quot; then
    firstdigit=&quot;one&quot;
    elseif texttable[1]==&quot;2&quot; then
    firstdigit=&quot;two&quot;
    elseif texttable[1]==&quot;3&quot; then
    firstdigit=&quot;three&quot;
    elseif texttable[1]==&quot;4&quot; then
    firstdigit=&quot;four&quot;
    elseif texttable[1]==&quot;5&quot; then
    firstdigit=&quot;five&quot;
    elseif texttable[1]==&quot;6&quot; then
    firstdigit=&quot;six&quot;
    elseif texttable[1]==&quot;7&quot; then
    firstdigit=&quot;seven&quot;
    elseif texttable[1]==&quot;8&quot; then
    firstdigit=&quot;eight&quot;
    elseif texttable[1]==&quot;9&quot; then
    firstdigit=&quot;nine&quot;
    elseif texttable[1]==&quot;0&quot; then
    firstdigit=&quot;zero&quot;
    end
return firstdigit
end
--for 2 digit number------------------
if textlength==2 then
    if texttable[1]==&quot;1&quot; then
        seconddigit=&quot;&quot;
        spacer=&quot;&quot;
        if texttable[2]==&quot;0&quot; then
        firstdigit=&quot;ten&quot;
        elseif texttable[2]==&quot;1&quot; then
        firstdigit=&quot;eleven&quot;
        elseif texttable[2]==&quot;2&quot; then
        firstdigit=&quot;twelve&quot;
        elseif texttable[2]==&quot;3&quot; then
        firstdigit=&quot;thirteen&quot;
        elseif texttable[2]==&quot;4&quot; then
        firstdigit=&quot;fourteen&quot;
        elseif texttable[2]==&quot;5&quot; then
        firstdigit=&quot;fifteen&quot;
        elseif texttable[2]==&quot;6&quot; then
        firstdigit=&quot;sixteen&quot;
        elseif texttable[2]==&quot;7&quot; then
        fisrtdigit=&quot;seventeen&quot;
        elseif texttable[2]==&quot;8&quot; then
        firstdigit=&quot;eighteen&quot;
        elseif texttable[2]==&quot;9&quot; then
        firstdigit=&quot;nineteen&quot;
        end
    end   
    if texttable[1]&gt;&quot;1&quot; then
        spacer=&quot; &quot;
        if texttable[1]==&quot;2&quot; then
        seconddigit=&quot;twenty&quot;
        elseif texttable[1]==&quot;3&quot; then
        seconddigit=&quot;thirty&quot;
        elseif texttable[1]==&quot;4&quot; then
        seconddigit=&quot;fourty&quot;
        elseif texttable[1]==&quot;5&quot; then
        seconddigit=&quot;fifty&quot;
        elseif texttable[1]==&quot;6&quot; then
        seconddigit=&quot;sixty&quot;
        elseif texttable[1]==&quot;7&quot; then
        seconddigit=&quot;seventy&quot;
        elseif texttable[1]==&quot;8&quot; then
        seconddigit=&quot;eighty&quot;
        elseif texttable[1]==&quot;9&quot; then
        seconddigit=&quot;ninety&quot;
        end    
        if texttable[2]==&quot;1&quot; then
        firstdigit=&quot;one&quot;
        elseif texttable[2]==&quot;2&quot; then
        firstdigit=&quot;two&quot;
        elseif texttable[2]==&quot;3&quot; then
        firstdigit=&quot;three&quot;
        elseif texttable[2]==&quot;4&quot; then
        firstdigit=&quot;four&quot;
        elseif texttable[2]==&quot;5&quot; then
        firstdigit=&quot;five&quot;
        elseif texttable[2]==&quot;6&quot; then
        firstdigit=&quot;six&quot;
        elseif texttable[2]==&quot;7&quot; then
        firstdigit=&quot;seven&quot;
        elseif texttable[2]==&quot;8&quot; then
        firstdigit=&quot;eight&quot;
        elseif texttable[2]==&quot;9&quot; then
        firstdigit=&quot;nine&quot;
        elseif texttable[2]==&quot;0&quot; then
        firstdigit=&quot;&quot;
        spacer=&quot;&quot;
        end
     end
return ((seconddigit) .. (spacer) .. (firstdigit))
end
--for 3 digit numbers-----------------------------
if textlength==3 then
    if texttable[2]==&quot;0&quot; and texttable[3]==&quot;0&quot; then space=&quot;&quot; end
    if texttable[2]&gt;&quot;0&quot; or texttable[3]&gt;&quot;0&quot; then space=&quot; and &quot; end
    if texttable[2]==&quot;0&quot; and texttable[3]&gt;&quot;0&quot; then spacer=&quot;&quot; end
    
    if texttable[1]==&quot;1&quot; then
    thirddigit=&quot;one hundred&quot;
    elseif texttable[1]==&quot;2&quot; then
    thirddigit=&quot;two hundred&quot;
    elseif texttable[1]==&quot;3&quot; then
    thirddigit=&quot;three hundred&quot;
    elseif texttable[1]==&quot;4&quot; then
    thirddigit=&quot;four hundred&quot;
    elseif texttable[1]==&quot;5&quot; then
    thirddigit=&quot;five hundred&quot;
    elseif texttable[1]==&quot;6&quot; then
    thirddigit=&quot;six hundred&quot;
    elseif texttable[1]==&quot;7&quot; then
    thirddigit=&quot;seven hundred&quot;
    elseif texttable[1]==&quot;8&quot; then
    thirddigit=&quot;eight hundred&quot;
    elseif texttable[1]==&quot;9&quot; then
    thirddigit=&quot;nine hundred&quot;
    end
    if texttable[2]==&quot;0&quot; or texttable[2]&gt;&quot;1&quot; then
        if texttable[3]==&quot;1&quot; then
        firstdigit=&quot;one&quot;
        elseif texttable[3]==&quot;2&quot; then
        firstdigit=&quot;two&quot;
        elseif texttable[3]==&quot;3&quot; then
        firstdigit=&quot;three&quot;
        elseif texttable[3]==&quot;4&quot; then
        firstdigit=&quot;four&quot;
        elseif texttable[3]==&quot;5&quot; then
        firstdigit=&quot;five&quot;
        elseif texttable[3]==&quot;6&quot; then
        firstdigit=&quot;six&quot;
        elseif texttable[3]==&quot;7&quot; then
        firstdigit=&quot;seven&quot;
        elseif texttable[3]==&quot;8&quot; then
        firstdigit=&quot;eight&quot;
        elseif texttable[3]==&quot;9&quot; then
        firstdigit=&quot;nine&quot;
        elseif texttable[3]==&quot;0&quot; then
        firstdigit=&quot;&quot;
        spacer=&quot;&quot;
        end 
    end
    if texttable[2]==&quot;1&quot; then
        seconddigit=&quot;&quot;
        spacer=&quot;&quot;  
        if texttable[3]==&quot;0&quot; then
        firstdigit=&quot;ten&quot;
        elseif texttable[3]==&quot;1&quot; then
        firstdigit=&quot;eleven&quot;
        elseif texttable[3]==&quot;2&quot; then
        firstdigit=&quot;twelve&quot;
        elseif texttable[3]==&quot;3&quot; then
        firstdigit=&quot;thirteen&quot;
        elseif texttable[3]==&quot;4&quot; then
        firstdigit=&quot;fourteen&quot;
        elseif texttable[3]==&quot;5&quot; then
        firstdigit=&quot;fifteen&quot;
        elseif texttable[3]==&quot;6&quot; then
        firstdigit=&quot;sixteen&quot;
        elseif texttable[3]==&quot;7&quot; then
        firstdigit=&quot;seventeen&quot;
        elseif texttable[3]==&quot;8&quot; then
        firstdigit=&quot;eighteen&quot;
        elseif texttable[3]==&quot;9&quot; then
        firstdigit=&quot;nineteen&quot;
        end
    end
    if texttable[2] &gt;&quot;1&quot; then
        spacer=&quot; &quot;    
        if texttable[2]==&quot;2&quot; then
        seconddigit=&quot;twenty&quot;
        elseif texttable[2]==&quot;3&quot; then
        seconddigit=&quot;thirty&quot;
        elseif texttable[2]==&quot;4&quot; then
        seconddigit=&quot;fourty&quot;
        elseif texttable[2]==&quot;5&quot; then
        seconddigit=&quot;fifty&quot;
        elseif texttable[2]==&quot;6&quot; then
        seconddigit=&quot;sixty&quot;
        elseif texttable[2]==&quot;7&quot; then
        seconddigit=&quot;seventy&quot;
        elseif texttable[2]==&quot;8&quot; then
        seconddigit=&quot;eighty&quot;
        elseif texttable[2]==&quot;9&quot; then
        seconddigit=&quot;ninety&quot;
        elseif texttable[2]==&quot;0&quot; then
        seconddigit=&quot;&quot;
        end
    end
return ((thirddigit) .. (space) .. (seconddigit) .. (spacer) .. (firstdigit))
end
end--of function

function conky_draw_text()
local updates=conky_parse(&#039;${updates}&#039;)
update_num=tonumber(updates)
if update_num &gt; 5 then
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
--set font, font size and color
cairo_select_font_face (cr, &quot;Sans&quot;, CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, 18);
cairo_set_source_rgba (cr, 1, 1, 1, 1);

cairo_move_to (cr, 100, 200);
dayname=string.lower(os.date(&quot;%A&quot;))
month=string.lower(os.date(&quot;%B&quot;))
--when using date_to_words you must add empty brackets after the function name
cairo_show_text (cr, &quot;today is &quot; .. (dayname) .. &quot; the &quot; .. (date_to_words()) .. &quot; of &quot; .. (month))

cairo_move_to (cr, 100, 240);
--when using time_to_words, enter &quot;y&quot; if you want seconds or &quot;n&quot; if you do not
cairo_show_text (cr, &quot;the time is &quot; .. (time_to_words(&quot;y&quot;)))

cairo_move_to (cr, 100, 280);
--when using number_to_words you muct put the number you want converted in brackets after the function name
cairo_show_text (cr,&quot;the central processing unit is running at &quot; .. (number_to_words(tonumber(conky_parse(&#039;${cpu}&#039;)))) .. &quot; percent capacity&quot;)

end
end</code></pre></div><p>combine with some simple circlewriting and:<br /><a href="http://omploader.org/vM3JhZA"><span class="postimg"><img src="http://omploader.org/tM3JhZA" alt="http://omploader.org/tM3JhZA" /></span></a></p>]]></description>
			<author><![CDATA[dummy@example.com (mrpeachy)]]></author>
			<pubDate>Sat, 06 Mar 2010 22:43:01 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57623/#p57623</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57489/#p57489</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<p>Herewith mine on my Ubuntu box, will be making some adjustments to the standard Conky in #! when I install this weekend</p><p><a href="http://img35.imageshack.us/my.php?image=conkya.jpg"><span class="postimg"><img src="http://img35.imageshack.us/img35/6818/conkya.th.jpg" alt="http://img35.imageshack.us/img35/6818/conkya.th.jpg" /></span></a></p><div class="quotebox"><blockquote><p># .conkyrc - Edited from various examples across the &#039;net<br /># with thanks to everyone in particular HypeEst &amp; Craig Watson</p><p># --- Window Layout &amp; Options --- #<br />own_window yes<br />own_window_transparent yes<br />own_window_type override<br />own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager<br />double_buffer yes<br />use_spacer none<br />use_xft yes<br />text_buffer_size 2048<br />alignment top_left<br />gap_x 10<br />gap_y 20</p><p># --- Colours, Sizes, Fonts &amp; Margins --- #<br />update_interval 3.0<br />minimum_size 210 5<br />maximum_size 215<br />stippled_borders 3<br />border_margin 9<br />border_width 10<br />default_color white</p><p># --- Text --- #<br />draw_outline no<br />draw_borders no<br />xftfont free sanes:size=8<br />xftalpha 0.8<br />uppercase no<br />draw_shades yes</p><p># --- Other --- #<br />total_run_times 0<br />cpu_avg_samples 2</p><br /><br /><p>TEXT</p><p>${font Zekton:size=9}${color C2E078}SYSTEM: ${hr 2}$color${font}<br />${color white}O.S: ${alignr 2}${font}Ubuntu ${sysname}<br />${color white}Kernel: ${alignr 2}${kernel}<br />${color white}Uptime: ${alignr 2}${uptime}<br />${color white}CPU 1: ${alignr 2}${cpu cpu0}%&nbsp; &nbsp;${cpubar cpu0 8,80}<br />${color white}CPU 2: ${alignr 2}${cpu cpu1}%&nbsp; &nbsp;${cpubar cpu1 8,80}<br />${color white}RAM: ${goto 100}$mem / $memmax ${alignr 2}$memperc%<br />${color white}Swap: ${goto 100}$swap / $swapmax ${alignr 2}$swapperc%<br />${color white}Root: ${goto 100}Used: ${fs_used /} / ${fs_size /} ${alignr 2}Free: ${fs_free_perc /}%<br />${color white}Thug: ${goto 100}Used: ${fs_used /home} / ${fs_size /home} ${alignr 2}Free: ${fs_free_perc /home}%<br />${color white}Battery: ${alignr 2} ${battery_percent BAT0}%<br />${color white}Temp:&nbsp; CPU: ${color white}${acpitemp}C ${alignr 2}HDD: ${execi 300 hddtemp /dev/sda | cut -b30-39}</p><p>${font Zekton:size=9}${color C2E078}PROCESSES: ${hr 2}$color${font}<br />${color C2E078}Name :${color} ${goto 145}PID${goto 210}CPU%${alignr 2}MEM%<br />${color white}${top name 1} ${goto 145}${top pid 1}${goto 210}${top cpu 1}${alignr 2}${top mem 1}<br />${color white}${top name 2} ${goto 145}${top pid 2}${goto 210}${top cpu 2}${alignr 2}${top mem 2}<br />${color white}${top name 3} ${goto 145}${top pid 3}${goto 210}${top cpu 3}${alignr 2}${top mem 3}<br />${color C2E078}Memory :${color}<br />${color white}${top_mem name 1} ${goto 145}${top_mem pid 1}${goto 210}${top_mem cpu 1}${alignr 2}${top_mem mem 1}<br />${color white}${top_mem name 2} ${goto 145}${top_mem pid 2}${goto 210}${top_mem cpu 2}${alignr 2}${top_mem mem 2}<br />${color white}${top_mem name 3} ${goto 145}${top_mem pid 3}${goto 210}${top_mem cpu 3}${alignr 2}${top_mem mem 3}</p><p>${font Zekton:size=9}${color C2E078}3G CARD: ${addr ppp0} ${hr 2}$color${font}<br />${font PizzaDude Bullets:size=20}S${font}${voffset -9}&nbsp; &nbsp;${goto 150}${font PizzaDude Bullets:size=20}M${font}${voffset -9}<br />${voffset 10}${color white}Today:$color${goto 70}${execi 300 vnstat | grep &quot;today&quot; | awk &#039;{print $2 $3}&#039;}${goto 150}${color white}Today:$color${alignr 2}${execi 300 vnstat | grep &quot;today&quot; | awk &#039;{print $5 $6}&#039;}$font <br />${color white}Week:$color${goto 70}${execi 300 vnstat -w | grep &quot;current week&quot; | awk &#039;{print $3 $4}&#039;}${goto 150}${color white}Week:$color${alignr 2}${execi 300 vnstat -w | grep &quot;current week&quot; | awk &#039;{print $6 $7}&#039;}$font<br />${color white}Month:$color${goto 70}${execi 300 vnstat -m | grep &quot;`date +&quot;%b &#039;%y&quot;`&quot; | awk &#039;{print $3 $4}&#039;}${goto 150}${color white}Month:$color${alignr 2}${execi 300 vnstat -m | grep &quot;`date +&quot;%b &#039;%y&quot;`&quot; | awk &#039;{print $6 $7}&#039;}$font</p><p>${font Zekton:size=9}${color C2E078}WEATHER: ${hr 2}$color${font}</p><p>${execpi 1800 conkyForecast --location=SFXX0023 --template=/home/thug/Conky/conkyForecast.template}</p></blockquote></div>]]></description>
			<author><![CDATA[dummy@example.com (Peace9r)]]></author>
			<pubDate>Fri, 05 Mar 2010 06:33:49 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57489/#p57489</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57457/#p57457</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<div class="quotebox"><cite>mrpeachy wrote:</cite><blockquote><p>@ wassm<br />i dont think there is a way.. the fix i thought i saw was really a trick to get a hr like line --- this is where i saw it<br /><a href="http://conky.linux-hardcore.com/?page_id=2962">http://conky.linux-hardcore.com/?page_id=2962</a></p></blockquote></div><br /><p>Here is workaround:<br /><a href="http://conky.linux-hardcore.com/?page_id=302">http://conky.linux-hardcore.com/?page_id=302</a></p><p>And this is my line:</p><div class="quotebox"><blockquote><p>${voffset 2}MAIL${voffset 3}${alignr 10}${cpubar cpu1 0,135}${voffset -7} ${font OpenSymbol:size=12}${font}</p></blockquote></div><p>Thanks</p>]]></description>
			<author><![CDATA[dummy@example.com (wassm.)]]></author>
			<pubDate>Thu, 04 Mar 2010 22:54:39 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57457/#p57457</guid>
		</item>
		<item>
			<title><![CDATA[Re: My Conky Config]]></title>
			<link>http://crunchbanglinux.org/forums/post/57455/#p57455</link>
<br />
<b>Warning</b>:  Missing argument 2 for parse_message(), called in /home/corenominal/www/crunchbanglinux.org/forums/extern.php on line 131 and defined in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>784</b><br />
<br />
<b>Notice</b>:  Undefined variable: hide_smilies in <b>/home/corenominal/www/crunchbanglinux.org/forums/include/parser.php</b> on line <b>820</b><br />
			<description><![CDATA[<div class="quotebox"><cite>mrpeachy wrote:</cite><blockquote><div class="quotebox"><cite>Digit wrote:</cite><blockquote><p>just a delayed after thought.</p><p>how about somehow having it remain in use in a faster piece of the computer.&nbsp; like if its in hd, put it in swap, if in swap put it in ram, if in ram, make it just run constantly in the processor.&nbsp; hehe.&nbsp; mount the stuff it needs to run, in ramfs for example, and reduce the resource/graphical overhead of the frames.</p></blockquote></div><p>the problem is more with the reporting of the cpu usage... a faster cycle rate on conky makes the reported cpu use more &quot;erratic&quot;<br />so at 1 second it might be..<br />12%......25%......28%......13%<br />but at 0,5 second cycle it would be<br />12%15%25%30%28%10%13%</p><p>thats what i meant by the jumpy....</p><p>i would need a way to record cpu usage at time a, then record cpu usage at time b.. then work out the difference between b and a<br />then have some way of having the frames &quot;progress&quot; from a to b rather than just jump from a to b.</p><p>might be possible in a lua script if conky cycle was set high say 4 times per second... then cpu could be recorded every second which would give you 3 frames to get from a to b (if you see what i mean) ...but then the animation would always be just slightly behind the actual cpu usage number...</p></blockquote></div><p>I think you should have a look to the code of the audio spectrum I <a href="http://ubuntuforums.org/showpost.php?p=8861782&amp;postcount=175">posted</a> on ubuntu forums : the peak bars have a smooth effect when moving (search peak_value in the code). It&#039;s what you&#039;re looking for if I understood you well. It works for decreasings values but it should be possible to use it for increasing values</p>]]></description>
			<author><![CDATA[dummy@example.com (wlourf)]]></author>
			<pubDate>Thu, 04 Mar 2010 22:36:33 +0000</pubDate>
			<guid>http://crunchbanglinux.org/forums/post/57455/#p57455</guid>
		</item>
	</channel>
</rss>
