SEARCH

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

You are not logged in.

#1101 2014-11-11 15:49:09

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!

Is the usage the same as the old v9000 script - except as noted above?

Ummmm never mind, now I see:

All the rest is the same as before.

... guess I got a little excited.

Hmmmmmmm plugged in for 9 hours:

local utc= -3
local maxHours=9     --(you can type here from 3 to 42. Adjust it to your needs (hourly weather))
local username = os.getenv("USERNAME")
--you can enter your username here in case of errors,
--enter username in quotes like this username = "yourname"
local username = "sector11"
package.path = '/home/'..username..'/.v9000_config.lua'

Not working ... sad
Copied first three hours over for spacing ...
2014_11_11_14_17_15_1920x1080_Sector11.jpg
... as soon as I change a variable to "fc_hour4_temp" ...
2014_11_11_14_15_36_1920x1080_Sector11.jpg
Errors:

... {snip}
Conky: llua_do_call: function conky_weather execution failed: /media/5/Conky/templates/S12-10d-9-template.lua:115: attempt to concatenate field 'fc_hour4_temp' (a nil value)
Conky: llua_do_call: function conky_weather execution failed: /media/5/Conky/templates/S12-10d-9-template.lua:115: attempt to concatenate field 'fc_hour4_temp' (a nil value)
... {snip}

·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Help fund CrunchBang, donate to the project!

#1102 2014-11-11 21:08:19

destripato
New Member
Registered: 2014-11-11
Posts: 4

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

Sector11 wrote:
... {snip}
Conky: llua_do_call: function conky_weather execution failed: /media/5/Conky/templates/S12-10d-9-template.lua:115: attempt to concatenate field 'fc_hour4_temp' (a nil value)
Conky: llua_do_call: function conky_weather execution failed: /media/5/Conky/templates/S12-10d-9-template.lua:115: attempt to concatenate field 'fc_hour4_temp' (a nil value)
... {snip}

Hi Sector11.

fc_hour1_temp, fc_hour2_temp or fc_hour3_temp are correct. But fc_hour4_temp is wrong wink 

From the hour 4 to hour 42 you must type like this:

hour_temp[4]
hour_temp[5] , etc...

Also you can type (its easier):
hour_temp[1]
hour_temp[2]
hour_temp[3]

instead of

fc_hour1_temp
fc_hour2_temp
fc_hour3_temp


