You are not logged in.

#1241 2016-10-11 07:26:01

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

May the force be with you....
I noticed this http://www.calendrier-lunaire.net/ ..TEO site you think you can create a script for a conky future? ... The site is http://www.calendrier-lunaire.net/ I stopped at the days of yesterday .... TEO let me know for the site that I mentioned to you before ...

See you later

tongue  tongue

Last edited by fvirgola80 (2016-10-11 07:27:02)


Nothing happens by chance

Offline

#1242 2016-10-11 14:55:38

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Looks nice fvirgola80, but, apart from bonjour and merci, I don't know a word in French.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1243 2016-10-11 15:47:23

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^  I can teach you some swear words ... oh wait!  Public forum.  Belay that.  smile

BTW Teo, both of the new scripts seems to be holding their own here.   smile

Been AFTK* way to much lately and for the immediate looks like it will be the same.  sad

Get up, breakfast - out of the house - sometimes not to return until mid afternoon.  And by then I'm bushed and have even fallen asleep watching a little TV.

=====
* AFTK  =  Away From The Keyboard


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1244 2016-10-11 16:20:32

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Yeah, you need some rest from time to time.
I also try to keep away from the keyboard these days (apart from Reddit of course wink) after all that conky action in the previous weeks.

Still feel uncomfortable about MoonGiant though.
The following code

   if(jArray[2][11] == "October 1"){ 
    jArray[2][7] = "New Moon"
    jArray[2][10] = "Phase: <span>New Moon</span>"
   }
   
   
   if(jArray[2][11] == "September 30"){ 
    jArray[2][7] = "Waning Crescent"
    jArray[2][10] = "Phase: <span>Waning Crescent</span>"
   }

is still in their page; the new script has been built around it.

Is every 1rst of October a New Moon?
Is every 30th of September a Waning Crescent one?

This can't be a permanent thing on their part.
Once they remove it, the script is not longer valid... hmm


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1245 2016-10-11 17:18:22

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ OH ... anyway to contact them and say "Hey what about this?"

OR:::::::
Hmmmmmmmmm  The September 30 Black Moon Explained ... interesting.

Maybe they are making way for "Black Moon"  smile

But no, not every 30th Sept is a Waning Cresent.  smile

Just for fun from the link above:

Usually, new moons occur only once a month, but because there’s a slight disjunct between the moon’s phases—a 29.5-day cycle, on average—and the Gregorian calendar, some months can have two new moons: one at the beginning and one at the end. Joe Rao of Space.com notes that this double-dipping occurs once every 32 months or so.

In this sense, a black moon is like the evil twin of a blue moon, conventionally understood as the second full moon in a month. But let’s be clear: This new moon—like any astronomical event—doesn’t bring ill tidings or herald the end of days, despite the astrological fear-mongering that has been seeping through the web.


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1246 2016-10-11 17:21:57

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Time will tell I guess...

Stay tuned people and report any strange behaviour.
I don't use the script myself, so I can't have immediate notice about it not working properly; all feedback is welcome.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1247 2016-10-11 17:43:25

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I will run my test script on start up from now on, even though I use the moon in two running conkys.
2016_10_11_14_40_07_Scrot11.jpg

The code: test-moon.conky (v1.90)

## pkill -xf "conky -q -c /media/5/Conky/4_Moon/test-moon.conky" &

## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below #,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Test Moon
## ARGB can be used for real transparency
#  own_window_argb_visual yes ## Options: yes or no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#  own_window_argb_value 175

## Normal with no test
## minimum_size 220 10 ## w|h
## maximum_width 220
 minimum_size 675 ## w|h
 maximum_width 675

gap_x 0		## l|r
gap_y 10	## u|d
alignment tm
## ---------- End Window Settings ---------

## ---------- Font Settings
## Use Xft (anti-aliased font and stuff)
use_xft yes
 xftfont Fantasque Sans Mono:bold:size=9

## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0

