SEARCH

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

You are not logged in.

#1 2014-01-07 01:10:26

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

Wun Weather Script for Conky (Lua)

Last edited by mrpeachy (2014-04-06 16:58:35)

Offline

Help fund CrunchBang, donate to the project!

#2 2014-01-07 01:35:07

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

Re: Wun Weather Script for Conky (Lua)

day[1].moonrise_24_pad		=>10:54 --moonrise during the specified 24 hours, can be NA if there is no rise during the specified 24 hours
day[1].moonrise_24		=> same as 24_pad but single hour units not padded with 0
day[1].moonrise_12_pad		=> time in 12 hour format, hour zeros padded
day[1].moonrise_12		=> time in 12 hour format, hour zeros not padded
day[1].moonrise_ampm		=> AM , AM or PM
day[1].moonset_24_pad		=>22:49P --moonset during the specified 24 hours, can be NA if there is no rise during the specified 24 hours
day[1].moonset_24		=> same as 24_pad but single hour units not padded with 0
day[1].moonset_12_pad		=> time in 12 hour format, hour zeros padded
day[1].moonset_12		=> time in 12 hour format, hour zeros not padded
day[1].moonset_ampm		=> AM , AM or PM
day[1].moon_transit_24_pad	=>17:20 --moon transit during the specified 24 hours, can be NA if there is no rise during the specified 24 hours
day[1].moon_transit_24		=> same as 24_pad but single hour units not padded with 0
day[1].moon_transit_12_pad	=> time in 12 hour format, hour zeros padded
day[1].moon_transit_12		=> time in 12 hour format, hour zeros not padded
day[1].moon_transit_ampm	=> AM , AM or PM
--ADDITIONAL MOON DATA WHEN THERE ARE PRECEDING AND FOLLOWING TIMES
--can be helpful when viewing a single day of data to get complete picture of the moons activities
day[1].moonrise_additional_24_pad	=>11:28P --moon rise, in this case on the preceding day, can be NA or on following day
day[1].moonrise_additional_24		=> same as 24_pad but single hour units not padded with 0
day[1].moonrise_additional_12_pad	=> time in 12 hour format, hour zeros padded
day[1].moonrise_additional_12		=> time in 12 hour format, hour zeros not padded
day[1].moonrise_additional_ampm		=> AM , AM or PM
day[1].moonset_additional_24_pad	=>23:28F --moon set, in this case on the following day, can be NA or on preceding day
day[1].moonset_additional_24		=> same as 24_pad but single hour units not padded with 0
day[1].moonset_additional_12_pad	=> time in 12 hour format, hour zeros padded
day[1].moonset_additional_12		=> time in 12 hour format, hour zeros not padded
day[1].moonset_additional_ampm		=> AM , AM or PM
day[1].moon_transit_additional_24_pad	=>23:58P --moon transitin, in this case on the preceding day, can be NA or on following day
day[1].moon_transit_additional_24	=> same as 24_pad but single hour units not padded with 0
day[1].moon_transit_additional_12_pad	=> time in 12 hour format, hour zeros padded
day[1].moon_transit_additional_12	=> time in 12 hour format, hour zeros not padded
day[1].moon_transit_additional_ampm	=> AM , AM or PM

Last edited by mrpeachy (2014-01-18 02:20:29)

Offline

#3 2014-01-07 01:36:23

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

Re: Wun Weather Script for Conky (Lua)

Hello World

Last edited by mrpeachy (2014-01-30 21:45:08)

Offline

#4 2014-01-07 01:39:06

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

Re: Wun Weather Script for Conky (Lua)

top_left_x_coordinate[1]=10
top_left_y_coordinate[1]=10
start_number=1
end_number=10
--########################################################################################
for i=start_number,end_number do --start of day repeat, do not edit ######################
tlx=top_left_xcoordinate[i-(start_number-1)] --sets top left x position for each repeat ##
tly=top_left_ycoordinate[i-(start_number-1)] --sets top left y position for each repeat ##
--########################################################################################
--WRITE REPEAT CODE HERE ## use i in the square brackets within the loop [i] #############

