SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#51 2011-11-19 03:37:14

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!


Congratulations, you've figured out the sound of one hand clapping...

Offline

Help fund CrunchBang, donate to the project!

#52 2011-11-19 04:49:26

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

yes, that would be a font issue
even if you do install them and refresh the font cache you have to kill and restart conky to get them showing up

@Sector11 those look great!

Offline

#53 2011-11-19 05:42:38

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#54 2011-11-19 06:23:43

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

#55 2011-11-19 15:26:58

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#56 2011-11-19 18:55:49

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

in the conkyrc, im just loading the script and calling the functions
lua_load ~/lua/forecast_curve.lua
lua_draw_hook_pre weatherdata#starts the lua weather data gathering function, call once at top of conkyrc
TEXT
${lua weather}${cpu cpu0}

Last edited by mrpeachy (2011-11-19 18:59:30)

Offline

#57 2011-11-19 19:13:02

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#58 2011-11-19 19:43:27

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!

MrP On a fresh install #! Statler for the laptop (2.0 Ghz with 3 G memory) I was seeing 50% with weather conky and 55-60 with Chrome (becoming bloatware).
I have not installed the 1314 script yet.

I am wondering if I have sensors installed correctly on the desktop now.


Congratulations, you've figured out the sound of one hand clapping...

Offline

#59 2011-11-19 19:56:52

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

#60 2011-11-19 20:54:00

Sector11
#!'er to BL'er
From: SR11 Cockpit
Registered: 2010-05-05
Posts: 15,667
Website

Re: weather in conky (LUA scripts) updated 12/26/13!

update_interval 60

TEXT
${execpi 1800 conkyForecast --location=ARBA0009 --template=$HOME/Conky/templates/weather.template}

Last edited by Sector11 (2011-11-19 21:03:52)

Offline

#61 2011-11-19 21:22:32

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#62 2011-11-19 21:50:57

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!


Congratulations, you've figured out the sound of one hand clapping...

Offline

#63 2011-11-19 22:30:08

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

lua_load ~/lua/forecast_testing2.lua
lua_draw_hook_pre weatherdata#starts the lua weather data gathering function, call once at top of conkyrc

TEXT 
 DAY ${goto 50}${lua weather day1.das}${goto 100}${lua weather day2.das}${goto 150}${lua weather day3.das}${goto 200}${lua weather day4.das}${goto 250}${lua weather day5.das}${goto 300}${lua weather day6.das}${goto 350}${lua weather day7.das}${goto 400}${lua weather day8.das}${goto 450}${lua weather day9.das}${goto 500}${lua weather day10.das}

 CON ${lua weather font.day1 50 50 32 0xFFFFFF}${lua weather font.day2 100 50 32 0xFFFFFF}${lua weather font.day3 150 50 32 0xFFFFFF}${lua weather font.day4 200 50 32 0xFFFFFF}${lua weather font.day5 250 50 32 0xFFFFFF}${lua weather font.day6 300 50 32 0xFFFFFF}${lua weather font.day7 350 50 32 0xFFFFFF}${lua weather font.day8 400 50 32 0xFFFFFF}${lua weather font.day9 450 50 32 0xFFFFFF}${lua weather font.day10 500 50 32 0xFFFFFF}

HIGH ${goto 50}${lua weather day1.hih}°F${goto 100}${lua weather day2.hih}°F${goto 150}${lua weather day3.hih}°F${goto 200}${lua weather day4.hih}°F${goto 250}${lua weather day5.hih}°F${goto 300}${lua weather day6.hih}°F${goto 350}${lua weather day7.hih}°F${goto 400}${lua weather day8.hih}°F${goto 450}${lua weather day9.hih}°F${goto 500}${lua weather day10.hih}°F
 LOW ${goto 50}${lua weather day1.low}°F${goto 100}${lua weather day2.low}°F${goto 150}${lua weather day3.low}°F${goto 200}${lua weather day4.low}°F${goto 250}${lua weather day5.low}°F${goto 300}${lua weather day6.low}°F${goto 350}${lua weather day7.low}°F${goto 400}${lua weather day8.low}°F${goto 450}${lua weather day9.low}°F${goto 500}${lua weather day10.low}°F
 HUM ${goto 50}${lua weather day1.hum} %${goto 100}${lua weather day2.hum} %${goto 150}${lua weather day3.hum} %${goto 200}${lua weather day4.hum} %${goto 250}${lua weather day5.hum} %${goto 300}${lua weather day6.hum} %${goto 350}${lua weather day7.hum} %${goto 400}${lua weather day8.hum} %${goto 450}${lua weather day9.hum} %${goto 500}${lua weather day10.hum} %