I remember you these are all the variables (you'll see below that the variable "fc_hour_temp4" does not exist):

HOURLY FORECAST OPTIONS (n= from 1 to 42 (hours))

forecast_hour[n]
forecast_hour_12[n]
forecast_hour_ampm[n]
forecast_hour_24[n]
hour_temp[n]
hour_windchill[n]
hour_heatindex[n]
hour_uvindex_num[n]
hour_uvindex_txt[n]
hour_dewpoint[n]
hour_humidity[n]
hour_precipitation[n]
hour_snow[n]
hour_clouds[n]
hour_visibility_mi[n]
hour_visibility_km[n]
hour_wind_nsew[n]
hour_wind_mph[n]
hour_wind_kmh[n]
hour_weather_icon[n]
hour_weather_font[n]
hour_conditions[n]
hour_conditions_short[n]


NOW OPTIONS

now["time_24"]
now["time"]
now["time_lc"]
now["time_num"]
now["time_ampm"]
now["time_ampm_lc"]
now["day"]
now["day_caps"]
now["day_lc"]
now["day_short"]
now["day_short_caps"]
now["day_short_lc"]
now["date"]
now["month_short"]
now["month_short_caps"]
now["month_short_lc"]
now["month"]
now["month_caps"]
now["month_lc"]
now["year"]
now["weather_icon"]
now["weather_font"]
now["conditions"]
now["conditions_caps"]
now["conditions_lc"]
now["conditions_short"]
now["conditions_short_caps"]
now["conditions_short_lc"]
now["temp"]
now["feels_like"]
now["wind_chill"]
now["ceiling"]
now["ceiling_caps"]
now["ceiling_lc"]
now["heat_index"]
now["visibility"]
now["visibility_caps"]
now["dew_point"]
now["wind_mph"]
now["wind_mph_caps"]
now["wind_km"]
now["wind_km_caps"]
now["wind_kts"]
now["wind_kts_caps"]
now["humidity"]
now["wind_deg"]
now["wind_font"]
now["wind_icon"]
now["wind_nesw"]
now["pressure"]
now["pressure_mb"]
now["wind_gusts"]
now["wind_gusts_caps"]
now["wind_gusts_mph"]
now["wind_gusts_km"]
now["wind_gusts_km_caps"]
now["wind_gusts_kts"]
now["wind_gusts_kts_caps"]
now["fc_hour1_time_24"]
now["fc_hour1_time"]
now["fc_hour1_ampm"]
now["fc_hour1_ampm_lc"]
now["fc_hour1_cond"]
now["fc_hour1_cond_lc"]
now["fc_hour1_cond_caps"]
now["fc_hour1_cond_short"]
now["fc_hour1_cond_short_caps"]
now["fc_hour1_cond_short_lc"]
now["fc_hour1_wicon"]
now["fc_hour1_wfont"]
now["fc_hour1_temp"]
now["fc_hour2_time_24"]
now["fc_hour2_time"]
now["fc_hour2_ampm"]
now["fc_hour2_ampm_lc"]
now["fc_hour2_cond"]
now["fc_hour2_cond_lc"]
now["fc_hour2_cond_caps"]
now["fc_hour2_cond_short"]
now["fc_hour2_cond_short_caps"]
now["fc_hour2_cond_short_lc"]
now["fc_hour2_wicon"]
now["fc_hour2_wfont"]
now["fc_hour2_temp"]
now["fc_hour3_time_24"]
now["fc_hour3_time"]
now["fc_hour3_ampm"]
now["fc_hour3_ampm_lc"]
now["fc_hour3_cond"]
now["fc_hour3_cond_lc"]
now["fc_hour3_cond_caps"]
now["fc_hour3_cond_short"]
now["fc_hour3_cond_short_caps"]
now["fc_hour3_cond_short_lc"]
now["fc_hour3_wicon"]
now["fc_hour3_wfont"]
now["fc_hour3_temp"]


DAILY FORECAST OPTIONS (n= from 1 to 10 (days))

forecast_day[n]
forecast_day_caps[n]
forecast_day_lc[n]
forecast_day_short[n]
forecast_day_short_caps[n]
forecast_day_short_lc[n]
forecast_month[n]
forecast_month_caps[n]
forecast_month_lc[n]
forecast_month_short[n]
forecast_month_short_caps[n]
forecast_month_short_lc[n]
forecast_date[n]
weather_icon[n]
weather_font[n]
high_temp[n]
low_temp[n]
conditions[n]
conditions_caps[n]
conditions_lc[n]
conditions_short[n]
conditions_short_caps[n]
conditions_short_lc[n]
sun_rise[n]
sun_rise_lc[n]
sun_rise_time[n]
sun_rise_24[n]
moon_rise[n]
moon_rise_lc[n]
moon_rise_time[n]
moon_rise_24[n]
moon_rise_ampm[n]
moon_rise_ampm_lc[n]
sun_set[n]
sun_set_lc[n]
sun_set_time[n]
sun_set_24[n]
moon_set[n]
moon_set_lc[n]
moon_set_time[n]
moon_set_24[n]
moon_set_ampm[n]
moon_set_ampm_lc[n]
humidity[n]
precipitation[n]
snow[n]
cloud_cover[n]
moon_phase[n]
moon_phase_caps[n]
moon_phase_lc[n]
moon_font[n]
moon_icon[n]
wind_mph[n]
wind_km[n]
wind_kts[n]
wind_font[n]
wind_icon[n]
wind_deg[n]
wind_nesw[n]
uv_index_num[n]
uv_index_txt[n]
uv_index_txt_caps[n]
uv_index_txt_lc[n]

Last edited by destripato (2014-11-11 21:19:53)

Offline

#1103 2014-11-12 12:12:13

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!

destripato wrote:

From the hour 4 to hour 42 you must type like this:

hour_temp[4]
hour_temp[5] , etc...

Also you can type (its easier):
hour_temp[1]
hour_temp[2]
hour_temp[3]

Oh, that certainly makes a difference. I chose the easier way from hour 1 to hour 9.

My wife is happy, her weather is back - and with a nine hour view of today as well.
2014_11_12_09_04_06_1920x1080_Sector11.jpg
Thank you very much.

And just now I see: only 2 posts - HEY - Welcome to CrunchBang!  Hope you come more often.

Last edited by Sector11 (2014-11-12 12:14:05)


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1104 2014-11-15 12:48:07

hecate
Member
Registered: 2014-11-05
Posts: 11

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

Hi, I downloaded the new version of v9000 but I am still getting the same error as before:

Conky: llua_do_call: function conky_weather execution failed: /home/hecate/v9000/v9000.lua:645: bad argument #1 to '?' (string expected, got nil)

It just doesn't seem to want to work for me  sad

Offline

#1105 2014-11-16 20:40:11

destripato
New Member
Registered: 2014-11-11
Posts: 4

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

hecate wrote:

Hi, I downloaded the new version of v9000 but I am still getting the same error as before:

Conky: llua_do_call: function conky_weather execution failed: /home/hecate/v9000/v9000.lua:645: bad argument #1 to '?' (string expected, got nil)

It just doesn't seem to want to work for me  sad

Try with this one:

https://www.dropbox.com/s/us33wxnqk6o5y … ar.gz?dl=0

Last edited by destripato (2014-11-16 20:48:44)

Offline

#1106 2014-11-16 20:49:22

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!

The first one is working for me.

So what's the difference between the two?


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1107 2014-11-17 10:00:45

destripato
New Member
Registered: 2014-11-11
Posts: 4

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

Sector11 wrote:

The first one is working for me.

So what's the difference between the two?

only 1 line big_smile  (636)

I've modified a bit that line (retrieving "Wind Direction"), nothing else

Anyway both v9000.lua are working for me

@hecate, if still not working for you, please, put here your location or give it by mp.

Last edited by destripato (2014-11-17 10:54:59)

Offline

#1108 2014-11-17 11:46:43

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!

Yup, that works for me too:

--match wind direction
-- OLD: local s,f,twd=string.find(allweather,"Wind Direction:</strong> ([%d&;%s%(%a%)]*)%s*</div>",start)
local s,f,twd=string.find(allweather,"Wind Direction:</strong> ([%d&deg;%s%(%a%)]*)%s*</div>",start)

Thank you - Danke - Merci - Gracias


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1109 2014-12-06 17:18:02

hecate
Member
Registered: 2014-11-05
Posts: 11

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

@destripato, what can I say apart from thank you, thank you, thank you!

I have been away for over two weeks with no internet access and am absolutely blissed upon my return that I now have my weather back. This was the first conky layout that I worked hard at getting how I wanted and had not been able to find the time to start all over again with a different script. I am so pleased it's working again  big_smile

I don't use any image hosting but I've put a screenshot on dropbox:
https://www.dropbox.com/s/51vex8rn0bjv9 … y.png?dl=0

Thanks again, you are a star!

Offline

#1110 2014-12-06 20:29:07

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!

^ That's a really nice v9000 script you have going there.  I can see why you are happy.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1111 2014-12-07 18:06:34

hecate
Member
Registered: 2014-11-05
Posts: 11

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

Thanks sector11 - I like the layout and my machine feels my own again big_smile

My husband, Robbie, has been recently searching for a good moon phase widget/screenlet and is at present loading Cairo Dock just for the moon (!!). I told him I'd look for a conky so downloaded Teo's "5 moon phase" script and planned to wait until he had decided how he wanted it laid out ... but the temptation was too great wink

I've spent today adding it to my desktop (It  IS Sunday after all!) - screenshot here

https://www.dropbox.com/s/7f4bs7db3wdvp … n.png?dl=0

I see from the crunchbang thread that you combined this script with Teo's "Weather_com_Metric". I haven't done any script combining but might attempt, over the winter solstice down-time, to combine it with the v9000. It would allow me to put the moonrise/set info into Robbie's conky, together with any weather info he might like, and enable me to just use one conky for my display too.

In the meantime I am going to run a script on boot that loads the "5 moon phase" first and then the v9000, otherwise the moon info overlaps the bottom of my weather stuff. Can't see, to figure out why there is space before the moon text starts - I don't have any borders specified.

I am temporarily using a 4:3 monitor at the moment and, lovely though the display is, I am looking forward to getting back to my 16:9 - at which point I expect I shall be fiddling again!

I would be happy to share my scripts here but fear that they are not as elegant as they should be!!

Offline

#1112 2014-12-07 20:00:43

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!

hecate wrote:

I see from the crunchbang thread that you combined this script with Teo's "Weather_com_Metric".

Very easy to do with Teo's scripts and really expands the creativity angle.

hecate wrote:

In the meantime I am going to run a script on boot that loads the "5 moon phase" first and then the v9000, otherwise the moon info overlaps the bottom of my weather stuff. Can't see, to figure out why there is space before the moon text starts - I don't have any borders specified.

OK, a really simple FAST way to see the limits of a transparent conky.

###  Borders Section  ###
draw_borders yes ## <<--- YES here
# Stippled borders?
stippled_borders 5 ##<<--- nice affect
# border margins
border_inner_margin 5 <<-- this might explain the extra space too.
border_outer_margin 0
# border width
border_width 2  ##<--- well, you want to see it don't you?
# graph borders
draw_graph_borders no
#default_graph_size 15 40
###  End Borders Secton  ###

makes it REAL easy to place a conky up close and personal with another conky without covering it.

Also: You do know that the v9000 script does sun|moon rise|set|phase for each day right?
2014_12_07_16_10_07_1920x1080_Sector11.jpg
Same conky - with stippled boarder added for the second showing and a second "short" template for the third conky.  Excuse me - same conky - different configurations.
Full:

minimum_size 100 975  # w|h
maximum_width 100

Short:

minimum_size 100 575  # w|h
maximum_width 100

The conky:

## pkill -xf "conky -c /media/5/Conky/S11_v9_Vert.conky" &
##
## The latest script is a lua only weather script. aka: v9000
## http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/
##
## the file:
## http://dl.dropbox.com/u/19008369/weatheragain9000.lua.tar.gz
##
## mrppeachys LUA Tutorial
## http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
##
##
###  Begin Window Settings  ###
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title S11
# own_window_argb_visual yes
# own_window_argb_value 150

minimum_size 100 575  # w|h
maximum_width 100

gap_x 10	### l|r
gap_y 10	### u|d

alignment tl
###  End Window Settings  ###
###  Font Settings  ###
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont monofur:bold:size=9

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

uppercase no
###  End Font Settings  ###
###  Color Settings  ######
draw_shades yes #no # amplifies text if yes
default_shade_color 000000

draw_outline no # amplifies text if yes
default_outline_color 000000

#default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
color4 FFA07A #255 160 122	LightSalmon
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed  #FF0000 #255   0   0	Red
###  End Color Settings  ###
###  Borders Section  ######
draw_borders no
# Stippled borders?
stippled_borders 5
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 2
# graph borders
draw_graph_borders no
#default_graph_size 15 40
###  End Borders Secton  ######
###  Miscellaneous Section  ###
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
#text_buffer_size 512

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
#short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
#pad_percents 2

# Maximum size of user text buffer, i.e. layout below TEXT line in config file
# (default is 16384 bytes)
#max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

# Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value if
# you use $image lots. Set to 0 to disable the image cache.
imlib_cache_size 0

double_buffer yes
###  End Miscellaneous Section  ###
###  LUA Settings  ################
# lua_load /media/5/Conky/LUA/draw-bg.lua
#
# lua_draw_hook_pre draw_bg 0 0 0 0 0 0x000000 0.1
# lua_draw_hook_post draw_bg 0 0 0 0 0 0x000000 0.1
# ...
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
#
### V9000 ###
#starts the lua weather data gathering function, call once at top of conkyrc
#lua_load ~/v9000/v9000.lh.lua
lua_load ~/v9000/v9000.lua
lua_draw_hook_post weather
lua_load /media/5/Conky/templates/S11_V9_Vert-template.lua
#lua_load /media/5/Conky/templates/S11_V9_Vert-short.template.lua
###  End LUA Settings  ###
# The all important - How often conky refreshes.
update_interval 1

TEXT

S11_V9_Vert-template.lua sun|moon data

--[[
 The latest script is a lua only weather script. aka: v9000
 http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/

 the file:
 http://dl.dropbox.com/u/19008369/v9000.tar.gz

 mrppeachys LUA Tutorial
 http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
]]
_G.weather_script = function()--#### 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="Anonymous Pro" --font must be in quotes
default_font="monofur"	-- font must be in quotes
default_font_size=14
default_color=0xB0E0E6	-- PowderBlue
default_alpha=1		-- fully opaque
default_image_width=20
default_image_height=20
-- ## New Options ###
default_face="normal"
-- "normal" for normal/normal
-- "bold" for normal/bold
-- "italic" for italic/normal
-- "bolditalic" for italic/bold
-- END OF DEFAULTS #######################################################################
-- START OF CURRENT WEATHER CONDITIONS  ##################################################
--## Moon ICON Placement for today ###
-- image({x=25,y=20,w=62,h=62,file=moon_icon[1]})
-- image({x=25,y=20,w=62,h=62,file="/media/5/Conky/images/RCAF-Roundel.png"})

out({c=0xB0E0E6,a=1,x=20,y=14,txt=forecast_day_short[1].." "..forecast_date[1].." "..forecast_month_short[1]})
   out({c=0xF0FFFF,a=1,x=15,y=33,txt=now["temp"]})
   out({c=0x8FBC8F,face="bolditalic",a=1,x=15,y=47,txt=now["feels_like"]})

image({x=40,y=15,h=45,w=45,file=now["weather_icon"]})  image({x=40,y=15,h=45,w=45,file=now["moon_icon"]})
--  image({x=40,y=15,h=45,w=45,file="/media/5/Conky/images/red+x.png"})

out({c=0xB0E0E6,a=1,x=5,y=73,txt="Bar P"})
	out({c=0xF0FFFF,a=1,x=60,y=73,txt=now["pressure_mb"]})
out({c=0xB0E0E6,a=1,x=5,y=86,txt="Humid"})
	out({c=0xF0FFFF,a=1,x=60,y=86,txt=now["humidity"].." %"})
out({c=0xB0E0E6,a=1,x=5,y=99,txt="Dew P"})
	out({c=0xF0FFFF,a=1,x=60,y=99,txt=now["dew_point"].." °"})
out({c=0xB0E0E6,a=1,x=5,y=112,txt="UV"})
	out({c=0xF0FFFF,a=1,x=30,y=112,txt=uv_index_num[1]})
		out({c=0xF0FFFF,a=1,x=50,y=112,txt=uv_index_txt[1]})
out({c=0xB0E0E6,a=1,x=5,y=125,txt="Cloud"})
	out({c=0xF0FFFF,a=1,x=60,y=125,txt=cloud_cover[1].." %"})
out({c=0xB0E0E6,a=1,x=5,y=138,txt="Rain"})
	out({c=0xF0FFFF,a=1,x=60,y=138,txt=precipitation[1].." %"})
-- 10 Day Forecast starts here
out({c=0x778899,a=1,x=12,y=158,txt="10  Forecast"})
out({c=0x778899,a=1,x=10,y=171,txt="Starts Today"})
-- START OF WEATHER REPEAT CODE - WEATHER REPEAT CODE - WEATHER REPEAT CODE ##############
--start or weather forecast table section
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=10
-- up-down
topy=195 --300  --125			-- y = u|d
tyy=40 --55 -- topy+(tyy*1)
-- left-right
topx=5			-- x = l|r
-- txx=130
--set coordinates for top lef corners for each repeat
top_left_x_coordinate[1],top_left_y_coordinate[1]        =topx ,topy
   top_left_x_coordinate[2],top_left_y_coordinate[2]     =topx ,topy+(tyy*1)
top_left_x_coordinate[3],top_left_y_coordinate[3]        =topx ,topy+(tyy*2)
   top_left_x_coordinate[4],top_left_y_coordinate[4]     =topx ,topy+(tyy*3)
top_left_x_coordinate[5],top_left_y_coordinate[5]        =topx ,topy+(tyy*4)
   top_left_x_coordinate[6],top_left_y_coordinate[6]     =topx ,topy+(tyy*5)
top_left_x_coordinate[7],top_left_y_coordinate[7]        =topx ,topy+(tyy*6)
   top_left_x_coordinate[8],top_left_y_coordinate[8]     =topx ,topy+(tyy*7)
top_left_x_coordinate[9],top_left_y_coordinate[9]        =topx ,topy+(tyy*8)
   top_left_x_coordinate[10],top_left_y_coordinate[10]   =topx ,topy+(tyy*9)
--########################################################################################
for i=start_day,number_of_days-(start_day-1) 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 ##################
--########################################################################################
-- Day and Date
out({c=0xB0E0E6,a=1,x=tlx+10,y=tly,txt=forecast_day_short[i].." "..forecast_date[i].." "..forecast_month_short[i]})
-- Forecasted High & Low
out({c=0xCD5C5C,a=1,x=tlx,y=tly+13,txt=high_temp[i]})
   out({c=0x87CEFA,a=1,x=tlx,y=tly+26,txt=low_temp[i]})
-- condition images and moon phase images
image({x=30,y=tly+5,file=weather_icon[i]})image({x=75,y=tly+5,file=moon_icon[i]})
-- repeat test images
--   image({x=30,y=tly+5,file="/media/5/Conky/images/red+x.png"})image({x=75,y=tly+5,file="/media/5/Conky/images/red+x.png"})
-- Sunrise & Sunset
--out({c=0xEEE8AA,a=1,x=tlx,y=tly+40,txt="S:"..sun_rise_24[i]})
--   out({c=0x5F9EA0,a=1,x=tlx+60,y=tly+40,txt=sun_set_24[i]})
-- Moonrise & Moonset
--out({a=1,x=tlx,y=tly+53,txt="M:"..moon_rise_24[i]})
--   out({c=0x5F9EA0,a=1,x=tlx+60,y=tly+53,txt=moon_set_24[i]})
-- out({c=0xFAFAEC,a=1,x=tlx,y=tly+65,txt=moon_phase[i]})
--########################################################################################
end--of forecast repeat section ##########################################################
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--########################################################################################
end--of weather_display function do not edit this line ###################################
--########################################################################################

S11_V9_Vert-short.template.lua - no sun|moon data

--[[
 The latest script is a lua only weather script. aka: v9000
 http://crunchbanglinux.org/forums/topic/16100/weather-in-conky/

 the file:
 http://dl.dropbox.com/u/19008369/v9000.tar.gz

 mrppeachys LUA Tutorial
 http://crunchbanglinux.org/forums/topic/17246/how-to-using-lua-scripts-in-conky/
]]
_G.weather_script = function()--#### 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="Anonymous Pro" --font must be in quotes
default_font="monofur"	-- font must be in quotes
default_font_size=14
default_color=0xB0E0E6	-- PowderBlue
default_alpha=1		-- fully opaque
default_image_width=20
default_image_height=20
-- ## New Options ###
default_face="normal"
-- "normal" for normal/normal
-- "bold" for normal/bold
-- "italic" for italic/normal
-- "bolditalic" for italic/bold
-- END OF DEFAULTS #######################################################################
-- START OF CURRENT WEATHER CONDITIONS  ##################################################
--## Moon ICON Placement for today ###
-- image({x=25,y=20,w=62,h=62,file=moon_icon[1]})
-- image({x=25,y=20,w=62,h=62,file="/media/5/Conky/images/RCAF-Roundel.png"})

out({c=0xB0E0E6,a=1,x=20,y=14,txt=forecast_day_short[1].." "..forecast_date[1].." "..forecast_month_short[1]})
   out({c=0xF0FFFF,a=1,x=15,y=33,txt=now["temp"]})
   out({c=0x8FBC8F,face="bolditalic",a=1,x=15,y=47,txt=now["feels_like"]})

image({x=40,y=15,h=45,w=45,file=now["weather_icon"]})  image({x=40,y=15,h=45,w=45,file=now["moon_icon"]})
--  image({x=40,y=15,h=45,w=45,file="/media/5/Conky/images/red+x.png"})

out({c=0xB0E0E6,a=1,x=5,y=73,txt="Bar P"})
	out({c=0xF0FFFF,a=1,x=60,y=73,txt=now["pressure_mb"]})
out({c=0xB0E0E6,a=1,x=5,y=86,txt="Humid"})
	out({c=0xF0FFFF,a=1,x=60,y=86,txt=now["humidity"].." %"})
out({c=0xB0E0E6,a=1,x=5,y=99,txt="Dew P"})
	out({c=0xF0FFFF,a=1,x=60,y=99,txt=now["dew_point"].." °"})
out({c=0xB0E0E6,a=1,x=5,y=112,txt="UV"})
	out({c=0xF0FFFF,a=1,x=30,y=112,txt=uv_index_num[1]})
		out({c=0xF0FFFF,a=1,x=50,y=112,txt=uv_index_txt[1]})
out({c=0xB0E0E6,a=1,x=5,y=125,txt="Cloud"})
	out({c=0xF0FFFF,a=1,x=60,y=125,txt=cloud_cover[1].." %"})
out({c=0xB0E0E6,a=1,x=5,y=138,txt="Rain"})
	out({c=0xF0FFFF,a=1,x=60,y=138,txt=precipitation[1].." %"})
-- 10 Day Forecast starts here
out({c=0x778899,a=1,x=12,y=158,txt="10  Forecast"})
out({c=0x778899,a=1,x=10,y=171,txt="Starts Today"})
-- START OF WEATHER REPEAT CODE - WEATHER REPEAT CODE - WEATHER REPEAT CODE ##############
--start or weather forecast table section
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=10
-- up-down
topy=195 --300  --125			-- y = u|d
tyy=40 --55 -- topy+(tyy*1)
-- left-right
topx=5			-- x = l|r
-- txx=130
--set coordinates for top lef corners for each repeat
top_left_x_coordinate[1],top_left_y_coordinate[1]        =topx ,topy
   top_left_x_coordinate[2],top_left_y_coordinate[2]     =topx ,topy+(tyy*1)
top_left_x_coordinate[3],top_left_y_coordinate[3]        =topx ,topy+(tyy*2)
   top_left_x_coordinate[4],top_left_y_coordinate[4]     =topx ,topy+(tyy*3)
top_left_x_coordinate[5],top_left_y_coordinate[5]        =topx ,topy+(tyy*4)
   top_left_x_coordinate[6],top_left_y_coordinate[6]     =topx ,topy+(tyy*5)
top_left_x_coordinate[7],top_left_y_coordinate[7]        =topx ,topy+(tyy*6)
   top_left_x_coordinate[8],top_left_y_coordinate[8]     =topx ,topy+(tyy*7)
top_left_x_coordinate[9],top_left_y_coordinate[9]        =topx ,topy+(tyy*8)
   top_left_x_coordinate[10],top_left_y_coordinate[10]   =topx ,topy+(tyy*9)
--########################################################################################
for i=start_day,number_of_days-(start_day-1) 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 ##################
--########################################################################################
-- Day and Date
out({c=0xB0E0E6,a=1,x=tlx+10,y=tly,txt=forecast_day_short[i].." "..forecast_date[i].." "..forecast_month_short[i]})
-- Forecasted High & Low
out({c=0xCD5C5C,a=1,x=tlx,y=tly+13,txt=high_temp[i]})
   out({c=0x87CEFA,a=1,x=tlx,y=tly+26,txt=low_temp[i]})
-- condition images and moon phase images
image({x=30,y=tly+5,file=weather_icon[i]})image({x=75,y=tly+5,file=moon_icon[i]})
-- repeat test images
--   image({x=30,y=tly+5,file="/media/5/Conky/images/red+x.png"})image({x=75,y=tly+5,file="/media/5/Conky/images/red+x.png"})
-- Sunrise & Sunset
--out({c=0xEEE8AA,a=1,x=tlx,y=tly+40,txt="S:"..sun_rise_24[i]})
--   out({c=0x5F9EA0,a=1,x=tlx+60,y=tly+40,txt=sun_set_24[i]})
-- Moonrise & Moonset
--out({a=1,x=tlx,y=tly+53,txt="M:"..moon_rise_24[i]})
--   out({c=0x5F9EA0,a=1,x=tlx+60,y=tly+53,txt=moon_set_24[i]})
-- out({c=0xFAFAEC,a=1,x=tlx,y=tly+65,txt=moon_phase[i]})
--########################################################################################
end--of forecast repeat section ##########################################################
--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--########################################################################################
end--of weather_display function do not edit this line ###################################
--########################################################################################
hecate wrote:

I would be happy to share my scripts here but fear that they are not as elegant as they should be!!

Hey if it works and looks good on the screen - it's elegant! cool


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1113 2014-12-08 21:00:40

hecate
Member
Registered: 2014-11-05
Posts: 11

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

Thanks for the Border section Sector11, made it very apparent where my troubles lay and I have now got it nice and tidy with no overlaps smile Really pleased you posted that because when the Moon one updated it blanked out the bottom 15 pixels or so of the Weather one!

Have also signed up for an image hosting account so at least a thumbnail of my displays will show for anyone who is interested.

953e00370614285.jpg

Here are the scripts:

Weather lua: weather_scriptmine.lua

--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION-
_G.weather_script = function()--#### 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="arial"--font must be in quotes
default_font_size=13
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
--END OF DEFAULTS #######################################################
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
starty=15
gap=15
ypos=0
ypos=starty+ypos
out({c=0xFFF2CB,a=1,fs=13,x=15,y=ypos,txt="WEATHER + MOON  "})
out({c=0xFFF2CB,a=1,fs=13,x=150,y=ypos,txt=weather_location})
image({x=20,y=35,h=70,w=70,file=now["weather_icon"]})
image({x=35,y=87,h=45,w=45,file=now["wind_icon"]})
--data titles
ypos=gap+ypos
out({c=0xFFF2CB,a=1,x=15,y=ypos,txt="NOW:"})
ypos=gap+7+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Temperature:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Feels Like:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Wind:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Gusting:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Humidity:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Dew Point:"})
--output of data options
ypos=0
ypos=starty+gap+gap+7+ypos
out({c=0xffffff,a=1,x=60,y=30,txt=now["conditions"]})
ypos=ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["temp"].."°"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["feels_like"].."°"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["wind_mph"]})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["wind_gusts"] })
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["humidity"].."%"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["dew_point"].."°"})

