You are not logged in.
im also trying to find out why the text for the temp mubers that you have over the weather icon look so rough
that bit of text looks rough when i try it too and with a few different fonts
but i cant see anything else that looks like it
Offline
Here's the resized code at 110x110 I think this looks good or...
Do I need thicker glasses? 8)
might have to tweak it some for the different icons, shouldn't be a problem with the way the weather's been changing lately
For the updated code see this post
Last edited by jst_joe (2014-01-21 15:12:57)
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
i see why, you had it inside the i=1,7 loop
so it was being drawn in the same place 7 times
was that how it was originally?
it may have been an ooops on my part lol
Offline
i see why, you had it inside the i=1,7 loop
![]()
so it was being drawn in the same place 7 times
was that how it was originally?
it may have been an ooops on my part lol
I'm lost
What line?
That might have been my oop's when I was trying to get the temp above the icon. 8o
EDIT
found it and fixed.
-- iweather.lua combind with gradrec.lua Have Fun! ;) ##################
--MAIN GTAB FUNCTION####################################################
--easy compound shape drawing with gradients by mrpeachy 8/13/12
require 'cairo'
function conky_main()
if conky_window == nil then return end
local cs = cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, conky_window.width, conky_window.height)
cr = cairo_create(cs)
local updates=tonumber(conky_parse('${updates}'))
if updates>5 then
end-- if updates>5
cairo_destroy(cr)
cairo_surface_destroy(cs)
cr=nil
return ""
end--end main function
function grec(gtab)--#################################################################################
local function color(col,alp)
return ((col / 0x10000) % 0x100) / 255, ((col / 0x100) % 0x100) / 255, (col % 0x100) / 255, alp
end
local function pt(px,py,prad,pdeg)
local ppo=(math.pi/180)*pdeg
local px1=px+prad*(math.sin(ppo))
local py1=py-prad*(math.cos(ppo))
return px1,py1
end
local function sub_draw(sdtab)
cdsx={}
cdsy={}
dr={}
limit=#sdtab
for i=1,limit do
local d=sdtab[i].d
if d=="start" then
table.insert(dr,"cairo_move_to(cr,"..tostring(sdtab[i].x)..","..tostring(sdtab[i].y)..");")
table.insert(cdsx,sdtab[i].x)
table.insert(cdsy,sdtab[i].y)
end
if d=="line" then
table.insert(dr,"cairo_line_to(cr,"..tostring(sdtab[i].x)..","..tostring(sdtab[i].y)..");")
table.insert(cdsx,sdtab[i].x)
table.insert(cdsy,sdtab[i].y)
end
if d=="rline" then
table.insert(dr,"cairo_rel_line_to(cr,"..tostring(sdtab[i].x)..","..tostring(sdtab[i].y)..");")
table.insert(cdsx,cdsx[i-1]+sdtab[i].x)
table.insert(cdsy,cdsy[i-1]+sdtab[i].y)
end
if d=="aline" then
--pt(px,py,prad,pdeg)
local alx,aly=pt(cdsx[i-1],cdsy[i-1],sdtab[i].l,sdtab[i].a)
table.insert(dr,"cairo_line_to(cr,"..tostring(alx)..","..tostring(aly)..");")
table.insert(cdsx,alx)
table.insert(cdsy,aly)
end
if d=="arc" then
local ang1=(math.pi/180)*((sdtab[i].a1)-90)
local ang2=(math.pi/180)*((sdtab[i].a2)-90)
local rad=sdtab[i].r
local x=sdtab[i].x
local y=sdtab[i].y
table.insert(dr,"cairo_arc(cr,"..tostring(x)..","..tostring(y)..","..tostring(rad)..","..tostring(ang1)..","..tostring(ang2)..");")
local ang2=(math.pi/180)*(sdtab[i].a2)
local ax=0+rad*(math.sin(ang2))
local ay=0-rad*(math.cos(ang2))
table.insert(cdsx,x+ax)
table.insert(cdsy,y+ay)
end
if d=="arc_c" then
local q=sdtab[i].q
local rad=sdtab[i].r
if q==4 then
ang1=(math.pi/180)*(270-90)
x=cdsx[i-1]+rad
y=cdsy[i-1]
elseif q==1 then
ang1=(math.pi/180)*(360-90)
x=cdsx[i-1]
y=cdsy[i-1]+rad
elseif q==2 then
ang1=(math.pi/180)*(90-90)
x=cdsx[i-1]-rad
y=cdsy[i-1]
elseif q==3 then
ang1=(math.pi/180)*(180-90)
x=cdsx[i-1]
y=cdsy[i-1]-rad
end
local ang2=ang1+((math.pi/180)*(sdtab[i].degs))
table.insert(dr,"cairo_arc(cr,"..tostring(x)..","..tostring(y)..","..tostring(rad)..","..tostring(ang1)..","..tostring(ang2)..");")
local ang2=ang2+((math.pi/180)*90)
local ax=0+rad*(math.sin(ang2))
local ay=0-rad*(math.cos(ang2))
table.insert(cdsx,x+ax)
table.insert(cdsy,y+ay)
end
if d=="arc_a" then
local q=sdtab[i].q
local rad=sdtab[i].r
if q==4 then
ang1=(math.pi/180)*(360-90)
x=cdsx[i-1]
y=cdsy[i-1]+rad
elseif q==1 then
ang1=(math.pi/180)*(90-90)
x=cdsx[i-1]-rad
y=cdsy[i-1]
elseif q==2 then
ang1=(math.pi/180)*(180-90)
x=cdsx[i-1]
y=cdsy[i-1]-rad
elseif q==3 then
ang1=(math.pi/180)*(270-90)
x=cdsx[i-1]+rad
y=cdsy[i-1]
end
local ang2=ang1-(math.pi/180)*(sdtab[i].degs)
table.insert(dr,"cairo_arc_negative(cr,"..tostring(x)..","..tostring(y)..","..tostring(rad)..","..tostring(ang1)..","..tostring(ang2)..");")
local ang2=ang2+((math.pi/180)*90)
local ax=0+rad*(math.sin(ang2))
local ay=0-rad*(math.cos(ang2))
table.insert(cdsx,x+ax)
table.insert(cdsy,y+ay)
end
end
return table.concat(dr)
end--of local function sub_draw
local g=gtab.g or 1
local x=gtab.x or 0
local y=gtab.y or 0
local w=gtab.w or 50
local h=gtab.h or 50
local r=gtab.r or 50
local rgx=gtab.rgx or x
local rgy=gtab.rgy or y
local grad=gtab.grad or {{c=0xffffff}}
local gan=gtab.gan or 45
local lw=gtab.lw or 1
local sub=gtab.sub or 0
local db=gtab.db or 0
local subtab=gtab.subtab
if db==1 and g~=6 then
cairo_set_source_rgba (cr,1,1,1,1)
cairo_set_line_width (cr,1)
cairo_rectangle (cr,x,y,w,h)
cairo_stroke (cr)
elseif db==1 and g==6 then
cairo_set_source_rgba (cr,1,1,1,1)
cairo_set_line_width (cr,1)
cairo_arc (cr,x,y,r,0,2*math.pi)
cairo_stroke (cr)
end
--##########################################
if g==1 or g==2 or g==5 or g==6 then --rectangular gradients
if g==1 then
pat = cairo_pattern_create_linear (0,y,0,y+h);
elseif g==2 then
pat = cairo_pattern_create_linear (x,0,x+w,0);
elseif g==5 then
--calculate hypotenuse across middle of rectange
local hyp=math.sqrt((w^2)+(h^2))
local rad=hyp/2
--center point of rectangle
local crx=x+(w/2)
local cry=y+(h/2)
--calculate point 1
local point=(math.pi/180)*gan
local x1=crx+rad*(math.sin(point))
local y1=cry-rad*(math.cos(point))
--calculate point 2
local point=(math.pi/180)*(gan+180)
local x2=crx+rad*(math.sin(point))
local y2=cry-rad*(math.cos(point))
--gradient
pat = cairo_pattern_create_linear (x1,y1,x2,y2);
elseif g==6 then
pat = cairo_pattern_create_radial (rgx, rgy, 0, x, y, r);
end
local gnum=#grad
for i=1,gnum do
cairo_pattern_add_color_stop_rgba (pat,grad[i].p,color(grad[i].c,grad[i].a));
end--for loop
if sub==1 then
cairo_save (cr)
cairo_clip(cr)
cairo_new_sub_path(cr)
local drawstring=sub_draw(subtab)
loadstring(drawstring)()
cairo_restore (cr)
end
cairo_set_source (cr, pat);
cairo_fill(cr);
cairo_pattern_destroy (pat);
--###########################################
elseif g==0 and sub==1 then --non gradient
local drawstring=sub_draw(subtab)
loadstring(drawstring)()
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_fill(cr)
elseif g==3 and sub==1 then
local drawstring=sub_draw(subtab)
loadstring(drawstring)()
cairo_set_line_width(cr,lw)
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_close_path (cr)
cairo_stroke(cr);
elseif g==4 and sub==1 then
local drawstring=sub_draw(subtab)
loadstring(drawstring)()
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_fill_preserve(cr);
cairo_set_line_width(cr,lw)
cairo_set_source_rgba (cr,color(grad[2].c,grad[2].a));
cairo_close_path (cr)
cairo_stroke(cr);
elseif g==0 and sub~=1 then
cairo_rectangle (cr,x,y,w,h)
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_fill(cr);
elseif g==3 and sub~=1 then
cairo_rectangle (cr,x,y,w,h)
cairo_set_line_width(cr,lw)
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_close_path (cr)
cairo_stroke(cr);
elseif g==4 and sub~=1 then
cairo_rectangle (cr,x,y,w,h)
cairo_set_source_rgba (cr,color(grad[1].c,grad[1].a));
cairo_fill_preserve(cr);
cairo_set_line_width(cr,lw)
cairo_set_source_rgba (cr,color(grad[2].c,grad[2].a));
cairo_close_path (cr)
cairo_stroke(cr);
--radial gradients
elseif g==6 then
pat = cairo_pattern_create_radial (cx, cy, crad-(clw/2)-2,--
cx, cy, crad+(clw/2)+4);
cairo_pattern_add_color_stop_rgba (pat, 0, 0, 0, 0, 1);
cairo_pattern_add_color_stop_rgba (pat, 0.5, 0, 0, 0, 0);
cairo_pattern_add_color_stop_rgba (pat, 1, 0, 0, 0, 1);
cairo_set_source (cr, pat);
cairo_arc (cr, cx, cy, crad+(clw/2), 0, 2*math.pi);
cairo_fill (cr);
cairo_pattern_destroy (pat);
end--of g type
end--of function grec
--END MAIN GTAB FUNCTION################################################--]]
--GRADREC FUNCTION--GRADREC FUNCTION--GRADREC FUNCTION--GRADREC FUNCTION-
function glassybox(tlx,tly,cra,sw,sh)
sho=sh
sw=sw-cra-cra
sh=sh-cra-cra
--BIG FILLED IN RECTANGLE
subtab={
{d="start",x=tlx+cra,y=tly},
{d="rline",x=sw,y=0},
{d="arc_c",q=1,r=cra,degs=90},
{d="rline",x=0,y=sh},
{d="arc_c",q=2,r=cra,degs=90},
{d="rline",x=-sw,y=0},
{d="arc_c",q=3,r=cra,degs=90},
{d="rline",x=0,y=-sh},
{d="arc_c",q=4,r=cra,degs=90},
}
grec({
g=1,
x=tlx,
y=tly,
w=sw+cra+cra,
h=sh+cra+cra,
grad={{c=0xffffff,a=0.1,p=0},{c=0xffffff,a=0.0,p=1}},
lw=1,
sub=1,
db=0,
subtab=subtab})
--HIGHLIGHT TOP RECTANGLE
shh=((80/150)*sho)-cra-cra
subtab={
{d="start",x=tlx+cra,y=tly},
{d="rline",x=sw,y=0},
{d="arc_c",q=1,r=cra,degs=90},
{d="rline",x=0,y=shh},
{d="arc_c",q=2,r=cra,degs=90},
{d="rline",x=-sw,y=0},
{d="arc_c",q=3,r=cra,degs=90},
{d="rline",x=0,y=-shh},
{d="arc_c",q=4,r=cra,degs=90},
}
grec({
g=1,
x=tlx,
y=tly,
w=sw+cra+cra,
h=shh+cra+cra,
grad={{c=0xffffff,a=0.5,p=0},{c=0xffffff,a=0.01,p=1}},
lw=1,
sub=1,
db=0,
subtab=subtab})--]]
--OUTLINE
lt=1 --BOARDER WIDTH
tlx,tly=tlx-lt,tly-lt
cra1=cra+lt
subtab={
{d="start",x=tlx+cra1,y=tly},
{d="rline",x=sw,y=0},
{d="arc_c",q=1,r=cra1,degs=90},
{d="rline",x=0,y=sh},
{d="arc_c",q=2,r=cra1,degs=90},
{d="rline",x=-sw,y=0},
{d="arc_c",q=3,r=cra1,degs=90},
{d="rline",x=0,y=-sh},
{d="arc_c",q=4,r=cra1,degs=90},
{d="rline",x=sw,y=0},
{d="rline",x=0,y=lt},
{d="rline",x=-sw,y=0},
{d="arc_a",q=4,r=cra,degs=90},
{d="rline",x=0,y=sh},
{d="arc_a",q=3,r=cra,degs=90},
{d="rline",x=sw,y=0},
{d="arc_a",q=2,r=cra,degs=90},
{d="rline",x=0,y=-sh},
{d="arc_a",q=1,r=cra,degs=90},
{d="rline",x=-sw,y=0},
}
grec({
g=1,
x=tlx,
y=tly,
w=sw+cra+cra,
h=sh+cra+cra,
grad={{c=0xffffff,a=1,p=0},{c=0x505050,a=1,p=0.7}},
lw=1,
sub=1,
db=0,
subtab=subtab})
end
--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION-
_G.weather_script = function(update,time,now,text_forecast,day,hour)--#### DO NOT EDIT THIS LINE ##############
--[#######################################################################
--these tables hold the coordinates for each repeat do not edit #########
top_left_x_coordinate={}--###############################################
top_left_y_coordinate={}--###############################################
--#######################################################################
--SET DEFAULTS ##########################################################
--set defaults do not localise these defaults if you use a seperate display script
default_font="Liberation Sans"--font must be in quotes
default_font_size=11
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
--END OF DEFAULTS #######################################################
--#######################################################################
--START OF BUTTON CODE -- START OF BUTTON CODE -- START OF BUTTON CODE
--########################################################################################
function button_settings()
dh=do_button({blx_on=9,blx_off=9,bly_off=166+240,fs_off={"14"},fs_on={"14"},fxadj_off={10},fxadj_on={15},fyadj_off={-6},fyadj_on={-6},text=1,font_off={"Liberation Sans"},font_on={"Liberation Sans"},txt_on={"DAYS"},txt_off={"HOURS"},fcol_off={0xffffff},fcol_on={0xffffff},dolw_on=2,dolw_off=2,docol_off=0xff0000,doal_off=0,docol_on=0xff0000,doal_on=0,dtype_off=3,dfal_on=1.0,dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,dfcr_off=10,dfcr_on=10,btype=1,bname="dayhour",bw_off=70,bh_off=23,draw=1,on_on_on={"current"},on_on_off={"mlh","current"},off_on_off={"mlh","day1","day2","day3","day4","day5","day6","day7","day8","day9","day10"},off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","day10","mlh"}})
if dh==1 then
hm=do_button({blx_on=296.5,fs_off={"14"},fs_on={"14"},fxadj_off={15},fxadj_on={17},fyadj_off={-6},fyadj_on={-6},text=1,font_off={"Liberation Sans"},font_on={"Liberation Sans"},txt_on={"LESS"},txt_off={"MORE"},fcol_off={0xffffff},fcol_on={0xffffff},dolw_on=2,dolw_off=2,docol_off=0xff0000,doal_off=0,docol_on=0xff0000,doal_on=0,dtype_off=3,dfal_on=1.0,dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,dfcr_off=10,dfcr_on=10,btype=1,bname="mlh",blx_off=296.5,bly_off=166+240,bw_off=70,bh_off=23,draw=1})
else
hm=0
end
local b1=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day1",blx_off=9.5,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day2","day3","day4","day5","day6","day7","day8","day9","day10","current"}})
local b2=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day2",blx_off=81.5,bly_off=166,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day3","day4","day5","day6","day7","day8","day9","day10","current"}})
local b3=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day3",blx_off=153,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day4","day5","day6","day7","day8","day9","day10","current"}})
local b4=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day4",blx_off=225,bly_off=166,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day5","day6","day7","day8","day9","day10","current"}})
local b5=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day5",blx_off=296.5,bly_off=166,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day6","day7","day8","day9","day10","current"}})
local b6=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day6",blx_off=9.5,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day7","day8","day9","day10","current"}})
local b7=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day7",blx_off=81.5,bly_off=166+120,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day8","day9","day10","current"}})
local b8=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day8",blx_off=153,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day9","day10","current"}})
local b9=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day9",blx_off=225,bly_off=166+120,bw_off=69.5,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day10","current"}})
local b10=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,btype=1,dfcr_off=10,dfcr_on=10,bname="day10",blx_off=296.5,bly_off=166+120,bw_off=70,bh_off=23,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","current"}})
local bc=do_button({dfcol_on=0x0000ff,dfcol_off=0x000000,dfal_off=0.25,st_type=1,btype=1,dfcr_off=10,dfcr_on=10,bname="current",blx_off=264,bly_off=134.5,bw_off=23,bh_off=105,draw=1, off_on_on={"day1","day2","day3","day4","day5","day6","day7","day8","day9","day10"}})
if hm==1 then add=10 elseif hm==0 then add=0 end
if b1==1 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=1+add
elseif b1==0 and b2==1 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=2+add
elseif b1==0 and b2==0 and b3==1 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=3+add
elseif b1==0 and b2==0 and b3==0 and b4==1 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=4+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==1 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=5+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==1 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=6+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==1 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=7+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==1 and b9==0 and b10==0 and bc==0 then
showday=8+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==1 and b10==0 and bc==0 then
showday=9+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==1 and bc==0 then
showday=10+add
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==1 then
showday=0
elseif b1==0 and b2==0 and b3==0 and b4==0 and b5==0 and b6==0 and b7==0 and b8==0 and b9==0 and b10==0 and bc==0 then
showday=0
end
end--function button_settings
--########################################################################################
--END OF BUTTON CODE ----END OF BUTTON CODE ----END OF BUTTON CODE ---
--######################################################################
--START OF WEATHER CODE - START OF WEATHER CODE - START OF WEATHER CODE-
--######################################################################
--START GRADREC DISPLAY ################################################
--MAIN BOX #############################################################
tlx=2--top left x
tly=5--top left y
cra=10--corner radius
sw=370--total width, including corners
sh=410--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--CURRENT BUTTON #######################################################
tlx=264--top left x
tly=30--top left y
cra=10--corner radius
sw=23--total width, including corners
sh=105--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--FIRST ROW BUTTONS ####################################################
--BUTTON 1 #############################################################
tlx=10--top left x
tly=143--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 2 #############################################################
tlx=82--top left x
tly=143--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 3 #############################################################
tlx=154--top left x
tly=143--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 4 #############################################################
tlx=226--top left x
tly=143--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 5 #############################################################
tlx=298--top left x
tly=143--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--SECOND ROW BUTTONS ###################################################
--BUTTON 1 #############################################################
tlx=10--top left x
tly=263--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 2 #############################################################
tlx=82--top left x
tly=263--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 3 #############################################################
tlx=154--top left x
tly=263--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 4 #############################################################
tlx=226--top left x
tly=263--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--BUTTON 5 #############################################################
tlx=298--top left x
tly=263--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--D/H BUTTON ###########################################################
tlx=10--top left x
tly=383--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--M/L BUTTON ###########################################################
tlx=297--top left x
tly=383--top left y
cra=10--corner radius
sw=69--total width, including corners
sh=23--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--INDICATOR DOT WINDOW #################################################
tlx=166--top left x
tly=388--top left y
cra=8--corner radius
sw=46--total width, including corners
sh=15--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--[[ NOTE: Set wun_config.lua to
indicator_x=174,--center of first indicator
indicator_y=395,--center of first indicator
indicator_r=5,--radius of indicator dot
indicator_gap=15,--gap between center of dots
END NOTE --]]
--END GRADREC DISPLAY ##############################################--]]
--image({x=-7,y=-5,w=390,h=293*(620/421),file="/home/joe/wun/additional_files/iweather_bg.png"})
--current window
image({x=290,y=25,h=110,w=110,file=now.weather_icon})
out({a=1,fs=15,x=15,y=25,txt="Conditions For "..now.location_full.." "..now.location_zip})
out({a=1,fs=15,x=295,y=25,txt=os.date("%I:%M %p")})
ct={"C","U","R","R","E","N","T"}
local x=310
local y=100
local offset=5
out({a=0.6,fs=24,face="bold",c=0x000000,x=x+offset,y=y+offset,txt=now.temp_imperial..now.temp_imperial_unit})
out({a=1,fs=24,face="bold",c=0xffffff,x=x,y=y,txt=now.temp_imperial..now.temp_imperial_unit})
for i=1,7 do
out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]})
end
--DATA WINDOW
if showday==nil then showday=0 end
if dh==0 and showday>0 then
local sd=tonumber(showday)
out({a=1,fs=14,x=15,y=43,txt=day[sd].weekday.." "..day[sd].monthname.." "..day[sd].day_pad})
out({a=1,fs=18,x=15,y=65,txt=day[sd].conditions})
gap=13
ypos=67+gap
out({a=1,fs=14,x=15,y=ypos,txt="High: "..day[sd].high_imperial..day[sd].high_imperial_unit})
out({a=1,fs=14,x=90,y=ypos,txt="Low: "..day[sd].low_imperial..day[sd].low_imperial_unit})
out({a=1,fs=14,x=165,y=ypos,txt="Hum: "..day[sd].avehumidity.."%"})
ypos=ypos+gap
out({a=1,fs=14,x=15,y=ypos,txt="Rain: "..day[sd].precipitation.."%"})
ypos=ypos+gap
out({a=1,fs=14,x=15,y=ypos,txt="Ave Wind: "..day[sd].avewind_imperial..day[sd].avewind_imperial_unit})
out({a=1,fs=14,x=165,y=ypos,txt=day[sd].avewind_dir})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Max Wind: "..day[sd].maxwind_imperial..day[sd].maxwind_imperial_unit})
out({a=1,fs=14,x=165,y=ypos,txt=day[sd].maxwind_dir})
image({x=220,y=ypos-25,h=30,w=30,file=day[sd].avewind_icon})
elseif dh==1 and showday>0 then
local sd=tonumber(showday)
out({a=1,fs=14,x=15,y=43,txt=hour[sd].hour_12..hour[sd].ampm.." "..hour[sd].weekday.." "..hour[sd].monthname.." "..hour[sd].day})
out({a=1,fs=18,x=15,y=65,txt=hour[sd].conditions})
gap=13
ypos=67+gap
out({a=1,fs=12,x=15,y=ypos,txt="Temp: "..hour[sd].temp_imperial..hour[sd].temp_imperial_unit})
out({a=1,fs=12,x=90,y=ypos,txt="Feels Like: "..hour[sd].feelslike_imperial..hour[sd].feelslike_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Dew: "..hour[sd].dewpoint_imperial..hour[sd].dewpoint_imperial_unit})
out({a=1,fs=12,x=90,y=ypos,txt="Chill: "..hour[sd].windchill_imperial..hour[sd].windchill_imperial_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Heat: "..hour[sd].heatindex_imperial..hour[sd].heatindex_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Rain: "..hour[sd].precipitation.."%"})
out({a=1,fs=12,x=90,y=ypos,txt="QPF: "..hour[sd].rain_imperial..hour[sd].rain_imperial_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Snow: "..hour[sd].snow_imperial..hour[sd].snow_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="UV: "..hour[sd].uvi.."/"..hour[sd].uvi_text})
out({a=1,fs=12,x=115,y=ypos,txt="Bar: "..hour[sd].pressure_imperial..hour[sd].pressure_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Wind: "..hour[sd].wind_imperial..hour[sd].wind_imperial_unit})
out({a=1,fs=12,x=115,y=ypos,txt=hour[sd].wind_degrees.."°"})
out({a=1,fs=12,x=165,y=ypos,txt=hour[sd].wind_dir})
image({x=220,y=ypos-25,h=30,w=30,file=hour[sd].wind_icon})
elseif showday==0 then
out({a=1,fs=12,x=15,y=43,txt=now.observation_time})
out({a=1,fs=18,x=15,y=65,txt=now.conditions})
gap=13
ypos=67+gap
out({a=1,fs=12,x=15,y=ypos,txt="Temp: "..now.temp_imperial..now.temp_imperial_unit})
out({a=1,fs=12,x=165,y=ypos,txt="Feels: "..now.feelslike_imperial..now.feelslike_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Hum: "..now.humidity.."%"})
out({a=1,fs=12,x=165,y=ypos,txt="Dew: "..now.dewpoint_imperial..now.dewpoint_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=165,y=ypos,txt="Vis: "..now.visibility_imperial..now.visibility_imperial_unit})
out({a=1,fs=12,x=15,y=ypos,txt="Bar: "..now.pressure_imperial..now.pressure_imperial_unit})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Wind: "..now.wind_imperial..now.wind_imperial_unit})
out({a=1,fs=12,x=165,y=ypos,txt=now.wind_dir})
ypos=ypos+gap
out({a=1,fs=12,x=15,y=ypos,txt="Gusts: "..now.wind_gust_imperial..now.wind_gust_imperial_unit})
image({x=220,y=ypos-25,h=30,w=30,file=now.wind_icon})
else
out({a=1,fs=18,x=15,y=50,txt="oops!"})
end
--FORECAST DAY BOXES
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=5
topx=20
py=160
--set coordinates for top lef corners for each repeat
top_left_x_coordinate[1],top_left_y_coordinate[1] =topx ,py
top_left_x_coordinate[2],top_left_y_coordinate[2] =topx+70 ,py
top_left_x_coordinate[3],top_left_y_coordinate[3] =topx+70+71.5 ,py
top_left_x_coordinate[4],top_left_y_coordinate[4] =topx+70+72+71.5 ,py
top_left_x_coordinate[5],top_left_y_coordinate[5] =topx+70+72+71.5+71.5 ,py
top_left_x_coordinate[6],top_left_y_coordinate[6] =topx+70+72+71.5+71.5+71.5 ,py
if dh==0 then
--########################################################################################
for i=start_day,number_of_days do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
--top row
out({a=1,fs=12,x=tlx-2,y=tly-1,txt=day[i].weekday_short.." "..day[i].month_pad.."/"..day[i].day_pad})
image({x=tlx,y=tly+10,h=50,w=50,file=day[i].weather_icon})
out({a=1,fs=12,x=tlx-5,y=tly+91,txt=day[i].high_imperial..day[i].high_imperial_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=day[i].low_imperial..day[i].low_imperial_unit})
out({a=1,fs=14,x=tlx+15,y=tly+73,txt=day[i].precipitation.."%"})
tly=tly+120
--bottom row
out({a=1,fs=12,x=tlx-3,y=tly-1,txt=day[i+5].weekday_short.." "..day[i+5].month_pad.."/"..day[i+5].day_pad})
image({x=tlx,y=tly+10,h=50,w=50,file=day[i+5].weather_icon})
out({a=1,fs=12,x=tlx-5,y=tly+91,txt=day[i+5].high_imperial..day[i+5].high_imperial_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=day[i+5].low_imperial..day[i+5].low_imperial_unit})
out({a=1,fs=14,x=tlx+15,y=tly+73,txt=day[i+5].precipitation.."%"})
--########################################################################################
end--of forecast repeat section ##########################################################
elseif dh==1 then
--########################################################################################
for i=start_day,number_of_days do --start of day repeat, do not edit #######
tlx=top_left_x_coordinate[i] --sets top left x position for each repeat ##################
tly=top_left_y_coordinate[i] --sets top left y position for each repeat ##################
--########################################################################################
i=i+add
--top row
out({a=1,fs=11,x=tlx-1,y=tly,txt=hour[i].hour_12..hour[i].ampm.." "..hour[i].month_pad.."/"..hour[i].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=hour[i].weather_icon})
out({a=1,fs=12,x=tlx-5,y=tly+91,txt=hour[i].temp_imperial..hour[i].temp_imperial_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=hour[i].windchill_imperial..hour[i].windchill_imperial_unit})
out({a=1,fs=14,x=tlx+15,y=tly+73,txt=hour[i].precipitation.."%"})
tly=tly+120
out({a=1,fs=11,x=tlx-1,y=tly,txt=hour[i+5].hour_12..hour[i+5].ampm.." "..hour[i+5].month_pad.."/"..hour[i+5].day_pad})
image({x=tlx,y=tly+10,h=45,w=45,file=hour[i+5].weather_icon})
out({a=1,fs=12,x=tlx-5,y=tly+91,txt=hour[i+5].temp_imperial..hour[i+5].temp_imperial_unit})
out({a=1,fs=12,x=tlx+30,y=tly+91,txt=hour[i+5].windchill_imperial..hour[i+5].windchill_imperial_unit})
out({a=1,fs=14,x=tlx+15,y=tly+73,txt=hour[i+5].precipitation.."%"})
--########################################################################################
end--of forecast repeat section ##########################################################
end--if dh
--########################################################################################
--END OF WEATHER CODE -- END OF WEATHER CODE -- END OF WEATHER CODE --]]
--########################################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################
Last edited by jst_joe (2014-01-21 16:21:00)
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
from line 529
for i=1,7 do
out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]})
out({a=1,fs=18,c=0x000000,x=330,y=110,txt=now.temp_imperial..now.temp_imperial_unit})
end
needs to be
for i=1,7 do
out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]})
end
out({a=1,fs=18,c=0x000000,x=330,y=110,txt=now.temp_imperial..now.temp_imperial_unit})
Offline
from line 529
for i=1,7 do out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]}) out({a=1,fs=18,c=0x000000,x=330,y=110,txt=now.temp_imperial..now.temp_imperial_unit}) end
needs to be
for i=1,7 do out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]}) end out({a=1,fs=18,c=0x000000,x=330,y=110,txt=now.temp_imperial..now.temp_imperial_unit})
OK
I did it this way in my new code
--current window
image({x=295,y=30,h=110,w=110,file=now.weather_icon})
out({a=1,fs=15,x=15,y=25,txt="Conditions For "..now.location_full.." "..now.location_zip})
out({a=1,fs=15,x=295,y=25,txt=os.date("%I:%M %p")})
ct={"C","U","R","R","E","N","T"}
out({a=1,fs=18,c=0x000000,x=330,y=110,txt=now.temp_imperial..now.temp_imperial_unit})
for i=1,7 do
out({hj="c",a=1,fs=14,x=275,y=47+(13*(i-1)),txt=ct[i]})
end
seems to be the same results
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
seems to be the same results
you dont think it looks thinner and smoother than before?
made a big difference for me!
...if you want to get fancy with your text over icon look
how about this
local x=310
local y=100
local offset=5
out({a=0.6,fs=24,face="bold",c=0x000000,x=x+offset,y=y+offset,txt=now.temp_imperial..now.temp_imperial_unit})
out({a=1,fs=24,c=0xffffff,x=x,y=y,txt=now.temp_imperial..now.temp_imperial_unit})
Last edited by mrpeachy (2014-01-21 02:43:00)
Offline
jst_joe wrote:seems to be the same results
you dont think it looks thinner and smoother than before?
made a big difference for me!...if you want to get fancy with your text over icon look
how about this
http://s23.postimg.org/89f3o0787/Screenshot_from_2014_01_20_20_30_15.jpglocal x=310 local y=100 local offset=5 out({a=0.6,fs=24,face="bold",c=0x000000,x=x+offset,y=y+offset,txt=now.temp_imperial..now.temp_imperial_unit}) out({a=1,fs=24,c=0xffffff,x=x,y=y,txt=now.temp_imperial..now.temp_imperial_unit})
Oh hell yes!
I really need to read that fine print closer
I'll update the code above, Thanks!
Last edited by jst_joe (2014-01-21 03:30:26)
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Offline
WOW!!! Shut down early at night and all hell breaks loose here.
I tested BOTH interactive conkys here - and happy to report: Both work as advertised!!!!
I have a "Sector11 can break anything" suggestion ... I was thinking, "if I wasn't testing these, just downloaded for the first time ... (jed started it): Indicators. Where are they?
The wunrci conky file comes with jst_joe's settings but didn't say "¿where?" ... I changed that to:
~/wun/conky_configs/wunrci
####################################################
# INDICATOR SETTINGS FOUND IN ~/wun/wun_config.lua
# near the bottom - ALL RED = Developer Mode
#
#lua_load /home/sector11/wun/templates/iweather.lua
lua_load /home/sector11/wun/templates/iweather_joe.lua
####################################################
then in ~/wun/wun_config.lua
--[[ INDICATOR SETTINGS
set script status settings- indicator consists of 3 dots side by side
ALL RED - see line 15 - you are in Developer Mode using old data.
1st is update indicator,
green when script is running,
turns yellow when script is updating
2nd weather data indicator:
green if using current data,
yellow if using backup data once
red if using backup data more than once
3rd same as weather data but for astronomy data
--]]
--[ [ iweather.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1, --set 1 for on, 0 for off
indicator_x=15, --center of first indicator
indicator_y=10, --center of first indicator
indicator_r=5, --radius of indicator dot
indicator_gap=15, --gap between center of dots
--]]
--[[ iweather_joe.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1, --set 1 for on, 0 for off
indicator_x=174, --center of first indicator
indicator_y=395, --center of first indicator
indicator_r=5, --radius of indicator dot
indicator_gap=15, --gap between center of dots
--]]
--[[SET USER TEXT
mrpeachy you have a " {) {) {) {) {) " (#! doesn't have stars) script going here!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
thought i would tinker with templates
started with falldown, then via joe then via me
http://s30.postimg.org/4ra104al9/Screenshot_from_2014_01_21_00_49_53.jpg
i fear i may have gone too far! ]:D
Oooh! I like that
How did you turn off the gradient on the boxes but not the buttons?
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
The wunrci conky file comes with jst_joe's settings but didn't say "¿where?"
I added a note below the indicator button settings in the updated code here
EDIT: to add
That code has the new oval buttons also
Last edited by jst_joe (2014-01-21 15:33:13)
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
Sector11 wrote:The wunrci conky file comes with jst_joe's settings but didn't say "¿where?"
I added a note below the indicator button settings in the updated code here
EDIT: to add
That code has the new oval buttons also
I think we are we talking apples and oranges here. 8)
Or did I miss the boat? :8 Or did you miss the boat? :8 :8
I'm talking "Indicator LEDs" ... that might be the confusion ... they are found in wun_config.lua.
What a seamstress calls buttons, mrpeachy called LEDs and a plumber would say lead.
Of course if I missed the boat I have an excuse - I fly everywhere.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
you guys with that invisible lua stuff - mad ... MAD I tell you M A D!!!!!!!!!!!
But in a very good way!
Last edited by Sector11 (2014-01-21 15:54:43)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
I'm talking "Indicator LEDs" ... that might be the confusion ... they are found in wun_config.lua.
What a seamstress calls buttons, mrpeachy called LEDs and a plumber would say lead.
Of course if I missed the boat I have an excuse - I fly everywhere.
I guess I should've called it an indicator window, so maybe we booth missed the plane
this is from the code above
--INDICATOR DOT BUTTON #################################################
tlx=166--top left x
tly=388--top left y
cra=8--corner radius
sw=46--total width, including corners
sh=15--total height including corners
glassybox(tlx,tly,cra,sw,sh)--calls function and sends variables
--[[ NOTE: Set wun_config.lua to
indicator_x=174,--center of first indicator
indicator_y=395,--center of first indicator
indicator_r=5,--radius of indicator dot
indicator_gap=15,--gap between center of dots
END NOTE --]]
EDIT: to add
I just changed the code in the link to "--INDICATOR DOT WINDOW" just to clear up any confusion
It's a good idea to have that note in wunrci also
Last edited by jst_joe (2014-01-21 16:31:38)
A person who has a cat by the tail knows a whole lot more about cats than someone who has just read about them.
Mark Twain
Offline
I guess I should've called it an indicator window, so maybe we booth missed the plane
![]()
![]()
![]()
this is from the code above
↑ it's over there!
Ahhh ... the old Indicator Dot Button Trick! ← :8 →
↓ I think!, I confuse easily!
OK now that we have that cleared up .... next!
Last edited by Sector11 (2014-01-21 16:34:47)
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
ill think about adding some additional text that describes the indicator dots, best place for this would be the read_me i think
Offline
I think I might make an all lua template.. although I tend to tailspin out of control when I start using Peachy's draw script.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
im putting the finishes touches on falldowns glassy template
had a few paths that neede changing and a few data options to update, and some descriptions on changing icon paths
im also running into the problem of having too much text for the box, so ill try and think of a way to solve that
otherwise everything looks fabulous
the icons alone were definitely worth the wait
Last edited by mrpeachy (2014-01-21 20:23:40)
Offline
Thats really strange Peachy about the text wrap data.. I am only getting 3 lines of text at most. I was worried that I didn't allow enough room for more text. I do have a solution, I will add a day/night button.. allowing only one to be displayed at a time.
And perhaps the now.observation_time should be placed at the bottom of the main display window
Last edited by falldown (2014-01-21 20:32:31)
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
i must get more weather than you!
i was thinking of having the display being conditional on the number of lines
if it can fit the day and night then it does, if it cant then it is one or the other
Offline
i must get more weather than you!
Yea.. the weather here is usually pretty uneventful.
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
ill think about adding some additional text that describes the indicator dots, best place for this would be the read_me i think
Well I'm running all four static templates on Desktop 1 by:
1 - naming the conkys to match the template used:
- - - /media/5/Conky/wun/conky_configs/astroweather.conky
- - - /media/5/Conky/wun/conky_configs/classic10day.conky
- - - /media/5/Conky/wun/conky_configs/s11template.conky
- - - /media/5/Conky/wun/conky_configs/wun_glassy_side_bar.conky
2 - using the method mentioned before in: /media/5/Conky/wun/wun_config.lua
--[[ INDICATOR SETTINGS
set script status settings- indicator consists of 3 dots side by side
ALL RED - see line 15 - you are in Developer Mode using old data.
1st is update indicator,
green when script is running,
turns yellow when script is updating
2nd weather data indicator:
green if using current data,
yellow if using backup data once
red if using backup data more than once
3rd same as weather data but for astronomy data
--]]
-- x = l|r y = u|d
--[ [ wun_glassy_side_bar.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1,--set 1 for on, 0 for off
indicator_x=60,--center of first indicator
indicator_y=10,--center of first indicator
indicator_r=3,--radius of indicator dot
indicator_gap=10,--gap between center of dots
--]]
--[[ Classic10day.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1,--set 1 for on, 0 for off
indicator_x=225,--center of first indicator
indicator_y=330,--center of first indicator
indicator_r=5,--radius of indicator dot
indicator_gap=15,--gap between center of dots
--]]
--[[ astroweather.lua - s11template.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1, --set 1 for on, 0 for off
indicator_x=15, --center of first indicator
indicator_y=10, --center of first indicator
indicator_r=5, --radius of indicator dot
indicator_gap=15, --gap between center of dots
--]]
--[[ iweather.lua -- CLOSE THE GAP TO COMMENT OUT - for S11
indicator=1, --set 1 for on, 0 for off
indicator_x=174, --center of first indicator
indicator_y=405, --center of first indicator
indicator_r=5, --radius of indicator dot
indicator_gap=15, --gap between center of dots
--]]
--[[ iweather_joe.lua -- CLOSE THE GAP TO COMMENT OUT
indicator=1, --set 1 for on, 0 for off
indicator_x=174, --center of first indicator
indicator_y=395, --center of first indicator
indicator_r=5, --radius of indicator dot
indicator_gap=15, --gap between center of dots
--]]
@ falldown - EXCEPTIONAL WORK!!! KUDOS!!!
Look at the text I get ... tons!!!!!!!!!!!!!
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Peachy's Wun Lua / Peachy's v9000 / Conky PitStop / My DA Page
........
Offline
S11 I really like the side glassy wun!!
Yeah here is my weather text..
day..
http://s9.postimg.org/n3shj3hxn/Screenshot_from_2014_01_21_13_40_36.jpg
night..
http://s2.postimg.org/kyeo8sdfp/Screenshot_from_2014_01_21_13_40_57.jpg
Well you did say:
![]()
![]()
Yea.. the weather here is usually pretty uneventful.
but man oh man you do display it with style!
My "text" tends to get a bit verbose:
and not nearly as classy as yours.
BTW: That side glassy one is a 100% mrpeachy creation.
I don't even know how to tweak the boxes.
All I did was change the font and reposition the high | low temps to be at the edge of the images and make it metric.
But it is sweet ... I need to learn how to "tweak" the boxes.
· ↓ ↓ ↓ ↓ ↓ ↓ ·
BunsenLabs Forums now Open for Registration
· ↑ ↑ ↑ ↑ ↑ ↑ · BL ModSquad
Offline
Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: acrobat