You are not logged in.

#126 2015-11-05 12:56:56

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#127 2015-11-05 13:30:51

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

»»»»» This is for conky v1.90 «««««

TeoBigusGeekus wrote:

@S11
Beautiful S11. Now I need a post with some code and an image to link from the first post.

I was going to PM @fvirgola80 with the code since I consider it his 'layout'.  I borrowed the idea and tweaked it because I could not see the small font.

So in honour of fvirgola80's layout idea:

This is my ~/4_Moon/fvirgola80.conky in action.
Questo è il mio ~ /4_Moon/ fvirgola80.conky in azione.
2015_11_04_14_31_08_Scrot11.jpg

fvirgola80.conky

# pkill -xf "conky -q -c /home/sector11/4_Moon/fvirgola80.conky" &
### fvirgola80 4 november 2015 (this one tweaked)
###
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent no #yes - for ARGB
own_window_hints below,skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title Moon layout by fvirgola80

### 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 # Options: yes or no

### 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 200

minimum_size 980 140
maximum_width 980

gap_x 00
gap_y 100

alignment tm
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Arial:bold:size=8
xftfont Monofur:bold:size=10

# 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 #220 220 220	Gainsboro
color0 8FBC8F #DarkSeaGreen
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
#####################################################  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
#####################################################  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

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

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

# 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
##############################################  End Miscellaneous Section  ###
update_interval 1

#${execi 500 $HOME/4_Moon/moon}

TEXT
${execi 500 $HOME/4_Moon/moon}${color7}${membar 0,50} MOON PHASES FOR THE PAST TWO DAYS ${membar 0,100}\
${color5}${membar 0,30} MOON PHASE TODAY ${membar 0,50}${color7}\
${membar 0,70} MOON PHASES FOR THE NEXT TWO DAYS ${membar 0}\
${image $HOME/4_Moon/-2.png -p 0,30 -s 40x40}\
  ${image $HOME/4_Moon/-1.png -p 200,30 -s 40x40}\
    ${image $HOME/4_Moon/0.png -p 400,30 -s 40x40}\
	  ${image $HOME/4_Moon/1.png -p 600,30 -s 40x40}\
	    ${image $HOME/4_Moon/2.png -p 800,30 -s 40x40}