--moon/sun rise/set
out({c=0xC1CFB3,a=1,x=285,y=53,txt="Precipitation:"})
out({c=0xffffff,a=1,x=372,y=53,txt= precipitation[1].."%"})
out({c=0xC1CFB3,a=1,x=285,y=68,txt="Sun Rise:"})
out({x=365,y=68,w=50,h=50,txt=sun_rise_24[1]})
out({c=0xC1CFB3,a=1,x=285,y=83,txt="Sun Set:"})
out({x=365,y=83,w=50,h=50,txt=sun_set_24[1]})
out({c=0xC1CFB3,x=285,y=98,txt=moon_phase[1] })
out({c=0xC1CFB3,a=1,x=285,y=113,txt="Moon Rise:"})
out({x=365,y=113,w=50,h=50,txt=moon_rise_24[1]})
out({c=0xC1CFB3,a=1,x=285,y=128,txt="Moon Set:"})
out({x=365,y=128,w=50,h=50,txt=moon_set_24[1]})

out({c=0xFFF2CB,x=430,y=20,fs=13,txt="NEXT 3 HOURS"})
image({w=30,h=30,x=430,y=30,file=now["fc_hour1_wicon"]})--good
out({x=470,y=45,txt=now["fc_hour1_time"].." "..now["fc_hour1_ampm_lc"].." Temp: "..now["fc_hour1_temp"].."°"})
out({x=470,y=60,txt=now["fc_hour1_cond_short"]})