RAIN ${goto 50}${lua weather day1.ppt} %${goto 100}${lua weather day2.ppt} %${goto 150}${lua weather day3.ppt} %${goto 200}${lua weather day4.ppt} %${goto 250}${lua weather day5.ppt} %${goto 300}${lua weather day6.ppt} %${goto 350}${lua weather day7.ppt} %${goto 400}${lua weather day8.ppt} %${goto 450}${lua weather day9.ppt} %${goto 500}${lua weather day10.ppt} %
SNOW ${goto 50}${lua weather day1.snw} %${goto 100}${lua weather day2.snw} %${goto 150}${lua weather day3.snw} %${goto 200}${lua weather day4.snw} %${goto 250}${lua weather day5.snw} %${goto 300}${lua weather day6.snw} %${goto 350}${lua weather day7.snw} %${goto 400}${lua weather day8.snw} %${goto 450}${lua weather day9.snw} %${goto 500}${lua weather day10.snw} %
WIND ${goto 50}${lua weather day1.wmh} mph${goto 100}${lua weather day2.wmh} mph${goto 150}${lua weather day3.wmh} mph${goto 200}${lua weather day4.wmh} mph${goto 250}${lua weather day5.wmh} mph${goto 300}${lua weather day6.wmh} mph${goto 350}${lua weather day7.wmh} mph${goto 400}${lua weather day8.wmh} mph${goto 450}${lua weather day9.wmh} mph${goto 500}${lua weather day10.wmh} mph

     ${lua weather windfont.day1 50 175 42 0xFFFFFF}${lua weather windfont.day2 100 175 42 0xFFFFFF}${lua weather windfont.day3 150 175 42 0xFFFFFF}${lua weather windfont.day4 200 175 42 0xFFFFFF}${lua weather windfont.day5 250 175 42 0xFFFFFF}${lua weather windfont.day6 300 175 42 0xFFFFFF}${lua weather windfont.day7 350 175 42 0xFFFFFF}${lua weather windfont.day8 400 175 42 0xFFFFFF}${lua weather windfont.day9 450 175 42 0xFFFFFF}${lua weather windfont.day10 500 175 42 0xFFFFFF}

Last edited by mrpeachy (2011-11-19 22:30:38)

Offline

#64 2011-11-19 22:45:36

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!

Last edited by BoredOOMM (2011-11-19 22:46:08)


Congratulations, you've figured out the sound of one hand clapping...

Offline

#65 2011-11-19 22:52:57

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

#66 2011-11-19 22:59:44

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!


Congratulations, you've figured out the sound of one hand clapping...

Offline

#67 2011-11-19 23:19:20

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!

Last edited by dlm955 (2011-11-19 23:41:40)


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#68 2011-11-19 23:49:08

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

#69 2011-11-20 00:06:09

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!

Last edited by BoredOOMM (2011-11-20 00:24:37)


Congratulations, you've figured out the sound of one hand clapping...

Offline

#70 2011-11-20 00:35:09

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#71 2011-11-20 00:39:59

BoredOOMM
#! Junkie
From: 36.0718,-119.03519
Registered: 2011-06-19
Posts: 353

Re: weather in conky (LUA scripts) updated 12/26/13!


Congratulations, you've figured out the sound of one hand clapping...

Offline

#72 2011-11-20 01:18:41

dlm955
#! CrunchBanger
From: Mansfield,Ohio USA
Registered: 2011-07-23
Posts: 128

Re: weather in conky (LUA scripts) updated 12/26/13!

Just added cpu and mem usage to bottom of 1318 and ran it by itself
      mem usage same, cpu is cut in half....from the other I tested


Give a man a truth and he will think for a day.
Teach a man to reason and he will think for a lifetime!

Offline

#73 2011-12-31 03:43:03

handy
Member
Registered: 2011-12-31
Posts: 34

Re: weather in conky (LUA scripts) updated 12/26/13!

mrpeachy, I just upgraded to v7 of your script, thanks to Sector11. It is running in two columns.

I just widened the window & doubled the size of the font to 20.

Which has caused the columns to overlap some & I've lost sight of almost 4 days. (sounds like a bender doesn't it!)

@Sector11: I've got the weathericons displaying now, all over the place but displaying. smile

Last edited by handy (2011-12-31 03:53:33)

Offline

#74 2011-12-31 03:48:17

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

Be excellent to each other!

#75 2011-12-31 03:49:41

mrpeachy
20% cooler
From: The Everfree Forest
Registered: 2009-11-08
Posts: 3,460

Re: weather in conky (LUA scripts) updated 12/26/13!

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.
Server: bleh

Debian Logo