${goto 35}${color7}Two Days Ago${color} ${execi 3600 echo `date --date="-2 day" | awk '{print $1" "$3" "$2}'`}\
  ${goto 235}${color7}Yesterday${color} ${execi 3600 echo `date --date="-1 day" | awk '{print $1" "$3" "$2}'`}\
    ${goto 435}${color5}Today${color} ${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}\
	  ${goto 635}${color7}Tomorrow${color} ${execi 3600 echo `date --date="+1 day" | awk '{print $1" "$3" "$2}'`}\
	    ${goto 835}${color7}In Two Days${color} ${execi 3600 echo `date --date="+2 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color7}Illumunation${color} ${execpi 600 sed -n '13p' $HOME/4_Moon/raw}\
  ${goto 250}${color7}Illumunation${color} ${execpi 600 sed -n '21p' $HOME/4_Moon/raw}\
    ${goto 450}${color5}Illumunation${color} ${execpi 600 sed -n '1p' $HOME/4_Moon/raw}\
	  ${goto 650}${color7}Illumunation ${color}${execpi 600 sed -n '29p' $HOME/4_Moon/raw}\
	    ${goto 850}${color7}Illumunation ${color}${execpi 600 sed -n '37p' $HOME/4_Moon/raw}
${goto 60}${color7}Distance${color} ${execpi 600 sed -n '16p' $HOME/4_Moon/raw | cut -c-3} K/km\
  ${goto 260}${color7}Distance${color} ${execpi 600 sed -n '24p' $HOME/4_Moon/raw | cut -c-3} K/km\
    ${goto 460}${color5}Distance${color} ${execpi 600 sed -n '4p' $HOME/4_Moon/raw | cut -c-3} K/km\
	  ${goto 660}${color7}Distance ${color}${execpi 600 sed -n '32p' $HOME/4_Moon/raw  | cut -c-3} K/km\
	    ${goto 860}${color7}Distance ${color}${execpi 600 sed -n '40p' $HOME/4_Moon/raw | cut -c-3} K/km
${goto 50}${color7}Age${color} ${execpi 600 sed -n '17p' $HOME/4_Moon/raw | cut -c-5} days\
  ${goto 250}${color7}Age${color} ${execpi 600 sed -n '25p' $HOME/4_Moon/raw | cut -c-5} days\
    ${goto 450}${color5}Age${color} ${execpi 600 sed -n '5p' $HOME/4_Moon/raw} days\
	  ${goto 650}${color7}Age ${color}${execpi 600 sed -n '33p' $HOME/4_Moon/raw | cut -c-5} days\
	    ${goto 850}${color7}Age ${color}${execpi 600 sed -n '41p' $HOME/4_Moon/raw | cut -c-5} days
${goto 35}${color7}Angle${color} ${execpi 600 sed -n '18p' $HOME/4_Moon/raw | cut -c-4}°\
  ${goto 235}${color7}Angle${color} ${execpi 600 sed -n '26p' $HOME/4_Moon/raw | cut -c-4}°\
    ${goto 435}${color5}Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/raw}°\
	  ${goto 635}${color7}Angle ${color}${execpi 600 sed -n '34p' $HOME/4_Moon/raw | cut -c-4}°\
	    ${goto 830}${color7}Angle ${color}${execpi 600 sed -n '42p' $HOME/4_Moon/raw | cut -c-4}°
${color7}Phase${color8} ${execpi 600 sed -n '19p' $HOME/4_Moon/raw}${color}\
  ${goto 200}${color7}Phase${color8} ${execpi 600 sed -n '27p' $HOME/4_Moon/raw}${color}\
    ${goto 400}${color5}Phase${color8} ${execpi 600 sed -n '7p' $HOME/4_Moon/raw}${color}\
	  ${goto 600}${color7}Phase${color8} ${execpi 600 sed -n '35p' $HOME/4_Moon/raw}${color}\
	    ${goto 800}${color7}Phase ${color8} ${execpi 600 sed -n '43p' $HOME/4_Moon/raw}${color}
${color7}Sun Distance${color} ${execpi 600 sed -n '15p' $HOME/4_Moon/raw | cut -c-3}.\
${execpi 600 sed -n '15p' $HOME/4_Moon/raw | cut -c4-5} M/km\
  ${goto 200}${color7}Sun Distance${color} ${execpi 600 sed -n '23p' $HOME/4_Moon/raw | cut -c-3}.\
${execpi 600 sed -n '23p' $HOME/4_Moon/raw | cut -c4-5} M/km\
    ${goto 400}${color5}Sun Distance${color} ${execpi 600 sed -n '3p' $HOME/4_Moon/raw | cut -c-3}.\
${execpi 600 sed -n '3p' $HOME/4_Moon/raw | cut -c5-6} M/km\
	  ${goto 600}${color7}Sun Distance ${color}${execpi 600 sed -n '31p' $HOME/4_Moon/raw | cut -c-3}.\
${execpi 600 sed -n '31p' $HOME/4_Moon/raw | cut -c4-5} M/km\
	    ${goto 800}${color7}Sun Distance ${color}${execpi 600 sed -n '39p' $HOME/4_Moon/raw | cut -c-3}.\
${execpi 600 sed -n '39p' $HOME/4_Moon/raw | cut -c4-5} M/km
${color7}Sun Angle ${color} ${execpi 600 sed -n '14p' $HOME/4_Moon/raw | cut -c-4}°\
  ${goto 200}${color7}Sun Angle${color} ${execpi 600 sed -n '22p' $HOME/4_Moon/raw | cut -c-4}°\
    ${goto 400}${color5}Sun Angle${color} ${execpi 600 sed -n '2p' $HOME/4_Moon/raw}°\
	  ${goto 600}${color7}Sun Angle ${color}${execpi 600 sed -n '30p' $HOME/4_Moon/raw | cut -c-4}°\
	    ${goto 800}${color7}Sun Angle ${color}${execpi 600 sed -n '38p' $HOME/4_Moon/raw | cut -c-4}°
${goto 400}${color5}MoonRise/Set ±${color} ${execpi 600 sed -n '8p' $HOME/4_Moon/raw}

I didn't do the double decimals for Moon Distance since the change is noticeable in K/km.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#128 2015-11-05 13:32:28

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

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

Hello Sector11 , happen to have the code conky moon phase you ... saw my TEO published it ; - ) .... you say we invent another conky to the weather , which also contains the phases of the moon ? Legendary ...


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#129 2015-11-05 15:46:25

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

@ fvirgola80
- you have a PM.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#130 2015-11-05 15:51:35

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,115

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

I've included S11's variation in the first post.


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!

Online

#131 2015-11-05 16:29:22

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

^ thank you.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#132 2015-11-05 16:45:55

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

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

thank you TEO


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#133 2015-11-08 10:38:01

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

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

fvirgola80 wrote:

thank you TEO

Yes!

Thanks to everyone who writes these awesome scripts. smile


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#134 2015-11-08 15:10:52

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

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

The masters are Sector11 Teo and there is much to learn from them .... wink


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#135 2015-11-08 20:07:49

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,115

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

You shall call me Miyagi and I shall call you Daniel-San.


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!

Online

#136 2015-11-09 08:07:31

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

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

Big devil  devil  devil  devil


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#137 2015-11-09 19:57:04

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

»»»»» This is for conky v1.90 «««««

Oooooooooooo  do I get a name too???????

Oh Great and Wise Miyagi I have a humble conky for you to look at:
2015_11_09_16_52_24_Scrot11.jpg

~/1b1_accuweather_images/1b1_companion.conky

# pkill -xf "conky -q -c /home/sector11/1b1_accuweather_images/1b1_companion.conky" &
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent no
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 1b1 AccuW Images Data Files
### 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 150

minimum_size 740 00
#maximum_width 0

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

alignment tr
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monospace:bold:size=8
xftalpha 1.0
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  ###
border_inner_margin 5
border_outer_margin 0
background yes
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes

update_interval 1

TEXT
 ${time %T}${alignr}${time %x}
${alignc}UTC ${tztime UTC  %T}
${alignc}${time %z}

${alignc}1b1_accuweather_images - 1b1_29-10-15

curr_cond${goto 260}first_days${goto 525}last_days

${color5}01 to 25 not used${goto 260}01 to 03 Not Used${goto 525}26 to 33 Not used${color}

↓↓←←← Line Numbers${goto 260}↓↓←←← Line Numbers${goto 525}↓↓←←← Line Numbers
↓↓ ↓Descrip↓   ↓↓↓↓↓↓↓↓ ←←← Results${goto 260}↓↓ ↓Descrip↓ ↓↓↓↓↓↓↓↓ ←←← Results${goto 525}↓↓ ↓Descrip↓ ↓↓↓↓↓↓↓↓ ←←← Results
${membar 0,100}${goto 260}${membar 0,100}${goto 525}${membar 0,100}
26 day ? night ${execpi 600 sed -n '26p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}04 ToD Low   ${execpi 600 sed -n '4p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}01 DAY 5     ${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
27 IMAGE       ${execpi 600 sed -n '27p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}05 DAY 1     ${execpi 600 sed -n '5p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}02 IMG       ${execpi 600 sed -n '2p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
28 Current:    ${execpi 600 sed -n '28p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}06 IMG       ${execpi 600 sed -n '6p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}03 Text      ${execpi 600 sed -n '3p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
29 Temp        ${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}°\
${goto 260}07 Text      ${execpi 600 sed -n '7p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}04 Hi        ${execpi 600 sed -n '4p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
30 Feels L     ${execpi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}°\
${goto 260}08 High      ${execpi 600 sed -n '8p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}05 Low       ${execpi 600 sed -n '5p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
32 Humidity    ${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}09 low       ${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}07 IMG       ${execpi 600 sed -n '7p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
31 Wind Dir    ${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}10 DAY 2     ${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}06 DAY 6     ${execpi 600 sed -n '6p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
33 Pressure    ${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}11 IMG       ${execpi 600 sed -n '11p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}08 Text      ${execpi 600 sed -n '8p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
34 UV Index    ${execpi 600 sed -n '34p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}12 Text      ${execpi 600 sed -n '12p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}09 Hi        ${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
35 Dew Pt      ${execpi 600 sed -n '35p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}°\
${goto 260}13 High      ${execpi 600 sed -n '13p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}10 Low       ${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
36 Cloud C     ${execpi 600 sed -n '36p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}14 Low       ${execpi 600 sed -n '14p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}11 DAY 7     ${execpi 600 sed -n '11p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
37 Vis         ${execpi 600 sed -n '37p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}15 DAY 3     ${execpi 600 sed -n '15p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}12 IMG       ${execpi 600 sed -n '12p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
38 Wind Sp     ${execpi 600 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}16 IMG       ${execpi 600 sed -n '16p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}13 Text      ${execpi 600 sed -n '13p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
39 Sunrise     ${execpi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}17 Text      ${execpi 600 sed -n '17p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}14 Hi        ${execpi 600 sed -n '14p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
40 Sunset      ${execpi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}18 High      ${execpi 600 sed -n '18p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}15 Low       ${execpi 600 sed -n '15p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
41 Moonrise    ${execpi 600 sed -n '41p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}19 Low       ${execpi 600 sed -n '19p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}16 DAY 8     ${execpi 600 sed -n '16p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
42 Moonset     ${execpi 600 sed -n '42p' $HOME/1b1_accuweather_images/curr_cond | cut -c-20}\
${goto 260}20 DAY 4     ${execpi 600 sed -n '20p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}17 IMG       ${execpi 600 sed -n '17p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}21 IMG       ${execpi 600 sed -n '21p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}18 Text      ${execpi 600 sed -n '18p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}22 Text      ${execpi 600 sed -n '22p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}19 Hi        ${execpi 600 sed -n '19p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}23 High      ${execpi 600 sed -n '23p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}20 Low       ${execpi 600 sed -n '20p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}24 Low       ${execpi 600 sed -n '24p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}21 DAY 9     ${execpi 600 sed -n '21p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}25 ToD IMG   ${execpi 600 sed -n '25p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}22 IMG       ${execpi 600 sed -n '22p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}26 ToD Temp  ${execpi 600 sed -n '26p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}23 Text      ${execpi 600 sed -n '23p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}27 ToD ±     ${execpi 600 sed -n '27p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°\
${goto 525}24 Hi        ${execpi 600 sed -n '24p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}28 ToD CoP   ${execpi 600 sed -n '28p' $HOME/1b1_accuweather_images/first_days | cut -c-20}\
${goto 525}25 Low       ${execpi 600 sed -n '25p' $HOME/1b1_accuweather_images/last_days | cut -c-20}
${goto 260}29 ToD TXT   ${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/first_days | cut -c-20}
${goto 260}30 ToN IMG   ${execpi 600 sed -n '30p' $HOME/1b1_accuweather_images/first_days | cut -c-20}
${goto 260}31 ToN Temp  ${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°
${goto 260}32 ToN ±     ${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/first_days | cut -c-20}°
${goto 260}33 ToN CoP   ${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/first_days | cut -c-20}
${goto 260}34 ToN TXT   ${execpi 600 sed -n '34p' $HOME/1b1_accuweather_images/first_days | cut -c-20}

Last edited by Sector11 (2015-11-09 20:43:40)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#138 2015-11-09 20:09:16

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,115

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

Sector11 wrote:

Oooooooooooo  do I get a name too???????

Ok, you'll be Yoda, I'll be Obi-Wan and fvirgola80 will be Luke.

As for the conky, how does it work? Is this its final form?


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!

Online

#139 2015-11-09 20:38:08

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

Yoda!  ME!  WOW! 
Get a new lightsabre, I must.  Herh herh herh.


The conky: Just fire it up, it stays on top, and is a visual aid to creating a new AccuW conky.
Ummmmmmm since when is a conky in it's final form? devil But yea, this is the working conky, I have no plans to change it.

EDIT:  Changed it!

${alignc}1b1_accuweather_images - 1b1_29-10-15

... to reflect the date of the script  :rollseyes:

Line numbers = "xxp" ie: sed -n '5p' The "descrip"tion came from the PDF and the next part reads the "current" datafiles: $HOME/1b1_accuweather_images/curr_cond, $HOME/1b1_accuweather_images/first_days and $HOME/1b1_accuweather_images/last_days ... it does NOT go online.

So unlike the PDF, the data displayed will be as current as your last update.  I built it because the accuweather scripts changed and I have some updating to do.  And I used it to build a 7 day horizontal conky for fvirgola80 laptop screen.  But I'll let him post that baby.  wink

Last edited by Sector11 (2015-11-09 20:43:06)


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#140 2015-11-09 20:40:04

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,115

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

Hey, great idea, something like conky companion.


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!

Online

#141 2015-11-09 20:44:08

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

Ummm - OK.  smile


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#142 2015-11-10 09:26:23

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

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

Hello Yoda , Obi - Wan and I will be the student Luke thanks ..... the idea of Obi - Wan I love it ... I wanted to say that with the high Obi - Wan are changing the layout for the weather and moon phase ..... I would also publish a revised system of conky by Obi .. my great friends


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#143 2015-11-10 15:56:10

TeoBigusGeekus
BL DieHard
From: /Greece/Kastoria
Registered: 2015-10-04
Posts: 1,115

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

I can't wait to see it and... may the force be with you!


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!

Online

#144 2015-11-10 16:05:15

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

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

Thank you, Master Yoda ... Obi - Wan and Luke thanked big_smile  big_smile  big_smile  big_smile  big_smile    devil


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#145 2015-11-10 16:42:26

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

Yoda11 wrote:

Well then Luke "fvirgola80" Skywalker.  See them, let us.

lol  lol  lol


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#146 2015-11-10 17:11:46

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

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

Yoda ... to soon publish Obi - Wan and I Luke the new layout for the weather and the phases of the moon ..... thanks to the great contribution of the master Obi - Wan ... may the force be with you   big_smile  big_smile  big_smile   lol


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#147 2015-11-11 09:49:56

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

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

»»»»» This is for conky v1.90 «««««

Hello guys , i conky weather and moon phase published by Sector11 are available to you thanks to the overwhelming support and Sector11 TEO will publish our work in good will publish the Conky system monitor during revisione..Thanks  all

@Teo Can publish both the conky you attach files and images ;-)

Weather accuweather 1_b_1

weather.jpg

# pkill -xf "conky -c /home/fvirgola80/1b1_accuweather_images/fvirgola80_1b1_int_h.conky" &
# Works perfect: Thu 29 Oct 2015

###  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 Teo's Accuweather - Horizontal 7 days
### ARGB can be used for real transparency - requires composite manager
### Plays hell on conky with images.
#  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

minimum_size 0 0
maximum_width 915

gap_x 55
gap_y 10

alignment top_middle
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
use_xft yes
xftfont monofur:bold:size=9
xftalpha 1.0
override_utf8_locale yes
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
draw_shades yes
default_shade_color 000000
draw_outline no
default_outline_color 000000

default_color DCDCDC #Gainsboro
color0 A9A9A9 #DarkGray
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 FFA07A #LightSalmon
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
# border margins
border_inner_margin 5
border_outer_margin 0
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################
background yes
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes
##############################################  End Miscellaneous Section  ###

#${image /media/5/Conky/images/red+x.png
# Alternatve size ${image /media/5/Conky/images/red+x.png -p 25,350 -s 36x22}\
#${texeci 1500 bash $HOME/1b1_accuweather_images/1b1}\
update_interval 0.5
own_window_argb_value 0
own_window_argb_visual yes
TEXT
${texeci 1500 bash $HOME/1b1_accuweather_images/1b1}\
 ${color5}Currently${color}\
${image $HOME/1b1_accuweather_images/cc.png -p 8,15 -s 58x35}\
  ${goto 80}${execi 90 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}\
  ${goto 145}${color5}Wind${color} ${execi 90 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond}\
    ${goto 222}${color5}S${color8} ${execi 90 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}${color}\
      ${goto 288}${color5}${time %a %e %b}\
        ${goto 358}TONIGHT\
          ${goto 423}${execi 3600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`}\