image({w=30,h=30,x=430,y=65,file=now["fc_hour2_wicon"]})--good
out({x=470,y=80,txt=now["fc_hour2_time"].." "..now["fc_hour2_ampm_lc"].." Temp: "..now["fc_hour2_temp"].."°"})
out({x=470,y=95,txt=now["fc_hour2_cond_short"]})

image({w=30,h=30,x=430,y=100,file=now["fc_hour3_wicon"]})--good
out({x=470,y=115,txt=now["fc_hour3_time"].." "..now["fc_hour3_ampm_lc"].." Temp: "..now["fc_hour3_temp"].."°"})
out({x=470,y=129,txt=now["fc_hour3_cond_short"]})


--########################################################################################
--start or weather forecast repeat section
--set start forecast day
start_day=1
--set total forecast days you want to display
number_of_days=5
out({c=0xFFF2CB,x=605,y=20,fs=13,txt="FORECAST"})
topy=260
ygap=110
--set coordinates for top left corners for each repeat 1st column
ady=topy+ygap
top_left_x_coordinate[1],top_left_y_coordinate[1]=605,45

top_left_x_coordinate[2],top_left_y_coordinate[2]=798,45

top_left_x_coordinate[3],top_left_y_coordinate[3]=991,45

--set coordinates for top left corners for each repeat 2nd column
top_left_x_coordinate[4],top_left_y_coordinate[4]=1184,45