## Force UTF8? requires XFT
override_utf8_locale yes

uppercase no
## --------- End Font Settings ----------

## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC ## Gainsboro
color0 8FBC8F ## DarkSeaGreen
color1 778899 ## LightSlateGray
color2 FFA07A ## LightSalmon
color3 87CEFA ## LightSkyBlue
color4 48D1CC ## MediumTurquoise
color5 FFDEAD ## NavajoWhite
color6 00BFFF ## DeepSkyBlue
color7 B0E0E6 ## PowderBlue
color8 FFD700 ## Gold
color9 CD5C5C ## IndianRed
## ---------- End Color Settings ----------

## ---------- Begin Borders Section
draw_borders yes
## 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 yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton ----------

## ---------- Begin Miscellaneous Section
## Boolean value, if true, Conky will be forked to background when started.
background no ## 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 3072

## Subtract (file slystem) 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

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

## default_bar_size 0 10

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

## ---------- End Miscellaneous Section ----------

update_interval 1

TEXT
${execi 500 /media/5/Conky/4_Moon/moon}\
${image /media/5/Conky/4_Moon/-2.png -p 76,20 -s 45x45}\
${image /media/5/Conky/4_Moon/-1.png -p 76,90 -s 45x45}\
${image /media/5/Conky/4_Moon/0.png -p 295,35 -s 90x90}\
${image /media/5/Conky/4_Moon/0.png -p 552,20 -s 45x45}\
${image /media/5/Conky/4_Moon/2.png -p 552,90 -s 45x45}\
${goto 75}${execi 3600 echo `date --date="-2 day" | awk '{print $1" "$3" "$2}'`}\
${goto 332}Today\
${goto 552}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}


${goto 210} Illumination:${goto 410}${execpi 600 sed -n '1p' /media/5/Conky/4_Moon/raw}
${goto 210}    Sun Angle:${goto 410}${execpi 600 sed -n '2p' /media/5/Conky/4_Moon/raw}°
${goto 210} Sun Distance:${goto 410}${execpi 600 sed -n '3p' /media/5/Conky/4_Moon/raw}
${goto 75}${execi 3600 echo `date --date="-1 day" | awk '{print $1" "$3" "$2}'`}\
${goto 210}Moon Distance:${goto 410}${execpi 600 sed -n '4p' /media/5/Conky/4_Moon/raw}\
${goto 552}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}
${goto 210}     Moon Age:${goto 410}${execpi 600 sed -n '5p' /media/5/Conky/4_Moon/raw} days
${goto 210}   Moon Angle:${goto 410}${execpi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}°
${goto 210}        Phase:${goto 410}${execpi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}
${goto 210} Moonrise/Set:${goto 410}${execpi 600 sed -n '8p' /media/5/Conky/4_Moon/raw}

Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1248 2016-10-12 07:03:00

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

Looks nice fvirgola80, but, apart from bonjour and merci, I don't know a word in French.

Thank's my friend wink


Nothing happens by chance

Offline

#1249 2016-10-12 07:05:06

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

I will run my test script on start up from now on, even though I use the moon in two running conkys.
http://s20.postimg.org/q9rbyloi1/2016_10_11_14_40_07_Scrot11.jpg

The code: test-moon.conky (v1.90)

## pkill -xf "conky -q -c /media/5/Conky/4_Moon/test-moon.conky" &

## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below #,sticky
own_window_colour 000000
own_window_class Conky
own_window_title Test Moon
## ARGB can be used for real transparency
#  own_window_argb_visual yes ## Options: yes or no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
#  own_window_argb_value 175

## Normal with no test
## minimum_size 220 10 ## w|h
## maximum_width 220
 minimum_size 675 ## w|h
 maximum_width 675

gap_x 0		## l|r
gap_y 10	## u|d
alignment tm
## ---------- End Window Settings ---------

## ---------- Font Settings
## Use Xft (anti-aliased font and stuff)
use_xft yes
 xftfont Fantasque Sans Mono:bold:size=9

## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0

## Force UTF8? requires XFT
override_utf8_locale yes

uppercase no
## --------- End Font Settings ----------

## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC ## Gainsboro
color0 8FBC8F ## DarkSeaGreen
color1 778899 ## LightSlateGray
color2 FFA07A ## LightSalmon
color3 87CEFA ## LightSkyBlue
color4 48D1CC ## MediumTurquoise
color5 FFDEAD ## NavajoWhite
color6 00BFFF ## DeepSkyBlue
color7 B0E0E6 ## PowderBlue
color8 FFD700 ## Gold
color9 CD5C5C ## IndianRed
## ---------- End Color Settings ----------

## ---------- Begin Borders Section
draw_borders yes
## 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 yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton ----------

## ---------- Begin Miscellaneous Section
## Boolean value, if true, Conky will be forked to background when started.
background no ## 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 3072

## Subtract (file slystem) 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

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

## default_bar_size 0 10

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

## ---------- End Miscellaneous Section ----------

update_interval 1

TEXT
${execi 500 /media/5/Conky/4_Moon/moon}\
${image /media/5/Conky/4_Moon/-2.png -p 76,20 -s 45x45}\
${image /media/5/Conky/4_Moon/-1.png -p 76,90 -s 45x45}\
${image /media/5/Conky/4_Moon/0.png -p 295,35 -s 90x90}\
${image /media/5/Conky/4_Moon/0.png -p 552,20 -s 45x45}\
${image /media/5/Conky/4_Moon/2.png -p 552,90 -s 45x45}\
${goto 75}${execi 3600 echo `date --date="-2 day" | awk '{print $1" "$3" "$2}'`}\
${goto 332}Today\
${goto 552}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}


${goto 210} Illumination:${goto 410}${execpi 600 sed -n '1p' /media/5/Conky/4_Moon/raw}
${goto 210}    Sun Angle:${goto 410}${execpi 600 sed -n '2p' /media/5/Conky/4_Moon/raw}°
${goto 210} Sun Distance:${goto 410}${execpi 600 sed -n '3p' /media/5/Conky/4_Moon/raw}
${goto 75}${execi 3600 echo `date --date="-1 day" | awk '{print $1" "$3" "$2}'`}\
${goto 210}Moon Distance:${goto 410}${execpi 600 sed -n '4p' /media/5/Conky/4_Moon/raw}\
${goto 552}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}
${goto 210}     Moon Age:${goto 410}${execpi 600 sed -n '5p' /media/5/Conky/4_Moon/raw} days
${goto 210}   Moon Angle:${goto 410}${execpi 600 sed -n '6p' /media/5/Conky/4_Moon/raw}°
${goto 210}        Phase:${goto 410}${execpi 600 sed -n '7p' /media/5/Conky/4_Moon/raw}
${goto 210} Moonrise/Set:${goto 410}${execpi 600 sed -n '8p' /media/5/Conky/4_Moon/raw}

Great Sector11, I've come up with an idea   tongue  tongue


Nothing happens by chance

Offline

#1250 2016-10-12 07:13:47

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

@TEO, just checking the site http://www.moongiant.com/phase/today/, actually I found a problem, the website shows me on the 11th October and not the day of today October 12 is normal? I do not think depends on how the script updated to the dark moon of September 30?
You can check?   wink  wink


Nothing happens by chance

Offline

#1251 2016-10-12 13:20:07

TeoBigusGeekus
BL DieHard
From: /Deutschland/Frankfurt_am_Main
Registered: 2015-10-04
Posts: 1,486

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

They probably hadn't changed the day when you checked; not all the world changes days at the same time.

It's October, 12 for me right now.


Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!
Please make Autocad Civil 3D and Archicad work on Linux!

Offline

#1252 2016-10-13 09:37:08

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

TeoBigusGeekus wrote:

They probably hadn't changed the day when you checked; not all the world changes days at the same time.

It's October, 12 for me right now.

Thanks friend wink


Nothing happens by chance

Offline

#1253 2016-10-13 13:40:37

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^ Yea, at 00:00 here - the start of a new day, it's 05:00 in Roma and 06:00 for Teo.  And of course people in Japan are having lunch.

Would you guys slow down.... I'll never get caught up!  big_smile


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1254 2016-10-13 15:27:48

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 262

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Sector11 wrote:

^ Yea, at 00:00 here - the start of a new day, it's 05:00 in Roma and 06:00 for Teo.  And of course people in Japan are having lunch.

Would you guys slow down.... I'll never get caught up!  big_smile


big_smile  big_smile


Nothing happens by chance

Offline

#1255 2016-10-15 19:13:11

unklar
Back to the roots 1.9
From: #! BL
Registered: 2015-10-31
Posts: 2,645

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

conky_V1.10

Today I had my creative day. wink
Thank you Teo and Sector11.

images_wind_2015.th.jpg

the conkyrc

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'normal',
	own_window_transparent = false,
        own_window_class = 'Conky',
        own_window_colour = '#000000',
        own_window_argb_visual = true,
        own_window_argb_value = 200,	
	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,

-- fiddle with window
	use_spacer = 'right',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 300, minimum_height = 350,
	maximum_width = 300,

	override_utf8_locale = true,

-- Draw shades?
	draw_shades = true,

-- Text stuff
	draw_outline = true,-- amplifies text if yes
	draw_borders = false,
--font freesans -12
	font = 'Arial:size=9',
	uppercase = false,-- set to yes if you want all text to be in uppercase

-- Stippled borders?
	stippled_borders = 3,

-- border margins
	border_inner_margin = 9,
	border_outer_margin = 0,	

-- border width
	border_width = 10,

-- Default colors and also border colors, grey90 == #e5e5e5
	default_color = '#cbcbcb',

--own_window_colour = 'brown',
--own_window_transparent = true,

-- 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 = 30,
	gap_y = 30,

	imlib_cache_size = 0,
-- stuff after 'TEXT' will be formatted on screen

};

conky.text = [[
${image $HOME/1_accuweather/images/base2.png -p 0,30 -s 333x120}${image $HOME/1_accuweather/images/base2.png -p -1,225 -s 333x70}${image $HOME/1_accuweather/images/base2.png -p -1,328 -s 333x48}\
${font Arial:size=12}${color ffe595}WEATHER ${color ff8c00}${hr 2}$color${texeci 500 bash $HOME/1_accuweather/1_accuweather -f2015}${font}
${image $HOME/1_accuweather/forecast_2015/forecast_0.png -p 0,35 -s 167x100}${font Arial:size=11}${goto 170}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c1-20}
${goto 170}${execpi 600 sed -n '4p' $HOME/1_accuweather/curr_cond|cut -c21-40}
${font Arial:size=22}${goto 170}${execpi 600 sed -n '2p' $HOME/1_accuweather/curr_cond}° (${execpi 600 sed -n '3p' $HOME/1_accuweather/curr_cond}°)${font}${image $HOME/1_accuweather/forecast_2015/wind_0.png -p 180,70 -s 80x80}


${goto 170}${execpi 600 sed -n '5p' $HOME/1_accuweather/curr_cond}${goto 250}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $1}'}
${goto 250}${execpi 600 sed -n '6p' $HOME/1_accuweather/curr_cond|awk '{print $2}'}


