Delete this post.
Delete this post.
Last edited by tad1073; January 29th, 2014 at 01:48 AM.
| Corsair Carbide Series® 300R | Intel Core i5 650@3.20Ghz| OCZ-Vertex3 120 Gb SSD | Western Digital 640 Gb HDD | Western Digital 1 Tb HDD ||Gigabyte GeForce GTX 950 Extreme | Ubuntu 16.04 x86_64 | Windows 10 Pro |
@mrpeachy I would like to incorporate your weather script with the conky config I am using and strip away the glass background and text shadow, how would I go about doing that?
| Corsair Carbide Series® 300R | Intel Core i5 650@3.20Ghz| OCZ-Vertex3 120 Gb SSD | Western Digital 640 Gb HDD | Western Digital 1 Tb HDD ||Gigabyte GeForce GTX 950 Extreme | Ubuntu 16.04 x86_64 | Windows 10 Pro |
The latest WUN weather script comes with 7 templates ... two use LUA for the "glass" affects ... built into the lua
- wun_glassy_side_bar.lua - by mrpeachy - a static display
- iweather_joe.lua by jst_joe - an interactive display
look for the "function grec" and take that out ... that should do it.
two other interactive scripts use background PNG's files that can be commented out.
- iweather.lua - has a dar grey/black semi-transpateng backgroung
- iweather_falldown.lua - two transparent "glass" affect backgrounds
The rest are static:
- astroweather.lua
- s11template.lua
- classic10day.lua
and do not use background images or glass affects.
And to strip the "text shadow" in the template of your choice:
search for:
replace withCode:,shadow=1})
Code:})
sector11 has covered most of what is important (thank you Sector11 )
the background images are not inherent to the wun script or template they are either being drawn with lua functions or called with the image function
it would be a case of going through the script line by line and looking for those calls
in iweather_falldown.lua for example the file paths are setup in lines 18 to 30 then called in lines 95 to 126
comment them out by putting -- infront of each lineCode:image({x=0,y=37,w=425,h=539,file=tgi}) if bc==0 then image({x=10,y=41,w=106,h=33,file=blue}) end if bc==1 then image({x=0,y=37,w=425,h=539,file=bgi}) image({x=190,y=374,w=120,h=46,file=dni}) end if bc==1 and dn==1 then image({x=113+84,y=41+375-37,w=106,h=33,file=blue}) end if bc==1 and b1==1 then image({x=310,y=250,w=106,h=33,file=blue}) elseif bc==1 and b2==1 then image({x=310,y=281,w=106,h=33,file=blue}) elseif bc==1 and b3==1 then image({x=310,y=312,w=106,h=33,file=blue}) elseif bc==1 and b4==1 then image({x=310,y=343,w=106,h=33,file=blue}) elseif bc==1 and b5==1 then image({x=310,y=374,w=106,h=33,file=blue}) elseif bc==1 and b6==1 then image({x=310,y=405,w=106,h=33,file=blue}) elseif bc==1 and b7==1 then image({x=310,y=436,w=106,h=33,file=blue}) elseif bc==1 and b8==1 then image({x=310,y=467,w=106,h=33,file=blue}) elseif bc==1 and b9==1 then image({x=310,y=498,w=106,h=33,file=blue}) elseif bc==1 and b10==1 then image({x=310,y=529,w=106,h=33,file=blue}) end
the interactive templates are quite complicated, so keep saving the template after every change to make sure nothing breaks
re the text shadow, i dont think the file in the wun archive has any shadows activated, that is something that Sector11 added to his template I could be wrong!
if there are, i couldnt guarantee they will be at the end of an out setup so searching for ,shadow=1}) may not get them all, search for shadow=1, and then change the 1 to a 0
...
which template were you interested in?
Last edited by mrpeachy; January 30th, 2014 at 02:24 AM.
note, make sure you go grab the most recent archive
a couple of important fixes today!
https://dl.dropboxusercontent.com/u/...wun/wun.tar.gz
Hello Fellow Conkiers,
It's been a while since I posted here (been REALLY busy). I finally got some time to and energy to play, so I downloaded mrpeachy's new WUN weather scripts. After a "little" tweaking, this is what I've come up with. I am currently using 7 desktops (viewports?, workspaces?), and I have this showing on number 7. I also still have the v9000 weather still running on desktop number 3, but I will discontinue using it if this keeps going good. Only because the reporting station for Wunderground is only about a mile and a half from my house. Both the v9000 and the WUN conkies look almost identical, so I'm not posting a shot of it. Hope you like it, because I do!!
Ubuntu User #35429 | Linux User #558865
I don't even want to know what a lot of tweaking is for you.
back in the stone age of conky.fu, this is what I called a LOT of tweaking.
As long as you like it, that's all that matters.
Windows assumes the user is an idiot.
Linux demands proof.
Bookmarks