top_left_x_coordinate[5],top_left_y_coordinate[5]=1377,45

top_left_x_coordinate[6],top_left_y_coordinate[6]=1500,45

--########################################################################################
for i=start_day,number_of_days-(start_day-1) do--start of day repeat, do not edit ########
local tlx=top_left_x_coordinate[i]--sets top left x position for each repeat ###################
local tly=top_left_y_coordinate[i]--sets top left y position for each repeat ###################
--########################################################################################
out({c=0xFFF2CB,a=1,fs=13,x=tlx,y=tly,txt=forecast_day[i].." "..forecast_date[i]})
image({x=tlx,y=tly+7,h=50,w=50,file=weather_icon[i]})
out({c=0xffffff,a=1,fs=12,x=tlx+55,y=tly+25,txt=high_temp[i].."°/"..low_temp[i].."°"})
image({x=tlx+110,y=tly-10,file=wind_icon[i]})
out({x=tlx+112,y=tly+51,txt= wind_mph[i].." mph" })
out({c=0xffffff,a=1,fs=12,x=tlx,y=tly+67,txt=conditions_short[i]})
out({c=0xffffff,a=1,fs=12,x=tlx,y=tly+83,txt= precipitation[i].."% Chance of Precipitation"})
--########################################################################################
end--of forecast repeat section ##########################################################
--############################################################
--########################################################################################

--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--#######################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################


Weather conky:

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 1500000
background no
use_xft yes
#xftfont Sans:size=12
#xftalpha 1
font Mono:size=8
total_run_times 0
own_window yes
own_window_argb_visual yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1675 130
maximum_width 1675
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_left
gap_x 0
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
color1 86acad #darker blue
color2 b1c9c9 #lighter blue
text_buffer_size 100000
top_name_width 10
update_interval 1


lua_load ~/v9000/v9000.lua
lua_draw_hook_pre weather
lua_load ~/v9000/weather_scriptmine.lua



TEXT

Conky for Teo's 5 Moon script:

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# fiddle with window
use_spacer no
use_xft yes

# Update interval in seconds
update_interval 3

# Minimum size of text area
minimum_size 1600 100
maximum_width 1600

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline no # amplifies text if yes
draw_borders no
#font freesans -12
xftfont Arial:size=10
uppercase no # set to yes if you want all text to be in uppercase

###  Borders Section  ###
draw_borders no ## <<--- YES here
# Stippled borders?
stippled_borders 5 ##<<--- nice affect
# border margins
border_inner_margin 5 <<-- this might explain the extra space too.
border_outer_margin 0
# border width
border_width 2  ##<--- well, you want to see it don't you?
# graph borders
draw_graph_borders no
#default_graph_size 15 40
###  End Borders Secton  ##

# Default colors and also border colors, grey90 == e5e5e5
default_color fff

own_window_colour 5F4A1C
own_window_transparent yes

# Text alignment, other possible values are commented
alignment top_left
#alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
gap_x 10
gap_y 148

imlib_cache_size 0
# stuff after 'TEXT' will be formatted on screen

TEXT
${texeci 500 bash $HOME/5_Moon/moon}
${image $HOME/5_Moon/current.png -p 0,-3 -s 90x90}
${voffset -36}${color C1CFB3}${goto 111}${execpi 600 sed -n '1p' $HOME/5_Moon/today} ${execpi 600 sed -n '3p' $HOME/5_Moon/today}
${goto 111}${execpi 600 sed -n '47p' $HOME/5_Moon/today}
${goto 111}${execpi 600 sed -n '52p' $HOME/5_Moon/today}${execpi 600 sed -n '53p' $HOME/5_Moon/today}
${goto 111}${execpi 600 sed -n '54p' $HOME/5_Moon/today}${execpi 600 sed -n '55p' $HOME/5_Moon/today}
${goto 111}${execpi 600 sed -n '9p' $HOME/5_Moon/today} ${execpi 600 sed -n '10p' $HOME/5_Moon/today}${color}


${voffset -112}${image $HOME/5_Moon/3.png -p 773,9 -s 70x70}${image $HOME/5_Moon/9.png -p 966,9 -s 70x70}

${goto 845}${execpi 600 sed -n '4p' $HOME/5_Moon/week}${goto 1040}${execpi 600 sed -n '10p' $HOME/5_Moon/week}
${goto 845}${execpi 600 sed -n '5p' $HOME/5_Moon/week}${goto 1040}${execpi 600 sed -n '11p' $HOME/5_Moon/week}
${goto 845}${execpi 600 sed -n '6p' $HOME/5_Moon/week}${goto 1040}${execpi 600 sed -n '12p' $HOME/5_Moon/week}

${voffset -96}${image $HOME/5_Moon/15.png -p 1159,9 -s 70x70}${image $HOME/5_Moon/21.png -p 1353,9 -s 70x70}