--END OF REPEAT CODE######################################################################
end--of loop##############################################################################

Last edited by mrpeachy (2014-01-16 22:08:30)

Offline

#5 2014-01-07 01:41:07

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

Re: Wun Weather Script for Conky (Lua)

now.weather

Last edited by mrpeachy (2014-01-30 21:40:05)

Offline

#6 2014-01-07 01:42:41

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

Re: Wun Weather Script for Conky (Lua)

lua_load ~/wun/additional_files/scripts/additional_functions.lua

Last edited by mrpeachy (2014-02-16 22:31:12)

Offline

#7 2014-01-07 01:45:34

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

Re: Wun Weather Script for Conky (Lua)

how to placeholder

Offline

#8 2014-01-07 02:48:49

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

Re: Wun Weather Script for Conky (Lua)

Offline

#9 2014-01-07 03:38:27

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Wun Weather Script for Conky (Lua)

I did a little more to the background.. should have this template finished tomorrow.

Offline

#10 2014-01-07 04:23:12

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Wun Weather Script for Conky (Lua)

Offline

#11 2014-01-07 05:23:01

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

Re: Wun Weather Script for Conky (Lua)

im looking forward to what you come up with falldown!  smile

Offline

#12 2014-01-07 13:48:50

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

Re: Wun Weather Script for Conky (Lua)

Offline

#13 2014-01-07 14:36:44

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

This is a great How To thread, really explains a lot.
Thanks mrpeachy I'm subscribed. smile

Offline

#14 2014-01-07 15:29:22

Habitual
#! Member
From: Youngstown, OH
Registered: 2010-09-10
Posts: 62
Website

Re: Wun Weather Script for Conky (Lua)

subscribed with interest...


Success is 1% Inspiration
and 98% Perspiration and
2% atttention to details.

Offline

#15 2014-01-07 17:39:50

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

Anyone else having a problem with wun_template.lua going blank when it updates?
This is the new wun from the top of this thread, it restarts manually without errors but blanks on the next update.
I had the interval set to 300 (5 min.) that's only 288 times per 24 hr and even tried 600, scratching head. sad

Offline

#16 2014-01-07 21:22:19

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Wun Weather Script for Conky (Lua)

Last edited by falldown (2014-01-07 21:24:53)

Offline

#17 2014-01-07 21:42:27

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

Re: Wun Weather Script for Conky (Lua)

Offline

#18 2014-01-07 21:55:54

jst_joe
#! Junkie
From: Here, There and After
Registered: 2012-07-03
Posts: 297

Re: Wun Weather Script for Conky (Lua)

^Thanks mrpeachy, I'm getting ready to give it a try.
I thought after falldown's post I messed something up (not hard for me and scripts) or was hallucinating. lol

Offline

#19 2014-01-07 22:20:46

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

Re: Wun Weather Script for Conky (Lua)

Offline

#20 2014-01-07 22:23:13

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

Re: Wun Weather Script for Conky (Lua)

Last edited by Sector11 (2014-01-07 22:27:47)

Offline

#21 2014-01-07 22:26:29

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

Re: Wun Weather Script for Conky (Lua)

@Sector11, it should be... the data is accessed by sending long/lat

re P and F in moonrise and moonset (and will sometime appear in transit)
P means on the previous day
F means on the following day

Offline

#22 2014-01-07 22:27:37

falldown
#! Samurai
Registered: 2011-09-01
Posts: 1,727

Re: Wun Weather Script for Conky (Lua)

Offline

#23 2014-01-07 22:28:09

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

Re: Wun Weather Script for Conky (Lua)

still some work to be done on the astronomy, and i need to describe the data options

Offline

#24 2014-01-07 22:28:38

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

Re: Wun Weather Script for Conky (Lua)

Offline

Help fund CrunchBang, donate to the project!

#25 2014-01-07 22:34:55

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

Re: Wun Weather Script for Conky (Lua)

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