${color ffe595}HUMIDITY: $color${alignr 15}${execpi 600 sed -n '7p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}PRESSURE: $color${alignr -5}${execpi 600 sed -n '8p' $HOME/1_accuweather/curr_cond} 
${color ffe595}UV INDEX: $color${alignr 35}${execpi 600 sed -n '9p' $HOME/1_accuweather/curr_cond} ${goto 170}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '10p' $HOME/1_accuweather/curr_cond} 
${color ffe595}DEW POINT: $color${alignr 60}${execpi 600 sed -n '12p' $HOME/1_accuweather/curr_cond}°${goto 170}${color ffe595}VISIBILITY: $color${alignr}${execpi 600 sed -n '13p' $HOME/1_accuweather/curr_cond}
${color ffe595}SUN R/S: $color${alignr 27}${execpi 600 sed -n '23p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '24p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}MOON R/S: ${alignr}$color${execpi 600 sed -n '25p' $HOME/1_accuweather/curr_cond}/${execpi 600 sed -n '26p' $HOME/1_accuweather/curr_cond}
${color ffe595}SUN DURAT.: $color${alignr 22}${execpi 600 sed -n '16p' $HOME/1_accuweather/curr_cond}${goto 170}${color ffe595}MOON DURAT.: $color${alignr}${execpi 600 sed -n '20p' $HOME/1_accuweather/curr_cond}
${hr 1}
${goto 25}${font Arial:size=10}${color ffe595}${execpi 600 sed -n '1p' $HOME/1_accuweather/first_days}${goto 125}${execpi 600 sed -n '6p' $HOME/1_accuweather/first_days}${goto 225}${execpi 600 sed -n '11p' $HOME/1_accuweather/first_days}$color${font}${image $HOME/1_accuweather/forecast_2015/forecast_1.png -p 0,240 -s 83x50}${image $HOME/1_accuweather/forecast_2015/forecast_2.png -p 100,240 -s 83x50}${image $HOME/1_accuweather/forecast_2015/forecast_3.png -p 200,240 -s 83x50}

${goto 75}${execpi 600 sed -n '3p' $HOME/1_accuweather/first_days}°${goto 175}${execpi 600 sed -n '8p' $HOME/1_accuweather/first_days}°${goto 275}${execpi 600 sed -n '13p' $HOME/1_accuweather/first_days}°
${goto 75}/${execpi 600 sed -n '4p' $HOME/1_accuweather/first_days}°${goto 175}/${execpi 600 sed -n '9p' $HOME/1_accuweather/first_days}°${goto 275}/${execpi 600 sed -n '14p' $HOME/1_accuweather/first_days}°

${font Arial:size=8}${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 110}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c1-17}${goto 220}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c1-17}
${execpi 600 sed -n '5p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 110}${execpi 600 sed -n '10p' $HOME/1_accuweather/first_days|cut -c18-34}${goto 220}${execpi 600 sed -n '15p' $HOME/1_accuweather/first_days|cut -c18-34}
${hr 1}
${color ffe595}${execpi 600 sed -n '16p' $HOME/1_accuweather/first_days}${goto 90}${execpi 600 sed -n '21p' $HOME/1_accuweather/first_days}${goto 165}${execpi 600 sed -n '1p' $HOME/1_accuweather/last_days}${goto 245}${execpi 600 sed -n '6p' $HOME/1_accuweather/last_days}$color${image $HOME/1_accuweather/forecast_2015/forecast_4.png -p 10,345 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_5.png -p 85,345 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_6.png -p 160,345 -s 50x30}${image $HOME/1_accuweather/forecast_2015/forecast_7.png -p 235,345 -s 50x30}

${goto 65}${execpi 600 sed -n '18p' $HOME/1_accuweather/first_days}°${goto 142}${execpi 600 sed -n '23p' $HOME/1_accuweather/first_days}°${goto 219}${execpi 600 sed -n '3p' $HOME/1_accuweather/last_days}°${goto 295}${execpi 600 sed -n '8p' $HOME/1_accuweather/last_days}°
${goto 65}/${execpi 600 sed -n '19p' $HOME/1_accuweather/first_days}°${goto 142}/${execpi 600 sed -n '24p' $HOME/1_accuweather/first_days}°${goto 219}/${execpi 600 sed -n '4p' $HOME/1_accuweather/last_days}°${goto 295}/${execpi 600 sed -n '9p' $HOME/1_accuweather/last_days}°



]];