${goto 1233}${execpi 600 sed -n '16p' $HOME/5_Moon/week}${goto 1427}${execpi 600 sed -n '22p' $HOME/5_Moon/week}
${goto 1233}${execpi 600 sed -n '17p' $HOME/5_Moon/week}${goto 1427}${execpi 600 sed -n '23p' $HOME/5_Moon/week}
${goto 1233}${execpi 600 sed -n '18p' $HOME/5_Moon/week}${goto 1427}${execpi 600 sed -n '24p' $HOME/5_Moon/week}


${image $HOME/5_Moon/A.png -p 350,1 -s 40x40}${image $HOME/5_Moon/B.png -p 435,1 -s 40x40}${image $HOME/5_Moon/C.png -p 520,1 -s 40x40}${image $HOME/5_Moon/D.png -p 605,1 -s 40x40}${image $HOME/5_Moon/A.png -p 670,1 -s 40x40}



${voffset -138}${font Arial:size=8}${goto 350}${execpi 600 sed -n '16p' $HOME/5_Moon/today}${goto 435}${execpi 600 sed -n '22p' $HOME/5_Moon/today}${goto 520}${execpi 600 sed -n '28p' $HOME/5_Moon/today}${goto 605}${execpi 600 sed -n '34p' $HOME/5_Moon/today}${goto 680}${execpi 600 sed -n '40p' $HOME/5_Moon/today}
${goto 350}${execpi 600 sed -n '18p' $HOME/5_Moon/today}${goto 435}${execpi 600 sed -n '24p' $HOME/5_Moon/today}${goto 520}${execpi 600 sed -n '30p' $HOME/5_Moon/today}${goto 605}${execpi 600 sed -n '36p' $HOME/5_Moon/today}${goto 680}${execpi 600 sed -n '42p' $HOME/5_Moon/today}
${goto 350}${execpi 600 sed -n '19p' $HOME/5_Moon/today}${goto 435}${execpi 600 sed -n '25p' $HOME/5_Moon/today}${goto 520}${execpi 600 sed -n '31p' $HOME/5_Moon/today}${goto 605}${execpi 600 sed -n '37p' $HOME/5_Moon/today}${goto 680}${execpi 600 sed -n '43p' $HOME/5_Moon/today}${font}

I didn't realise that the v9000 script does sun|moon rise|set|phase for each day so really appreciate you pointing that out. I will certainly be looking to incorporate this into my current v9000 and see how I like it compared to running the two.

Many thanks for the related conky files, they will be a great help!

Offline

#1114 2014-12-09 18:41:58

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!

@ hecate  You're welcome.  Glad to be able to help.

Teo's moon script gets different info than the v9000 scrip does so a combo is still a nice thing if you're interested in the moon.
Once the V9000 script started working again I had to fix up my wife's weather conky ... and since I didn't like her colours I did my own with a 24 hour section ... opens in a box, look at it ... close it.
2014_12_09_15_38_04_1920x1080_Sector11.jpg


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1115 2014-12-13 18:27:30

hecate
Member
Registered: 2014-11-05
Posts: 11

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

@Sector11  I was wondering how you got the 'conky-in-a-box' then discovered it when searching as to why a system monitoring conky I was working on wasn't playing the width and height game. Solution was to comment out 'own_window_type' and 'own_window_hints' then use the window manager to resize - and, of course, there it was, in a box! Once done, and you uncomment those lines you need to restart conky entirely (I kept getting 'permission denied' when trying to run the script so rebooted my machine). I might try to run this one in a window for keeps.

I have incorporated the sun/moon data into my v9000 and got rid of the moon phase 'forecast' I had running in 5_Moon, the scripts you posted saved me a lot of time figuring it out.

@destripato  Whilst meandering up this page I found the list of variables that you posted relating to the extended hourly forecasts now available. Thank you so much, the possibilities seem endless now ... I may end up having a complete rethink  wink

Anyhow, for anyone interested, here is what my current set up looks like:
efec34372221141.jpg
The new weather lua script:

--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION--DISPLAY FUNCTION-
_G.weather_script = function()--#### 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="arial"--font must be in quotes
default_font_size=13
default_color=0xffffff--white
default_alpha=1--fully opaque
default_image_width=50
default_image_height=50
--END OF DEFAULTS #######################################################
--START OF WEATHER CODE -- START OF WEATHER CODE -- START OF WEATHER CODE
starty=15
gap=15
ypos=0
ypos=starty+ypos
out({c=0xFFF2CB,a=1,fs=13,x=15,y=ypos,txt="WEATHER + MOON  "})
out({c=0xFFF2CB,a=1,fs=13,x=150,y=ypos,txt=weather_location})
image({x=20,y=35,h=70,w=70,file=now["weather_icon"]})
image({x=35,y=87,h=45,w=45,file=now["wind_icon"]})
--data titles
ypos=gap+ypos
out({c=0xFFF2CB,a=1,x=15,y=ypos,txt="NOW:"})
ypos=gap+7+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Temperature:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Feels Like:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Wind:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Gusting:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Humidity:"})
ypos=gap+ypos
out({c=0xC1CFB3,a=1,x=120,y=ypos,txt="Dew Point:"})
--output of data options
ypos=0
ypos=starty+gap+gap+7+ypos
out({c=0xffffff,a=1,x=60,y=30,txt=now["conditions"]})
ypos=ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["temp"].."°"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["feels_like"].."°"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["wind_mph"]})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["wind_gusts"] })
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["humidity"].."%"})
ypos=gap+ypos
out({c=0xffffff,a=1,x=200,y=ypos,txt=now["dew_point"].."°"})

--moon/sun rise/set
out({c=0xC1CFB3,a=1,x=255,y=53,txt="Precipitation:"})
out({c=0xffffff,a=1,x=342,y=53,txt= precipitation[1].."%"})
out({c=0xC1CFB3,a=1,x=255,y=68,txt="Sun Rise:"})
out({x=335,y=68,w=50,h=50,txt=sun_rise_24[1]})
out({c=0xC1CFB3,a=1,x=255,y=83,txt="Sun Set:"})
out({x=335,y=83,w=50,h=50,txt=sun_set_24[1]})
out({c=0xC1CFB3,x=255,y=98,txt=moon_phase[1] })
out({c=0xC1CFB3,a=1,x=255,y=113,txt="Moon Rise:"})
out({x=335,y=113,w=50,h=50,txt=moon_rise_24[1]})
out({c=0xC1CFB3,a=1,x=255,y=128,txt="Moon Set:"})
out({x=335,y=128,w=50,h=50,txt=moon_set_24[1]})

out({c=0xFFF2CB,x=400,y=20,fs=13,txt="NEXT 6 HOURS"})
image({w=30,h=30,x=400,y=30,file=hour_weather_icon[1]})--good
out({c=0xFFF2CB,x=440,y=45,txt=forecast_hour[1].." Temp: "..hour_temp[1].."°"})
out({c=0xC1CFB3,x=440,y=60,txt=hour_conditions_short[1].." "..hour_wind_nsew[1].." "..hour_wind_mph[1].."mph"})

image({w=30,h=30,x=400,y=65,file=hour_weather_icon[2]})--good
out({c=0xFFF2CB,x=440,y=80,txt=forecast_hour[2].." Temp: "..hour_temp[2].."°"})
out({c=0xC1CFB3,x=440,y=95,txt=hour_conditions_short[2].." "..hour_wind_nsew[2].." "..hour_wind_mph[2].."mph"})

image({w=30,h=30,x=400,y=100,file=hour_weather_icon[3]})--good
out({c=0xFFF2CB,x=440,y=115,txt=forecast_hour[3].." Temp: "..hour_temp[3].."°"})
out({c=0xC1CFB3,x=440,y=129,txt=hour_conditions_short[3].." "..hour_wind_nsew[3].." "..hour_wind_mph[3].."mph"})

image({w=30,h=30,x=595,y=30,file=hour_weather_icon[4]})--good
out({c=0xFFF2CB,x=635,y=45,txt=forecast_hour[4].." Temp: "..hour_temp[4].."°"})
out({c=0xC1CFB3,x=635,y=60,txt=hour_conditions_short[4].." "..hour_wind_nsew[4].." "..hour_wind_mph[4].."mph"})