${goto 490}${execi 3600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`}\
${goto 561}${execi 3600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`}\
${goto 635}${execi 3600 echo `date --date="4 day" | awk '{print $1" "$3" "$2}'`}\
${goto 705}${execi 3600 echo `date --date="5 day" | awk '{print $1" "$3" "$2}'`}\
${goto 778}${execi 3600 echo `date --date="6 day" | awk '{print $1" "$3" "$2}'`}\
${goto 850}${execi 3600 echo `date --date="7 day" | awk '{print $1" "$3" "$2}'`}${color}
${color9}${execi 90 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°${color}\
  ${goto 80}${color5}UVI${color} ${execi 90 sed -n '34p' $HOME/1b1_accuweather_images/curr_cond}\
    ${goto 145}${color5}@${color} ${execi 90 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond}\
      ${goto 222}${color5}↓${color8} ${execi 90 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}${color}\
        ${goto 288}${color9}${execi 90 sed -n '26p' $HOME/1b1_accuweather_images/first_days}°\
          ${goto 358}${execi 90 sed -n '31p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 423}${execi 90 sed -n '8p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 490}${execi 90 sed -n '13p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 561}${execi 90 sed -n '18p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 635}${execi 90 sed -n '23p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 705}${execi 90 sed -n '4p' $HOME/1b1_accuweather_images/last_days}°\
            ${goto 778}${execi 90 sed -n '9p' $HOME/1b1_accuweather_images/last_days}°\
            ${goto 850}${execi 90 sed -n '14p' $HOME/1b1_accuweather_images/last_days}°
  ${goto 80}${color5}HUM${color} ${execi 90 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}\
    ${goto 145}${color5}Vis${color} ${execi 90 sed -n '37p' $HOME/1b1_accuweather_images/curr_cond}\
      ${goto 222}${color5}M${color} ${execi 90 sed -n '41p' $HOME/1b1_accuweather_images/curr_cond}\
        ${goto 288}${color8}${execi 90 sed -n '27p' $HOME/1b1_accuweather_images/first_days}${color}\
          ${goto 358}${color8}±${execi 90 sed -n '32p' $HOME/1b1_accuweather_images/first_days}\
            ${goto 423}${color7}${execi 90 sed -n '9p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 490}${execi 90 sed -n '14p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 561}${execi 90 sed -n '19p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 635}${execi 90 sed -n '24p' $HOME/1b1_accuweather_images/first_days}°\
            ${goto 705}${execi 90 sed -n '5p' $HOME/1b1_accuweather_images/last_days}°\
            ${goto 778}${execi 90 sed -n '10p' $HOME/1b1_accuweather_images/last_days}°\
            ${goto 850}${execi 90 sed -n '15p' $HOME/1b1_accuweather_images/last_days}°
${goto 45}${color7}±${execi 90 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°${color}\
  ${goto 80}${color5}DP${color}  ${execi 90 sed -n '35p' $HOME/1b1_accuweather_images/curr_cond}°\
    ${goto 145}${color5}Cloud${color} ${execi 90 sed -n '36p' $HOME/1b1_accuweather_images/curr_cond}\
      ${goto 222}${color5}↓${color} ${execi 90 sed -n '42p' $HOME/1b1_accuweather_images/curr_cond}\
        ${goto 288}${color5}CoP${color}  ${execi 90 sed -n '28p' $HOME/1b1_accuweather_images/first_days}\
          ${goto 358}${color5}CoP${color}  ${execi 90 sed -n '33p' $HOME/1b1_accuweather_images/first_days}
${image $HOME/1b1_accuweather_images/tod.png -p 305,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/ton.png -p 375,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/6.png -p 442,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/11.png -p 509,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/16.png -p 580,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/21.png -p 654,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/last_2.png -p 724,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/last_7.png -p 796,14 -s 50x30}\
${image $HOME/1b1_accuweather_images/last_12.png -p 868,14 -s 50x30}

moon phases 4_moon

moon.jpg


# pkill -xf "conky -q -c /home/fvirgola80/4_Moon/fvirgola80_v.conky" &
# Sat 07 Nov 2015 for fvirgola80
###
###  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 Moon layout inspired by fvirgola80

### 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 # Options: yes or no

### 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 00

minimum_size 0 0
maximum_width 150

gap_x 10
gap_y 5

alignment top_left
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Arial:bold:size=8
#xftfont Monofur:bold:size=10
xftfont Monofur: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 #220 220 220	Gainsboro
color0 8FBC8F #DarkSeaGreen
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
#####################################################  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
#####################################################  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

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

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

# 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
##############################################  End Miscellaneous Section  ###
update_interval 1

#${color7}${membar 0,50} MOON PHASES FOR THE PAST TWO DAYS ${membar 0,100}\
#${color5}${membar 0,30} MOON PHASE TODAY ${membar 0,50}${color7}\
#${membar 0,70} MOON PHASES FOR THE NEXT TWO DAYS ${membar 0}\

#${execi 500 $HOME/4_Moon/moon}\

own_window_argb_value 0
own_window_argb_visual yes
TEXT
${execi 500 $HOME/4_Moon/moon}
${color7}Two Days Ago${color} ${execi 3600 echo `date --date="-2 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color7}Illumunation${color} ${execpi 600 sed -n '13p' $HOME/4_Moon/rawg}
${goto 60}${color7}Distance${color} ${execpi 600 sed -n '16p' $HOME/4_Moon/rawg | cut -c-3} K/km
${goto 50}${color7}Age${color} ${execpi 600 sed -n '17p' $HOME/4_Moon/rawg | cut -c-5} days
${goto 35}${color7}Angle${color} ${execpi 600 sed -n '18p' $HOME/4_Moon/rawg | cut -c-4}°
${color7}Phase${color8} ${execpi 600 sed -n '19p' $HOME/4_Moon/rawg}${color}
${color2}Sun Distance ${execpi 600 sed -n '15p' $HOME/4_Moon/rawg | cut -c-3}.\
${execpi 600 sed -n '15p' $HOME/4_Moon/rawg | cut -c4-5} M/km
Sun Angle ${execpi 600 sed -n '14p' $HOME/4_Moon/rawg | cut -c-4}°
${image $HOME/4_Moon/-2.png -p 0,28 -s 40x40}



${color7}Yesterday${color} ${execi 3600 echo `date --date="-1 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color7}Illumunation${color} ${execpi 600 sed -n '21p' $HOME/4_Moon/rawg}
${goto 60}${color7}Distance${color} ${execpi 600 sed -n '24p' $HOME/4_Moon/rawg | cut -c-3} K/km
${goto 50}${color7}Age${color} ${execpi 600 sed -n '25p' $HOME/4_Moon/rawg | cut -c-5} days
${goto 35}${color7}Angle${color} ${execpi 600 sed -n '26p' $HOME/4_Moon/rawg | cut -c-4}°
${color7}Phase${color8} ${execpi 600 sed -n '27p' $HOME/4_Moon/rawg}${color}
${color2}Sun Distance ${execpi 600 sed -n '23p' $HOME/4_Moon/rawg | cut -c-3}.\
${execpi 600 sed -n '23p' $HOME/4_Moon/rawg | cut -c4-5} M/km
Sun Angle ${execpi 600 sed -n '22p' $HOME/4_Moon/rawg | cut -c-4}°
  ${image $HOME/4_Moon/-1.png -p 0,183 -s 40x40}



${color5}Today${color} ${execi 3600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color5}Illumunation${color} ${execpi 600 sed -n '1p' $HOME/4_Moon/rawg}
${goto 60}${color5}Distance${color} ${execpi 600 sed -n '4p' $HOME/4_Moon/rawg | cut -c-3} K/km
${goto 50}${color5}Age${color} ${execpi 600 sed -n '5p' $HOME/4_Moon/rawg} days
${goto 35}${color5}Angle${color} ${execpi 600 sed -n '6p' $HOME/4_Moon/rawg}°
${color5}Phase${color8} ${execpi 600 sed -n '7p' $HOME/4_Moon/rawg}
${color5}MoonRise/Set ±${color} ${execpi 600 sed -n '8p' $HOME/4_Moon/rawg}
${color2}Sun Distance ${execpi 600 sed -n '3p' $HOME/4_Moon/rawg | cut -c-3}.\
${execpi 600 sed -n '3p' $HOME/4_Moon/rawg | cut -c5-6} M/km
Sun Angle ${execpi 600 sed -n '2p' $HOME/4_Moon/rawg}°${color}
    ${image $HOME/4_Moon/0.png -p 0,340 -s 40x40}



${color7}Tomorrow${color} ${execi 3600 echo `date --date="+1 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color7}Illumunation ${color}${execpi 600 sed -n '29p' $HOME/4_Moon/rawg}
${goto 60}${color7}Distance ${color}${execpi 600 sed -n '32p' $HOME/4_Moon/rawg  | cut -c-3} K/km
${goto 50}${color7}Age ${color}${execpi 600 sed -n '33p' $HOME/4_Moon/rawg | cut -c-5} days
${goto 35}${color7}Angle ${color}${execpi 600 sed -n '34p' $HOME/4_Moon/rawg | cut -c-4}°
${color7}Phase${color8} ${execpi 600 sed -n '35p' $HOME/4_Moon/rawg}${color}
${color2}Sun Distance ${execpi 600 sed -n '31p' $HOME/4_Moon/rawg | cut -c-3}.\
${execpi 600 sed -n '31p' $HOME/4_Moon/rawg | cut -c4-5} M/km
Sun Angle ${execpi 600 sed -n '30p' $HOME/4_Moon/rawg | cut -c-4}°
	  ${image $HOME/4_Moon/1.png -p 0,507 -s 40x40}



${color7}In Two Days${color} ${execi 3600 echo `date --date="+2 day" | awk '{print $1" "$3" "$2}'`}
${goto 50}${color7}Illumunation ${color}${execpi 600 sed -n '37p' $HOME/4_Moon/rawg}
${goto 60}${color7}Distance ${color}${execpi 600 sed -n '40p' $HOME/4_Moon/rawg | cut -c-3} K/km
${goto 50}${color7}Age ${color}${execpi 600 sed -n '41p' $HOME/4_Moon/rawg | cut -c-5} days
${goto 35}${color7}Angle ${color}${execpi 600 sed -n '42p' $HOME/4_Moon/rawg | cut -c-4}°
${color7}Phase ${color8} ${execpi 600 sed -n '43p' $HOME/4_Moon/rawg}${color}
${color2}Sun Distance ${execpi 600 sed -n '39p' $HOME/4_Moon/rawg | cut -c-3}.\
${execpi 600 sed -n '39p' $HOME/4_Moon/rawg | cut -c4-5} M/km
Sun Angle ${execpi 600 sed -n '38p' $HOME/4_Moon/rawg | cut -c-4}°${color}
	    ${image $HOME/4_Moon/2.png -p 0,663 -s 40x40}


See you later guys thank Sector11 and TEO big_smile  big_smile


here is the result on my desk

desk.jpg

Last edited by fvirgola80 (2015-11-11 14:02:54)


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#148 2015-11-11 18:10:28

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

»»»»» This is for conky v1.90 «««««

OK, here's another aid to help create another of Teo's scripts, this one is to help with:

1a) Accuweather_ConkyWeather_Font - 1a_12-2-14
2015_11_11_14_40_46_Scrot11.jpg

~/1a_accuweather_conkyweather_font/1a_companion.conky
- it uses the actual data files without going online.  So it is as accurate as your last update:

# pkill -xf "conky -q -c /home/sector11/1a_accuweather_conkyweather_font/1a_companion.conky" &
###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 1a AccuW font Data Files
### 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 150

minimum_size 710 00
#maximum_width 0

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

alignment tr
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
xftfont monospace:bold:size=8
xftalpha 1.0
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  ###
border_inner_margin 5
border_outer_margin 0
background yes
use_spacer none
no_buffers yes
imlib_cache_size 0
double_buffer yes

update_interval 1

TEXT
 ${time %T}${alignr}${time %x}
${alignc}UTC ${tztime UTC  %T}
${alignc}${time %z}

${alignc}1a AccuW ConkyWeather Font - 1a_12-2-14

curr_cond${goto 210}tod_ton${goto 475}last_days

↓↓ ←← Line Numbers${goto 210}↓↓ ←← Line Numbers${goto 475}↓↓ ←← Line Numbers
↓↓ - ↓Descrip↓     ↓Results↓${goto 210}↓↓ - ↓Descrip↓     ↓Results↓${goto 475}↓↓ - ↓Descrip↓     ↓Results↓
${membar 0,100}${goto 210}${membar 0,100}${goto 475}${membar 0,100}

01 - day ? night   ${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/curr_cond | cut -c-20}\
${goto 210}01 - ToD/ToN/OverN ${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}01 - dayName       ${execpi 600 sed -n '1p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
02 - font letter   ${execpi 600 sed -n '2p' $HOME/1a_accuweather_conkyweather_font/curr_cond | cut -c-20}\
${goto 210}02 - font letter   ${execpi 600 sed -n '2p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}02 - font letter   ${execpi 600 sed -n '2p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
03 - message       ${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/curr_cond | cut -c-20}\
${goto 210}03 - message       ${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}03 - message       ${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
04 - current temp  ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/curr_cond | cut -c-20}\
${goto 210}04 - High          ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}04 - High          ${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}05 - Low           ${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}05 - Low           ${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}06 - dayName       ${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}06 - dayName       ${execpi 600 sed -n '6p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}07 - font letter   ${execpi 600 sed -n '7p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}07 - font letter   ${execpi 600 sed -n '7p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}08 - message       ${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}08 - message       ${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}09 - High          ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}09 - High          ${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}10 - Low           ${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}10 - Low           ${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}11 - dayName       ${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}11 - dayName       ${execpi 600 sed -n '11p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}12 - font letter   ${execpi 600 sed -n '12p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}12 - font letter   ${execpi 600 sed -n '12p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}13 - message       ${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}13 - message       ${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}14 - High          ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}14 - High          ${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}15 - Low           ${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}15 - Low           ${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}16 - dayName       ${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}16 - dayName       ${execpi 600 sed -n '16p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}17 - font letter   ${execpi 600 sed -n '17p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}17 - font letter   ${execpi 600 sed -n '17p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}18 - message       ${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}18 - message       ${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}19 - High          ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}19 - High          ${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}20 - Low           ${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}20 - Low           ${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}21 - dayName       ${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}21 - dayName       ${execpi 600 sed -n '21p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}22 - font letter   ${execpi 600 sed -n '22p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}22 - font letter   ${execpi 600 sed -n '22p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}23 - message       ${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}23 - message       ${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}24 - High          ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}24 - High          ${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}
${goto 210}25 - Low           ${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/tod_ton | cut -c-20}\
${goto 475}25 - Low           ${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/last_days | cut -c-20}

And if you are interested in the conky as seen above above - a slightly modified version of this 1a AccuW conky:

# pkill -xf "conky -q -c /home/sector11/1a_accuweather_conkyweather_font/conkyrc_1a_int_s11" &
# works perfect - Mon 24 Nov 2014 18:18:09
# works perfect - Sat 24 Jan 2015 22:55:26
# works perfect - Tue 28 Apr 2015 19:57:45
# works perfect - Wed 11 Nov 2015 15:01:29
###  Begin Window Settings  ########################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints undecorated,below,skip_taskbar,skip_pager ##,sticky
#own_window_hints below,skip_taskbar,skip_pager ##,sticky
own_window_colour 000000
own_window_class Conky
own_window_title conkyrc 1a Int s11

### ARGB can be used for real transparency
### NOTE that a composite manager is required for real transparency.
  own_window_argb_visual yes # Options: yes or no

### 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 150

minimum_size 180 00	##	w|h
maximum_width 180

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 Fantasque Sans Mono:bold:size=10

# 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 C0C0C0 #Silver
color1 778899 #LightSlateGray
color2 F5F5DC #Beige
color3 87CEFA #LightSkyBlue
color4 48D1CC #MediumTurquoise
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 B0E0E6 #PowderBlue
color8 FFD700 #Gold
color9 CD5C5C #IndianRed
###########################################  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 yes #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 256

# 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 th0e 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 600 bash $HOME/1a_accuweather_conkyweather_font/1a}\
${alignc}${time %b %Y}${color}
${goto 27}${if_match ${time %w}==0}${color}SU${color1} MO TU WE TH FR SA${else}\
${if_match ${time %w}==1}${color1}SU ${color}MO${color1} TU WE TH FR SA${else}\
${if_match ${time %w}==2}${color1}SU MO ${color}TU${color1} WE TH FR SA${else}\
${if_match ${time %w}==3}${color1}SU MO TU ${color}WE${color1} TH FR SA${else}\
${if_match ${time %w}==4}${color1}SU MO TU WE ${color}TH${color1} FR SA${else}\
${if_match ${time %w}==5}${color1}SU MO TU WE TH ${color}FR${color1} SA${else}\
${color1}SU MO TU WE TH FR ${color0}SA${color}\
${endif}${endif}${endif}${endif}${endif}${endif}
${goto 27}${color1}${execpi 1800 LAR=`date +%-d`; ncal -bh | sed '2d' | sed -e '1d' -e 's/\<'$LAR'\>/${color}&${color1}/' | sed ':a;N;$!ba;s/\n/\n${goto 27}/g'}${color}${font}

${goto 50}Now ${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/curr_cond}${font}\
${goto 50}${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/curr_cond}° @ ${time %T}
${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/curr_cond|fold -sw25}
${goto 50}Forecasts ${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 50}${execi 9600 echo `date --date="0 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/tod_ton}° \
${color7}${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°${color}
${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 50}${execi 9600 echo `date --date="1 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/tod_ton}° \
${color7}${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°${color}
${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 50}${execi 9600 echo `date --date="2 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/tod_ton}° \
${color7}${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°${color}
${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 50}${execi 9600 echo `date --date="3 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/tod_ton}° \
${color7}${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°${color}
${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/tod_ton}${font}\
${goto 50}${execi 9600 echo `date --date="4 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/tod_ton}° \
${color7}${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/tod_ton}°${color}
${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/tod_ton|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '2p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 50}${execi 9600 echo `date --date="5 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '4p' $HOME/1a_accuweather_conkyweather_font/last_days}° \
${color7}${execpi 600 sed -n '5p' $HOME/1a_accuweather_conkyweather_font/last_days}°${color}
${execpi 600 sed -n '3p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '7p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 50}${execi 9600 echo `date --date="6 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '9p' $HOME/1a_accuweather_conkyweather_font/last_days}° \
${color7}${execpi 600 sed -n '10p' $HOME/1a_accuweather_conkyweather_font/last_days}°${color}
${execpi 600 sed -n '8p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '12p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 50}${execi 9600 echo `date --date="7 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '14p' $HOME/1a_accuweather_conkyweather_font/last_days}° \
${color7}${execpi 600 sed -n '15p' $HOME/1a_accuweather_conkyweather_font/last_days}°${color}
${execpi 600 sed -n '13p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '17p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 50}${execi 9600 echo `date --date="8 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '19p' $HOME/1a_accuweather_conkyweather_font/last_days}° \
${color7}${execpi 600 sed -n '20p' $HOME/1a_accuweather_conkyweather_font/last_days}°${color}
${execpi 600 sed -n '18p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -sw25}
${goto 50}${membar 0}\
${goto 5}${font conkyweather:size=20}${execi 600  sed -n '22p' ~/1a_accuweather_conkyweather_font/last_days}${font}\
${goto 50}${execi 9600 echo `date --date="9 day" | awk '{print $1" "$3" "$2}'`} \
${color9}${execpi 600 sed -n '24p' $HOME/1a_accuweather_conkyweather_font/last_days}° \
${color7}${execpi 600 sed -n '25p' $HOME/1a_accuweather_conkyweather_font/last_days}°${color}
${execpi 600 sed -n '23p' $HOME/1a_accuweather_conkyweather_font/last_days|fold -sw25}

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#149 2015-11-11 20:31:58

Temetka
Member
From: Sol System, Western Spiral Arm
Registered: 2015-10-14
Posts: 545

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

I'm having an issue running the 1b1 conky as seen in the scrot:

2015_11_11_12_27_58_scrot.jpg

Here's the code. I added a few lines that I copied from Sector 11's 9 Month's calendar so I can have a floating windowed weather conky. Please note that I get the exact same errors with or without those additional lines.

###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 9 Months

conky.config = {
-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
	own_window_type = 'override',
	own_window_transparent = true,
	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 = 'yes',
	use_xft = true,

-- Update interval in seconds
	update_interval = 3,

-- Minimum size of text area
	minimum_width = 355, minimum_height = 500,
	maximum_width = 357,

	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_margin = '9',

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

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

};

conky.text = [[
${font Arial:size=12}${color ffe595}WEATHER ${font}${hr 2}$color${texeci 500 bash $HOME/1b1_accuweather_images/1b1}
${image $HOME/1b1_accuweather_images/cc.png -p 0,60 -s 180x108}
${font Arial:size=10}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/messages}${font}${goto 200}${color ffe595}TEMP: $color${alignr}${execpi 600 sed -n '29p' $HOME/1b1_accuweather_images/curr_cond}°F (${execpi 600 sed -n '30p' $HOME/1b1_accuweather_images/curr_cond}°F)
${goto 200}${color ffe595}WIND: $color${alignr}${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/curr_cond} ${execpi 600 sed -n '38p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}HUM: $color${alignr}${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}DEW POINT: $color${alignr}${execpi 600 sed -n '35p' $HOME/1b1_accuweather_images/curr_cond}°F
${goto 200}${color ffe595}PR: $color${alignr}${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}VISIB: $color${alignr}${execpi 600 sed -n '37p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}CLOUD COVER: $color${alignr}${execpi 600 sed -n '36p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}UV INDEX: $color${alignr}${execpi 600 sed -n '34p' $HOME/1b1_accuweather_images/curr_cond} 
${goto 200}${color ffe595}S/M RISE: $color${alignr}${execpi 600 sed -n '39p' $HOME/1b1_accuweather_images/curr_cond}/${execpi 600 sed -n '41p' $HOME/1b1_accuweather_images/curr_cond}
${goto 200}${color ffe595}S/M SET: $color${alignr}${execpi 600 sed -n '40p' $HOME/1b1_accuweather_images/curr_cond}/${execpi 600 sed -n '42p' $HOME/1b1_accuweather_images/curr_cond}
${hr 1}
${goto 50}${font Arial:size=10}${color ffe595}TODAY$color$font${goto 230}${font Arial:size=10}${color ffe595}TONIGHT$color$font${image $HOME/1b1_accuweather_images/tod.png -p 0,205 -s 120x72}${image $HOME/1b1_accuweather_images/ton.png -p 190,205 -s 120x72}

${goto 145}${execpi 600 sed -n '26p' $HOME/1b1_accuweather_images/first_days}°F${goto 340}${execpi 600 sed -n '31p' $HOME/1b1_accuweather_images/first_days}°F
${goto 140}(${execpi 600 sed -n '27p' $HOME/1b1_accuweather_images/first_days}°F)${goto 335}(${execpi 600 sed -n '32p' $HOME/1b1_accuweather_images/first_days}°F)


${font Arial:size=8}${execpi 600 sed -n '2p' $HOME/1b1_accuweather_images/messages}${goto 195}${execpi 600 sed -n '3p' $HOME/1b1_accuweather_images/messages}$font
Chance of Precip: ${execpi 600 sed -n '28p' $HOME/1b1_accuweather_images/first_days}${goto 195}Chance of Precip: $color${execpi 600 sed -n '33p' $HOME/1b1_accuweather_images/first_days}
${hr 1}
${font Arial:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '5p' $HOME/1b1_accuweather_images/first_days}${goto 145}${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/first_days}${goto 270}${execpi 600 sed -n '15p' $HOME/1b1_accuweather_images/first_days}$color${font}${image $HOME/1b1_accuweather_images/6.png -p 0,330 -s 90x54}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '8p' $HOME/1b1_accuweather_images/first_days}°F${goto 210}${execpi 600 sed -n '13p' $HOME/1b1_accuweather_images/first_days}°F${goto 330}${execpi 600 sed -n '18p' $HOME/1b1_accuweather_images/first_days}°F
${goto 100}${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/first_days}°F${goto 210}${execpi 600 sed -n '14p' $HOME/1b1_accuweather_images/first_days}°F${goto 330}${execpi 600 sed -n '19p' $HOME/1b1_accuweather_images/first_days}°F${image $HOME/1b1_accuweather_images/11.png -p 110,330 -s 90x54}${image $HOME/1b1_accuweather_images/16.png -p 230,330 -s 90x54}

${execpi 600 sed -n '4p' $HOME/1b1_accuweather_images/messages}${goto 135}${execpi 600 sed -n '5p' $HOME/1b1_accuweather_images/messages}${goto 255}${execpi 600 sed -n '6p' $HOME/1b1_accuweather_images/messages}

${font Arial:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '20p' $HOME/1b1_accuweather_images/first_days}${goto 145}${execpi 600 sed -n '1p' $HOME/1b1_accuweather_images/last_days}${goto 270}${execpi 600 sed -n '6p' $HOME/1b1_accuweather_images/last_days}$color${font}${image $HOME/1b1_accuweather_images/21.png -p 0,420 -s 90x54}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '23p' $HOME/1b1_accuweather_images/first_days}°F${goto 210}${execpi 600 sed -n '4p' $HOME/1b1_accuweather_images/last_days}°F${goto 330}${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/last_days}°F
${font Arial:size=8}${goto 100}${execpi 600 sed -n '24p' $HOME/1b1_accuweather_images/first_days}°F${goto 210}${execpi 600 sed -n '5p' $HOME/1b1_accuweather_images/last_days}°F${goto 330}${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/last_days}°F${image $HOME/1b1_accuweather_images/last_2.png -p 110,420 -s 90x54}${image $HOME/1b1_accuweather_images/last_7.png -p 230,420 -s 90x54}

${execpi 600 sed -n '7p' $HOME/1b1_accuweather_images/messages}${goto 135}${execpi 600 sed -n '8p' $HOME/1b1_accuweather_images/messages}${goto 255}${execpi 600 sed -n '9p' $HOME/1b1_accuweather_images/messages}

${font Arial:size=9}${goto 40}${color ffe595}${execpi 600 sed -n '11p' $HOME/1b1_accuweather_images/last_days}${goto 145}${execpi 600 sed -n '16p' $HOME/1b1_accuweather_images/last_days}${goto 270}${execpi 600 sed -n '21p' $HOME/1b1_accuweather_images/last_days}$color${font}${image $HOME/1b1_accuweather_images/last_12.png -p 0,510 -s 90x54}

${font Arial:size=8}${goto 100}${execpi 600 sed -n '14p' $HOME/1b1_accuweather_images/last_days}°F${goto 210}${execpi 600 sed -n '19p' $HOME/1b1_accuweather_images/last_days}°F${goto 330}${execpi 600 sed -n '24p' $HOME/1b1_accuweather_images/last_days}°F
${font Arial:size=8}${goto 100}${execpi 600 sed -n '15p' $HOME/1b1_accuweather_images/last_days}°F${goto 210}${execpi 600 sed -n '20p' $HOME/1b1_accuweather_images/last_days}°F${goto 330}${execpi 600 sed -n '25p' $HOME/1b1_accuweather_images/last_days}°F${image $HOME/1b1_accuweather_images/last_17.png -p 110,510 -s 90x54}${image $HOME/1b1_accuweather_images/last_22.png -p 230,510 -s 90x54}

${execpi 600 sed -n '10p' $HOME/1b1_accuweather_images/messages}${goto 135}${execpi 600 sed -n '11p' $HOME/1b1_accuweather_images/messages}${goto 255}${execpi 600 sed -n '12p' $HOME/1b1_accuweather_images/messages}
]];

Any help would be appreciated. I've had this working before and IIRC I didn't have to change anything in the "usa" script, just add my location to the 1b1 script.

Thanks all.


EDIT: Found the answer earlier in the thread. Apparently whatever version of conky that ship's with a standard BL RC1 install is not 1.10 but some older version. Probably 1.9.

Anyway as posted earlier, here's the updated script for 1b1 usa

###  Begin Window Settings  ##################################################
own_window yes
own_window_type normal
own_window_transparent no #yes
own_window_hints skip_taskbar,skip_pager
own_window_colour 000000
own_window_class Conky
own_window_title 9 Months

Last edited by Temetka (2015-11-11 20:38:10)


The meaning of life is to just be alive. It is so plain and so obvious
    and so simple. And yet everybody rushes aroound in a great panic
             as if it were necessary to achieve something beyond themselves.
                                                                                                             - Alan Watts

Offline

#150 2015-11-11 21:47:46

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,557

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

Actually BL is Debian Stable - and stable has conky v1.90.  If you are using BL you've added conky v1.10 from the backports.

Temetka wrote:

Anyway as posted earlier, here's the updated script for 1b1 usa

Looks like you are missing a big chunk of the conky there.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

Board footer

Powered by FluxBB