Offline

#1256 2016-10-21 12:44:36

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Hello,
@Sector11 could you please post me the conky "HTC-clock-weather" like with the old conky syntax (1.09) ? Many things have changed and I can't find the way to have a correct display with the old one...
Im voraus Gracias beaucoup wink

Offline

#1257 2016-10-21 15:13:14

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

As soon as I fine it my friend.  You want it in v1.90 or v1.10?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1258 2016-10-21 16:38:50

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

Thank-you my friend wink I only play with the conky v1.90 version.

Offline

#1259 2016-10-21 17:08:35

Sector11
Mod Squid Tpyo Knig
From: Upstairs
Registered: 2015-08-20
Posts: 8,010

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

I can't find it  sad  Do you have something to help me know which one?


Debian 12 Beardog, SoxDog and still a Conky 1.9er

Offline

#1260 2016-10-21 17:36:18

ragamatrix
Member
Registered: 2015-10-04
Posts: 427

Re: Conky weather+moon scripts (Accuw/WUndergr/NWS/MoonGiant)

^Sure but I mix things and the code is a bit messy...  :8
conkyHTC:

## pkill -xf "conky -q -c /media/5/conky/aaa-TEST/ConkyHTCSpill/conkyrc" &

## ---------- Begin Window Settings
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints skip_taskbar,skip_pager,undecorated,below,sticky
own_window_colour 000000
own_window_class Conky
own_window_title HTCSpill
## ARGB can be used for real transparency
# own_window_argb_visual yes ## Options: yes or no
## Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
# own_window_argb_value 100

# fold -sw36 requires this as a minimum:
#minimum_size 245 0
#maximum_width 245

minimum_size 235 240
maximum_width 235

gap_x 15	## l|r
gap_y 15	## u|d
alignment tr
## ---------- End Window Settings
## ---------- Font Settings
## Force UTF8? requires XFT
override_utf8_locale yes

## Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Liberation Mono:bold:size=9
#xftfont Fantasque Sans Mono:bold:size=9
xftfont Monofur:bold:size=9
#xftfont DejaVu Sans Mono:bold:size=9

## Alpha of Xft font. Must be a value at or between 1 and 0
xftalpha 1.0

## --------- End Font Settings
## --------- Color Settings
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 98FB98 #PaleGreen
color1 778899 #LightSlateGray
color2 FFD700 #Gold
color3 B0E0E6 #PowderBlue
color4 F4A460 #SandyBrown
color5 DEB887 #BurlyWood
color6 00BFFF #DeepSkyBlue
color7 5F9EA0 #CadetBlue
color8 2E2E2E #DarkGrey
color9 FF4500 #OrangeRed
## ---------- End Color Settings
## ---------- Begin Borders Section
#draw_borders yes
## Stippled borders?
#stippled_borders 5
## border margins
border_inner_margin 0
border_outer_margin 0
## border width
#border_width 2
## graph borders
#draw_graph_borders yes ## no
## default_graph_size 15 40
## ---------- End Borders Secton
## ---------- Begin 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

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

# 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

# Interval (in seconds) to flush Imlib2 cache.
#imlib_cache_flush_interval 900

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

## ---------- End Miscellaneous Section

update_interval 1


TEXT
${execi 600 bash /home/raphix/1_accuweather/1_accuweather -f}\
${image /home/raphix/1_accuweather/htc-pics/base2.png -p -12,30 -s 260x145}\
${image /home/raphix/1_accuweather/htc-pics/base2.png -p -12,180 -s 260x62}\
${image /home/raphix/1_accuweather/htc-pics/flip_bg.png -p 18,7 -s 100x110}\
${image /home/raphix/1_accuweather/htc-pics/flip_bg.png -p 118,7 -s 100x110}\