image({w=30,h=30,x=595,y=65,file=hour_weather_icon[5]})--good
out({c=0xFFF2CB,x=635,y=80,txt=forecast_hour[5].." Temp: "..hour_temp[5].."°"})
out({c=0xC1CFB3,x=635,y=95,txt=hour_conditions_short[5].." "..hour_wind_nsew[5].." "..hour_wind_mph[5].."mph"})

image({w=30,h=30,x=595,y=100,file=hour_weather_icon[6]})--good
out({c=0xFFF2CB,x=635,y=115,txt=forecast_hour[6].." Temp: "..hour_temp[6].."°"})
out({c=0xC1CFB3,x=635,y=129,txt=hour_conditions_short[6].." "..hour_wind_nsew[6].." "..hour_wind_mph[6].."mph"})


--########################################################################################
--start or weather forecast repeat section
--set start forecast day
start_day=2
--set total forecast days you want to display
number_of_days=6
--out({c=0xFFF2CB,x=605,y=20,fs=13,txt="FORECAST"})
topy=260
ygap=110
--set coordinates for top left corners for each repeat 1st column
ady=topy+ygap
top_left_x_coordinate[1],top_left_y_coordinate[1]=605,20

top_left_x_coordinate[2],top_left_y_coordinate[2]=798,20

top_left_x_coordinate[3],top_left_y_coordinate[3]=991,20

top_left_x_coordinate[4],top_left_y_coordinate[4]=1184,20

top_left_x_coordinate[5],top_left_y_coordinate[5]=1377,20

top_left_x_coordinate[6],top_left_y_coordinate[6]=1500,20

--########################################################################################
for i=start_day,number_of_days-(start_day-1) do--start of day repeat, do not edit ########
local tlx=top_left_x_coordinate[i]--sets top left x position for each repeat ###################
local tly=top_left_y_coordinate[i]--sets top left y position for each repeat ###################
--########################################################################################
out({c=0xFFF2CB,a=1,fs=13,x=tlx,y=tly,txt=forecast_day[i].." "..forecast_date[i]})
image({x=tlx,y=tly+7,h=50,w=50,file=weather_icon[i]})
out({c=0xffffff,a=1,fs=12,x=tlx+55,y=tly+25,txt=high_temp[i].."°/"..low_temp[i].."°"})
image({x=tlx+110,y=tly+3,file=wind_icon[i]})
out({x=tlx+112,y=tly+64,txt= wind_mph[i].." mph" })
out({c=0xffffff,a=1,fs=12,x=tlx,y=tly+67,txt=conditions_short[i]})
out({c=0xffffff,a=1,fs=12,x=tlx,y=tly+81,txt= precipitation[i].."% Chance of Precipitation"})
-- Sunrise & Sunset
out({c=0xEEE8AA,a=1,fs=12,x=tlx,y=tly+95,txt="S:"..sun_rise_24[i]})
  out({c=0x5F9EA0,a=1,fs=12,x=tlx+45,y=tly+95,txt=sun_set_24[i]})
-- Moonrise & Moonset
out({a=1,fs=12,x=tlx+80,y=tly+95,txt="|  M:"..moon_rise_24[i]})
   out({c=0x5F9EA0,a=1,fs=12,x=tlx+135,y=tly+95,txt=moon_set_24[i]})
 out({c=0xFAFAEC,a=1,fs=12,x=tlx,y=tly+109,txt=moon_phase[i]})
--########################################################################################
end--of forecast repeat section ##########################################################
--############################################################
--########################################################################################

--########################################################################################
--END OF WEATHER CODE ----END OF WEATHER CODE ----END OF WEATHER CODE ---
--#######################################################################
end--of weather_display function do not edit this line ##################
--#######################################################################

And the conky:

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 1500000
background no
use_xft yes
#xftfont Sans:size=12
#xftalpha 1
font Mono:size=8
total_run_times 0
own_window yes
own_window_argb_visual yes
own_window_transparent yes
own_window_type normal
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 1675 130
maximum_width 1675
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_left
gap_x 0
gap_y 8
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
color1 86acad #darker blue
color2 b1c9c9 #lighter blue
text_buffer_size 100000
top_name_width 10
update_interval 240


lua_load ~/v9000/v9000.lua
lua_draw_hook_pre weather
lua_load ~/v9000/weather_scriptmine.lua



TEXT

Offline

#1116 2014-12-13 21:49:19

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!

hecate wrote:

@Sector11  I was wondering how you got the 'conky-in-a-box' then discovered it when searching as to why a system monitoring conky I was working on wasn't playing the width and height game..

Interesting, Inodoro Pereyra, asked a question and in the reply, yesterday, is exactly what you wanted.  No need to comment anything out at all.  Just delete the word undecorated from: own_window_hints.  Done!

If you "kill" the conky and restart it it will play the width, height game properly.  big_smile

hecate wrote:

I have incorporated the sun/moon data into my v9000 and got rid of the moon phase 'forecast' I had running in 5_Moon, the scripts you posted saved me a lot of time figuring it out.

@destripato  Whilst meandering up this page I found the list of variables that you posted relating to the extended hourly forecasts now available. Thank you so much, the possibilities seem endless now ... I may end up having a complete rethink  wink

I do believe you are hooked on conky.  One of the reasons I post conkys and supporting scripts is as examples.  Glad it helped you save some time.  big_smile

destripato got me going on the  "hourly" stuff as well ... as seen above ... and that's the window.  big_smile

rethink - one of the pleasures of a conky addict.  lol  lol  lol  cool


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1117 2014-12-14 14:30:00

hecate
Member
Registered: 2014-11-05
Posts: 11

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

Sector11 wrote:

No need to comment anything out at all.  Just delete the word undecorated from: own_window_hints.  Done!

If you "kill" the conky and restart it it will play the width, height game properly.  big_smile

Great, thanks for that - my (extensive) Conky note is now updated!

Sector11 wrote:

I do believe you are hooked on conky.

It would appear so - getting the v9000 working again was all the inspiration I needed  big_smile  My problem is that once I start, I can spend the whole day fiddling with conkies and, since I work from home, the temptation can be far too great. I am going to have to limit myself on weekdays or I won't have much of an income wink

Today's 'wish list' is to bring in data from a Tide Times website and try and get an interactive rss feed working. I will plough through the interactive conky forum to try and find what I need to know for the rss. I want to bring in the links from one rss and for them to be active in the conky, rather than the usual trigger that opens a browser page containing the feed links.

I have followed, to the best of my ability, this post for my Tide Times but it isn't working so will be asking for help over there. I did install XTide but it doesn't have a location close enough to be useful to me  sad

Offline

#1118 2014-12-14 19:16:05

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!

@ hecate

Today's 'wish list' is to bring in data from a Tide Times website and try and get an interactive rss feed working. I will plough through the interactive conky forum to try and find what I need to know for the rss. I want to bring in the links from one rss and for them to be active in the conky, rather than the usual trigger that opens a browser page containing the feed links.

Mind is going "button LUA" but nit sure if it can open links ...

Somewhere around here I have an RSS conky - not sure if it is interactive.
But I do have an interactive "syslog" conky here someplace ... I see if I can track them down.

I don't have "a" conky note ... I have /media/5/Conky/Tips_n_Stuff with a bunch of notes in it  big_smile


Found tha RSS one - by colorpixel:

# killall conky &
# conky -c /media/5/conky/rssfeed.conky &
# pkill -xf "conky -c /media/5/conky/rssfeed.conky" &
###############################
#  conky_rssfeed  @ crunchbang
#  by colorpixel
#  Screen: http://crunchbang.org/forums/viewtopic.php?pid=346823#p346823
#  Code: http://crunchbang.org/forums/viewtopic.php?pid=346967#p346967