${voffset 3}${font  DS\-Digital:Bold:size=60}${color 4D4D4D}${goto 26}${time %H}${goto 126}${time %M}${font}${voffset -3}
${goto 28}${execpi 600 sed -n '28p' /home/raphix/1_accuweather/curr_cond|cut -c-13}\
${goto 135}${time %a} ${time %e} ${time %b}${color}

${voffset 3} W ${execpi 600 sed -n '31p' /home/raphix/1_accuweather/curr_cond}${voffset -3}\
${alignr 5}${execpi 600 sed -n '29p' /home/raphix/1_accuweather/curr_cond}° \
${color2}±${execpi 600 sed -n '30p' /home/raphix/1_accuweather/curr_cond}°${color}
 @ ${execpi 600 sed -n '38p' /home/raphix/1_accuweather/curr_cond}\
${alignr 10}H ${execpi 600 sed -n '32p' /home/raphix/1_accuweather/curr_cond}
 ${color FFD700}${font VariShapes Solid:pixelsize=10}q${font } ${execpi 600 sed -n '39p' /home/raphix/1_accuweather/curr_cond}${color}\
${alignr 10}${color OrangeRed2}${font VariShapes Solid:pixelsize=10}Q${font } ${execpi 600 sed -n '40p' /home/raphix/1_accuweather/curr_cond}${color}
 ${execpi 600 sed -n '33p' /home/raphix/1_accuweather/curr_cond}\
${alignr 5}${color9}${execpi 600 sed -n '26p' /home/raphix/1_accuweather/first_days}° \
${color7}${execpi 600 sed -n '31p' /home/raphix/1_accuweather/first_days}°${color}
${image /home/raphix/1_accuweather/forecast_2016/forecast_1.png -p 55,103 -s 125x75}\
${image /home/raphix/1_accuweather/forecast_2016/forecast_2.png -p 5,175 -s 46x27}\
${image /home/raphix/1_accuweather/forecast_2016/forecast_3.png -p 51,175 -s 46x27}\
${image /home/raphix/1_accuweather/forecast_2016/forecast_4.png -p 97,175 -s 46x27}\
${image /home/raphix/1_accuweather/forecast_2016/forecast_5.png -p 143,175 -s 46x27}\
${image /home/raphix/1_accuweather/forecast_2016/forecast_6.png -p 188,175 -s 46x27}

${goto 6}${execpi 600 sed -n '8p' /home/raphix/1_accuweather/first_days}°/\
${execpi 600 sed -n '9p' /home/raphix/1_accuweather/first_days}°\
${goto 52}${execpi 600 sed -n '13p' /home/raphix/1_accuweather/first_days}°/\
${execpi 600 sed -n '14p' /home/raphix/1_accuweather/first_days}°\
${goto 99}${execpi 600 sed -n '18p' /home/raphix/1_accuweather/first_days}°/\
${execpi 600 sed -n '19p' /home/raphix/1_accuweather/first_days}°\
${goto 144}${execpi 600 sed -n '23p' /home/raphix/1_accuweather/first_days}°/\
${execpi 600 sed -n '24p' /home/raphix/1_accuweather/first_days}°\
${goto 190}${execpi 600 sed -n '4p' /home/raphix/1_accuweather/last_days}°/\
${execpi 600 sed -n '5p' /home/raphix/1_accuweather/last_days}°
${goto 12}${execpi 600 sed -n '5p' /home/raphix/1_accuweather/first_days|cut -c-3}\
${goto 58}${execpi 600 sed -n '10p' /home/raphix/1_accuweather/first_days|cut -c-3}\
${goto 105}${execpi 600 sed -n '15p' /home/raphix/1_accuweather/first_days|cut -c-3}\
${goto 150}${execpi 600 sed -n '20p' /home/raphix/1_accuweather/first_days|cut -c-3}\
${goto 196}${execpi 600 sed -n '1p' /home/raphix/1_accuweather/last_days|cut -c-3}

Offline

Board footer

Powered by FluxBB