###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
own_window_class Conky
own_window_title rssfeed by colorpixel

# Use the Xdbe extension? (eliminates flicker)
# It is highly recommended to use own window with this one
# so double buffer won't be so big.
double_buffer yes

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
### This option will not work as desired (in most cases) in conjunction with
### own_window_type normal
# own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Use: own_window_type normal
### Use: own_window_transparent no
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 0 #255

minimum_size 160 0  ##820 260   ## width, height
#maximum_width 300     ##820       ## width, usually a good idea to equal minimum width

#gap_x 0 # left-right
#gap_y 0 # up-down
gap_x 0 # left-right
gap_y 50 # up-down


alignment bm
##################################left#################  End Window Settings  ###
###  Font Settings  #########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Liberation Sans:size=15
xftfont monofur:bold:size=11

# Alpha of Xft font. Must be a value at or between 1 and 0 ###
xftalpha 1
# Force UTF8? requires XFT ###
override_utf8_locale yes

### WARNING ### These do NOT play well with /media/5/Conky/LUA/draw-bg.lua ###
draw_shades yes #### <<<--- yes --- To see it easier on light screens.
default_shade_color 000000
draw_outline no #### <<<--- yes --- Amplifies text if yes OJO with changing fonts
default_outline_color 000000
uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
#default_shade_color black
#default_outline_color black

#default_color DCDCDC #220 220 220	Gainsboro
#default_color C0C0C0 #192 192 192 Silver
default_color B0E0E6 #176 224 230 PowderBlue
color0 8FBC8F #143 188 143	DarkSeaGreen
color1 778899 #119 136 153	LightSlateGray
color2 D8BFD8 #216 191 216	Thistle
color3 9ACD32 #154 205  50	YellowGreen
color4 48D1CC # 72 209 204 MediumTurquoise
color5 FFDEAD #255 222 173	NavajoWhite
color6 00BFFF #  0 191 255	DeepSkyBlue
color7 5F9EA0 # 95 158 160	CadetBlue
color8 BDB76B #189 183 107	DarkKhaki
color9 CD5C5C #205  92  92	IndianRed  #FF0000 #255   0   0	Red
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders yes
#default_graph_size 15 40

#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
# Boolean value, if true, Conky will be forked to background when started.
background yes

# Adds spaces around certain objects to stop them from moving other things
# around, this only helps if you are using a mono font
# Options: right, left or none
use_spacer none

# Default and Minimum size is 256 - needs more for single commands that
# "call" a lot of text IE: bash scripts
text_buffer_size 2048

# Subtract (file system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

# Like it says, ot pads the decimals on % values
# doesn't seem to work since v1.7.1
pad_percents 2

#   Maximum size of user text buffer, i.e. layout below TEXT line in config file
#  (default is 16384 bytes)
# max_user_text 16384

# Desired output unit of all objects displaying a temperature. Parameters are
# either "fahrenheit" or "celsius". The default unit is degree Celsius.
# temperature_unit Fahrenheit

## Imlib2 image cache size, in bytes. Defaults to 4MiB. Increase this value
## if you use $image lots.		Set to 0 to disable the image cache.
imlib_cache_size 0

##############################################  End Miscellaneous Section  ###
###  LUA Settings  ###########################################################
## Above and After TEXT - requires a composite manager or it blinks.
##
# lua_load ~/wea_conky/draw_bg.lua
## TEXT
## ${lua conky_draw_bg 10 0 0 0 0 0x000000 0.2}
## ${lua conky_draw_bg corner_radius x_position y_position width height color alpha}
##
##
## OR Both above TEXT (No composite manager required - no blinking!)
##
 lua_load /media/5/Conky/LUA/draw-bg.lua
# lua_draw_hook_pre draw_bg 10 0 0 0 0 0xffffff 0.3
# TEXT

####################################
#${color5}M A N J A R O  L I N U X${color}
#${rss http://forum.manjaro.org/index.php?type=rss;action=.xml;sa=news;board=;c=;limit=5 1 item_titles 4}

#${color5}A R C H L I N U X${color}
#${rss https://bbs.archlinux.org/extern.php?action=feed&type=rss 1 item_titles 4}
#####################################

update_interval 1
TEXT
${lua conky_draw_bg 10 0 0 0 0 0x000000 0.6}${color5}C R U N C H B A N G${color}
${rss http://crunchbang.org/forums/extern.php?action=feed&type=rss 1 item_titles 15}${color}

2014_12_14_16_14_49_1920x1080_Sector11.jpg

Still looking ...


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1119 2015-01-06 16:05:17

zealibib slaughter
New Member
Registered: 2015-01-06
Posts: 1

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

Hi everyone, I've been trying to get the v9000 script to work for me but I keep getting the following error

Conky: llua_do_call: function conky_weather execution failed: /home/jerry/v9000/v9000.lua:747: bad argument #1 to '?' (string expected, got nil)


what can I do to resolve this?

Offline

#1120 2015-01-30 23:15:43

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!

@ destripato

Looks like the newest v9000 is dead again ... sad


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1121 2015-01-31 15:01:23

destripator
New Member
Registered: 2013-11-25
Posts: 6

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

Sector11 wrote:

@ destripato

Looks like the newest v9000 is dead again ... sad

A simple modification my friend.

Here is the new v9000.lua

https://www.dropbox.com/s/b2xpjwdjhrdrl … ar.gz?dl=0

Offline

#1122 2015-01-31 16:32:46

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!

destripator wrote:
Sector11 wrote:

@ destripato

Looks like the newest v9000 is dead again ... sad

A simple modification my friend.

Here is the new v9000.lua

https://www.dropbox.com/s/b2xpjwdjhrdrl … ar.gz?dl=0

WOW!  Talk about fast!  I really have to work on a 42 hours version.  big_smile
Here's mine:
2015_01_31_13_27_20_1920x1080_Sector11.jpg

And my wife's who like mauve/purple ... whatever.  YUK!
2015_01_31_13_28_41_1920x1080_Sector11.jpg
She refuses to let me add extra hours. "It's mine, don't touch it!" She forgets, I built it.   ]:D

Thank you

EDIT:  Just saw an OOPS! --> Next 9 hours??

Last edited by Sector11 (2015-01-31 16:34:10)


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

#1123 2015-03-02 16:51:04

wekers
New Member
Registered: 2015-03-02
Posts: 7

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

i get download from https://dl.dropboxusercontent.com/u/190 … ate.tar.gz

the error:

Conky: llua_do_call: function conky_weather execution failed: /home/fernando/.conky/v9000/v9000.lua:645: bad argument #1 to '?' (string expected, got nil)

i look for this style: http://en.zimagez.com/zimage/screenshot-1302.php

Regards,
Fernando

Offline

#1124 2015-03-02 19:29:44

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!

That's an older version of v9000 get this version that destripator is keeping current: https://www.dropbox.com/s/b2xpjwdjhrdrl … ar.gz?dl=0

As for the style, you will have to build it or search the forums for the template if it was posted.

EDIT:  Found it mrpeachy did it ... I think it might be a v6 template script though ... I'll get it and check here.  If it is a v6 script it will need some tweaking.


·  ↓   ↓   ↓   ↓   ↓   ↓  ·
BunsenLabs Forums now Open for Registration
·  ↑   ↑   ↑   ↑   ↑   ↑  · BL ModSquad

Offline

Help fund CrunchBang, donate to the project!

#1125 2015-03-02 21:32:13

wekers
New Member
Registered: 2015-03-02
Posts: 7

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

ok the style is old version then.

but the current, I have replaced the v9000.lua with your file, but see my scren when run, a lot "txtset"

conky.jpeg



Regards

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: acrobat

Debian Logo