SEARCH

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

You are not logged in.

#1 2012-04-28 16:53:52

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

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

Last edited by TeoBigusGeekus (2015-10-04 21:09:19)


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

Be excellent to each other!

#2 2012-04-28 17:03:48

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

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

Incredible work and results Teo.

Glad to see you here at CrunchBang, your journey has been a long and fortuitous one!

Offline

#3 2012-04-28 17:09:05

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

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


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

#4 2012-04-28 17:55:30

rhowaldt
#!*$%:)
Registered: 2011-03-09
Posts: 4,396

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

whew, nice! very nice. again, welcome to the community!

Offline

#5 2012-04-28 18:03:34

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

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

Welcome to the darkside Teo!!
I lurk on the "other forum" and have seen your work.
Glad to have you and your talents here! big_smile

Last edited by falldown (2012-04-28 18:36:37)

Offline

#6 2012-04-28 18:43:16

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

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

Lovely work Teo!

Have you had a look at parsing the hourly forecast page?  I'm a cyclocommuter, and I rely on the hourly forecasts to know whether I'll need my weatherproof gear for my commute.  (Though this time of year weather.com's forecasts become particularly unreliable in my area.)

Offline

#7 2012-04-28 18:56:46

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

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

@rhowaldt & falldown
Thanks for your kind words mates; it sure feels cozy here.

@pvsage
Do you mean an hourly forecast for all days, or just today?
Would accuweather's one interest you?

Last edited by TeoBigusGeekus (2012-04-28 18:57:01)


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

#8 2012-04-28 19:01:44

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

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

^ Cozy?  big_smile

Sure is busting the image of us being elitist, goth loving prigs who only seem to know shades of black and gray...

Offline

#9 2012-04-28 19:02:09

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

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

Accuweather does look interesting, though I've never considered it for an hourly forecast.  I probably should look at it and see if it trends any better than weather.com.

Since the hourly forecast is something I look at for a daily commute, just the current forecast (e.g. the 12 hours on the weather.com/weather/hourbyhour/{zipcode} page) would be splendid.

EDIT:  I see accuweather puts its chance of rain forecast on a separate page...this is the part I'm most interested in.

Last edited by pvsage (2012-04-28 19:06:38)

Offline

#10 2012-04-28 19:03:12

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

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

^ Accuweather is the best I have found...  Just an FYI

Offline

#11 2012-04-28 19:18:31

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

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

Last edited by falldown (2012-04-28 19:19:52)

Offline

#12 2012-04-28 20:25:28

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

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

## killall conky && conky -c ~/AccuW/AccuW.conky &
# Scripts by: TeoBigusDickus
# [url]http://tiny.cc/s6e4cw[/url]
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager

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

# fiddle with window
use_spacer right
use_xft yes

# Update interval in seconds
update_interval 3

# Minimum size of text area
minimum_size 285 0
maximum_width 285

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont WenQuanYi Micro Hei Mono:bold:size=8
uppercase no # 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 yes

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

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

imlib_cache_size 0

default_color ffffff
color1 ffe595

# stuff after 'TEXT' will be formatted on screen
TEXT
${color1}WEATHER (CPU Avg: ${cpu}) ${hr}${color}\
${texeci 500 bash /home/sector11/AccuW/acc_int_images}\
${image /home/sector11/AccuW/cc.png -p 10,25 -s 100x100}
${execpi 600 sed -n '1p' /home/sector11/AccuW/messages}
               ${font Zekton:bold:size=12}${execpi 600 sed -n '29p' /home/sector11/AccuW/curr_cond}°     ${execpi 600 sed -n '30p' /home/sector11/AccuW/curr_cond}°${font}

                ${color1}WIND: ${color}${execpi 600 sed -n '31p' /home/sector11/AccuW/curr_cond} ${execpi 600 sed -n '32p' /home/sector11/AccuW/curr_cond}
                 ${color1}HUM: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW/curr_cond}
                  ${color1}DP: ${color}${execpi 600 sed -n '37p' /home/sector11/AccuW/curr_cond}°
                  ${color1}PR: ${color}${execpi 600 sed -n '34p' /home/sector11/AccuW/curr_cond}
                 ${color1}VIS: ${color}${execpi 600 sed -n '38p' /home/sector11/AccuW/curr_cond}
${color1}UVI: ${color}${execpi 600 sed -n '36p' /home/sector11/AccuW/curr_cond}\
${goto 134}${color1}CLOUD: ${color}${execpi 600 sed -n '35p' /home/sector11/AccuW/curr_cond}
${color1}Sunrise:  ${color}${execpi 600 sed -n '39p' /home/sector11/AccuW/curr_cond}\
${goto 160} ${color1}Sunset: ${color}${execpi 600 sed -n '40p' /home/sector11/AccuW/curr_cond}
${color1}Moonrise: ${color}${execpi 600 sed -n '41p' /home/sector11/AccuW/curr_cond}\
${goto 160}${color1}Moonset: ${color}${execpi 600 sed -n '42p' /home/sector11/AccuW/curr_cond}
${hr 1}
 ${color1}TODAY${color} P: ${execpi 600 sed -n '28p' /home/sector11/AccuW/first_days}${goto 180}${color1}TONIGHT${color} P: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW/first_days}\
${image /home/sector11/AccuW/tod.png -p 10,190 -s 70x70}\
${image /home/sector11/AccuW/ton.png -p 170,190 -s 70x70}

           ${execpi 600 sed -n '26p' /home/sector11/AccuW/first_days}°\
${goto 260}${execpi 600 sed -n '31p' /home/sector11/AccuW/first_days}°

           ${execpi 600 sed -n '27p' /home/sector11/AccuW/first_days}°\
${goto 260}${execpi 600 sed -n '32p' /home/sector11/AccuW/first_days}°

${hr 1}
 ${color1}${execpi 600 sed -n '5p' /home/sector11/AccuW/first_days}\
${goto 115}${execpi 600 sed -n '10p' /home/sector11/AccuW/first_days}\
${goto 210}${execpi 600 sed -n '15p' /home/sector11/AccuW/first_days}${color}\
${image /home/sector11/AccuW/6.png -p 8,280 -s 50x50}\
${image /home/sector11/AccuW/11.png -p 100,280 -s 50x50}\
${image /home/sector11/AccuW/16.png -p 195,280 -s 50x50}

        ${execpi 600 sed -n '8p' /home/sector11/AccuW/first_days}°\
${goto 170}${execpi 600 sed -n '13p' /home/sector11/AccuW/first_days}°\
${goto 265}${execpi 600 sed -n '18p' /home/sector11/AccuW/first_days}°
        ${execpi 600 sed -n '9p' /home/sector11/AccuW/first_days}°\
${goto 170}${execpi 600 sed -n '14p' /home/sector11/AccuW/first_days}°\
${goto 265}${execpi 600 sed -n '19p' /home/sector11/AccuW/first_days}°

 ${color1}${execpi 600 sed -n '20p' /home/sector11/AccuW/first_days}\
${goto 115}${execpi 600 sed -n '1p' /home/sector11/AccuW/last_days}\
${goto 210}${execpi 600 sed -n '6p' /home/sector11/AccuW/last_days}${color}\
${image /home/sector11/AccuW/21.png -p 8,345 -s 50x50}\
${image /home/sector11/AccuW/last_2.png -p 100,345 -s 50x50}\
${image /home/sector11/AccuW/last_7.png -p 195,345 -s 50x50}

        ${execpi 600 sed -n '23p' /home/sector11/AccuW/first_days}°\
${goto 170}${execpi 600 sed -n '4p' /home/sector11/AccuW/last_days}°\
${goto 265}${execpi 600 sed -n '9p' /home/sector11/AccuW/last_days}°
        ${execpi 600 sed -n '24p' /home/sector11/AccuW/first_days}°\
${goto 170}${execpi 600 sed -n '5p' /home/sector11/AccuW/last_days}°\
${goto 265}${execpi 600 sed -n '10p' /home/sector11/AccuW/last_days}°

 ${color1}${execpi 600 sed -n '11p' /home/sector11/AccuW/last_days}\
${goto 115}${execpi 600 sed -n '16p' /home/sector11/AccuW/last_days}\
${goto 210}${execpi 600 sed -n '21p' /home/sector11/AccuW/last_days}${color}\
${image /home/sector11/AccuW/last_12.png -p 8,410 -s 50x50}\
${image /home/sector11/AccuW/last_17.png -p 100,410 -s 50x50}\
${image /home/sector11/AccuW/last_22.png -p 195,410 -s 50x50}

        ${execpi 600 sed -n '14p' /home/sector11/AccuW/last_days}°\
${goto 170}${execpi 600 sed -n '19p' /home/sector11/AccuW/last_days}°\
${goto 265}${execpi 600 sed -n '24p' /home/sector11/AccuW/last_days}°
        ${execpi 600 sed -n '15p' /home/sector11/AccuW/last_days}°\
${goto 170}${execpi 600 sed -n '20p' /home/sector11/AccuW/last_days}°\
${goto 265}${execpi 600 sed -n '25p' /home/sector11/AccuW/last_days}°

Last edited by Sector11 (2012-04-29 00:44:35)

Offline

#13 2012-04-28 20:26:29

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

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

## killall conky && conky -c ~/Accu_W/AccuW.conky &
# Vertical Weather
# By Sector11 -  26 March 2012
# Scripts by: TeoBigusDickus
# [url]http://tiny.cc/s6e4cw[/url]

background no
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints below,skip_taskbar,skip_pager,undecorated
####### on all desktops, uncoment below, comment above #############
# own_window_hints below,sticky,skip_taskbar,skip_pager,undecorated
own_window_title Vertical Weather
own_window_class Vertical Weather


# Graphics
double_buffer yes
use_spacer right # left right or none
override_utf8_locale yes
use_xft yes
xftfont WenQuanYi Micro Hei Mono:bold:size=7
## Get the font
## sudo apt-get install ttf-wqy-microhei
xftalpha 1.0 
update_interval 1
uppercase no  # set to yes if you want all text to be in uppercase
stippled_borders 0
# border_inner_margin 0
border_width 0
default_outline_color black
default_shade_color black
draw_borders no
draw_graph_borders no
draw_outline yes  # amplifies text if yes
draw_shades yes  # shadecolor black

# Colors
default_color DCDCDC #Gainsboro
color0 7FFF00 #Chartreuse
color1 FFA07A #LightSalmon
color2 FF8C00 #Darkorange
color3 778899 #LightSlateGrey
color4 FFD700 #Gold
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
#    colours below used by colorize script
color7 48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF6969 #redish FF0000 #Red


no_buffers yes  # Subtract file system buffers from used memory?
short_units yes
pad_percents 2

# Layout
alignment tl  # Aligned position on screen: tl, tr, tm, bl, br, bm, ml, mr
gap_x 0 # left-right
gap_y 220 # up-down
imlib_cache_size 0
minimum_size 65 0
maximum_width 65

text_buffer_size 5120

border_inner_margin 0
border_outer_margin 0
## --------------------------------------------------
### 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 override
## own_window_argb_visual yes

### When ARGB visuals are enabled, this use this to modify the alpha value
### Valid range is 0-255, where 0 is 0% opacity, and 255 is 100% opacity.
## own_window_argb_value 200
## -----------------------------------------------------


TEXT
${color8}  Buenos${texeci 500 bash /home/sector11/Accu_W/acc_int_images}
  Aires${color}
${image /home/sector11/Accu_W/cc.png -p 0,20 -s 65x39}



 ${execpi 600 sed -n '29p' /home/sector11/Accu_W/curr_cond}°${goto 37}${execpi 600 sed -n '30p' /home/sector11/Accu_W/curr_cond}°
${hr}
   ${color8}Today${color}${image /home/sector11/Accu_W/tod.png -p 0,90 -s 65x39}




 ${execpi 600 sed -n '26p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '27p' /home/sector11/Accu_W/first_days}°
  ${color3}Tonight${image /home/sector11/Accu_W/ton.png -p 0,150 -s 65x39}




 ${execpi 600 sed -n '31p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '32p' /home/sector11/Accu_W/first_days}°${color}
${hr}
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '5p' /home/sector11/Accu_W/first_days}${font}${color}${font}\
${image /home/sector11/Accu_W/6.png -p 0,220 -s 65x39}




 ${execpi 600 sed -n '8p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '9p' /home/sector11/Accu_W/first_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '10p' /home/sector11/Accu_W/first_days}${color}${font}\
${image /home/sector11/Accu_W/11.png -p 0,280 -s 65x39}




 ${execpi 600 sed -n '13p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '14p' /home/sector11/Accu_W/first_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '15p' /home/sector11/Accu_W/first_days}${color}${font}\
${image /home/sector11/Accu_W/16.png -p 0,340 -s 65x39}




 ${execpi 600 sed -n '18p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '19p' /home/sector11/Accu_W/first_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '20p' /home/sector11/Accu_W/first_days}${color}${font}\
${image /home/sector11/Accu_W/21.png -p 0,400 -s 65x39}




 ${execpi 600 sed -n '23p' /home/sector11/Accu_W/first_days}°${goto 37}${execpi 600 sed -n '24p' /home/sector11/Accu_W/first_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '1p' /home/sector11/Accu_W/last_days}${color}${font}\
${image /home/sector11/Accu_W/last_2.png -p 0,460 -s 65x39}




 ${execpi 600 sed -n '4p' /home/sector11/Accu_W/last_days}°${goto 37}${execpi 600 sed -n '5p' /home/sector11/Accu_W/last_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '6p' /home/sector11/Accu_W/last_days}${color}${font}\
${image /home/sector11/Accu_W/last_7.png -p 0,520 -s 65x39}




 ${execpi 600 sed -n '9p' /home/sector11/Accu_W/last_days}°${goto 37}${execpi 600 sed -n '10p' /home/sector11/Accu_W/last_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '11p' /home/sector11/Accu_W/last_days}${color}${font}\
${image /home/sector11/Accu_W/last_12.png -p 0,580 -s 65x39}




 ${execpi 600 sed -n '14p' /home/sector11/Accu_W/last_days}°${goto 37}${execpi 600 sed -n '15p' /home/sector11/Accu_W/last_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '16p' /home/sector11/Accu_W/last_days}${color}${font}\
${image /home/sector11/Accu_W/last_17.png -p 0,640 -s 65x39}




  ${execpi 600 sed -n '19p' /home/sector11/Accu_W/last_days}°${goto 37}${execpi 600 sed -n '20p' /home/sector11/Accu_W/last_days}°
 ${font WenQuanYi Micro Hei Mono:bold:size=6}${color8}${execpi 600 sed -n '21p' /home/sector11/Accu_W/last_days}${color}${font}\
${image /home/sector11/Accu_W/last_22.png -p 0,700 -s 65x39}




 ${execpi 600 sed -n '24p' /home/sector11/Accu_W/last_days}°${goto 37}${execpi 600 sed -n '25p' /home/sector11/Accu_W/last_days}°

Last edited by Sector11 (2012-04-29 00:40:19)

Offline

#14 2012-04-28 20:27:35

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

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

date +%T > /path/to/the/script/folder/time_updated

Offline

#15 2012-04-28 20:29:38

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

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

## killall conky && conky -c ~/AccuW_2/accuw.conky &
# Scripts by: TeoBigusDickus
# [url]http://tiny.cc/s6e4cw[/url]
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager

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

# fiddle with window
use_spacer right
use_xft yes

# Update interval in seconds
update_interval 5

# Minimum size of text area
minimum_size 290 0
maximum_width 290

override_utf8_locale yes

# Draw shades?
draw_shades yes

# Text stuff
draw_outline yes # amplifies text if yes
draw_borders no
#font freesans -12
xftfont WenQuanYi Micro Hei Mono:bold:size=8
uppercase no # set to yes if you want all text to be in uppercase

# Stippled borders?
stippled_borders 3

# border margins
border_inner_margin 5

# border width
border_width 10

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

own_window_colour brown
own_window_transparent yes

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

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

imlib_cache_size 0

default_color ffffff
color1 ffe595

## /home/sector11/AccuW_2/BsAs/acc_int_images
## /home/sector11/AccuW_2/London/acc_int_images

# stuff after 'TEXT' will be formatted on screen
TEXT
${color1}BsAs Arg ${time %a %d/%m/%y %H:%M}${color}\
${texeci 500 bash /home/sector11/AccuW_2/BsAs/acc_int_images}\
${texeci 500 bash /home/sector11/AccuW_2/London/acc_int_images}\
${image /home/sector11/AccuW_2/BsAs/cc.png -p 5,50 -s 110x66}
${execpi 600 sed -n '1p' /home/sector11/AccuW_2/BsAs/messages}
               ${font Zekton:bold:size=12}${execpi 600 sed -n '29p' /home/sector11/AccuW_2/BsAs/curr_cond}°     ${execpi 600 sed -n '30p' /home/sector11/AccuW_2/BsAs/curr_cond}°${font}

                ${color1}WIND: ${color}${execpi 600 sed -n '31p' /home/sector11/AccuW_2/BsAs/curr_cond} ${execpi 600 sed -n '32p' /home/sector11/AccuW_2/BsAs/curr_cond}
                 ${color1}HUM: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW_2/BsAs/curr_cond}
                  ${color1}DP: ${color}${execpi 600 sed -n '37p' /home/sector11/AccuW_2/BsAs/curr_cond}°
                  ${color1}PR: ${color}${execpi 600 sed -n '34p' /home/sector11/AccuW_2/BsAs/curr_cond}
                 ${color1}VIS: ${color}${execpi 600 sed -n '38p' /home/sector11/AccuW_2/BsAs/curr_cond}
${color1}UVI: ${color}${execpi 600 sed -n '36p' /home/sector11/AccuW_2/BsAs/curr_cond}\
${goto 134}${color1}CLOUD: ${color}${execpi 600 sed -n '35p' /home/sector11/AccuW_2/BsAs/curr_cond}
${color1}Sunrise:  ${color}${execpi 600 sed -n '39p' /home/sector11/AccuW_2/BsAs/curr_cond}\
${goto 160}  ${color1}Sunset: ${color}${execpi 600 sed -n '40p' /home/sector11/AccuW_2/BsAs/curr_cond}
${color1}Moonrise: ${color}${execpi 600 sed -n '41p' /home/sector11/AccuW_2/BsAs/curr_cond}\
${goto 160} ${color1}Moonset: ${color}${execpi 600 sed -n '42p' /home/sector11/AccuW_2/BsAs/curr_cond}
${hr 1}
 ${color1}TODAY${color} P: ${execpi 600 sed -n '28p' /home/sector11/AccuW_2/BsAs/first_days}${goto 180}${color1}TONIGHT${color} P: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW_2/BsAs/first_days}\
${image /home/sector11/AccuW_2/BsAs/tod.png -p 0,190 -s 110x66}\
${image /home/sector11/AccuW_2/BsAs/ton.png -p 145,190 -s 110x66}

              ${execpi 600 sed -n '26p' /home/sector11/AccuW_2/BsAs/first_days}°\
${goto 272}${execpi 600 sed -n '31p' /home/sector11/AccuW_2/BsAs/first_days}°

              ${execpi 600 sed -n '27p' /home/sector11/AccuW_2/BsAs/first_days}°\
${goto 272}${execpi 600 sed -n '32p' /home/sector11/AccuW_2/BsAs/first_days}°         

${hr}
${color1}London Ont ${tztime Canada/Eastern %a %d/%m/%y %H:%M}${color}\
${image /home/sector11/AccuW_2/London/cc.png -p 10,320 -s 110x66}
${execpi 600 sed -n '1p' /home/sector11/AccuW_2/London/messages}
               ${font Zekton:bold:size=12}${execpi 600 sed -n '29p' /home/sector11/AccuW_2/London/curr_cond}°     ${execpi 600 sed -n '30p' /home/sector11/AccuW_2/London/curr_cond}°${font}

                ${color1}WIND: ${color}${execpi 600 sed -n '31p' /home/sector11/AccuW_2/London/curr_cond} ${execpi 600 sed -n '32p' /home/sector11/AccuW_2/London/curr_cond}
                 ${color1}HUM: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW_2/London/curr_cond}
                  ${color1}DP: ${color}${execpi 600 sed -n '37p' /home/sector11/AccuW_2/London/curr_cond}°
                  ${color1}PR: ${color}${execpi 600 sed -n '34p' /home/sector11/AccuW_2/London/curr_cond}
                 ${color1}VIS: ${color}${execpi 600 sed -n '38p' /home/sector11/AccuW_2/London/curr_cond}
${color1}UVI: ${color}${execpi 600 sed -n '36p' /home/sector11/AccuW_2/London/curr_cond}\
${goto 134}${color1}CLOUD: ${color}${execpi 600 sed -n '35p' /home/sector11/AccuW_2/London/curr_cond}
${color1}Sunrise:  ${color}${execpi 600 sed -n '39p' /home/sector11/AccuW_2/London/curr_cond}\
${goto 160}  ${color1}Sunset: ${color}${execpi 600 sed -n '40p' /home/sector11/AccuW_2/London/curr_cond}
${color1}Moonrise: ${color}${execpi 600 sed -n '41p' /home/sector11/AccuW_2/London/curr_cond}\
${goto 160} ${color1}Moonset: ${color}${execpi 600 sed -n '42p' /home/sector11/AccuW_2/London/curr_cond}
${hr 1}
 ${color1}TODAY${color} P: ${execpi 600 sed -n '28p' /home/sector11/AccuW_2/London/first_days}${goto 180}${color1}TONIGHT${color} P: ${color}${execpi 600 sed -n '33p' /home/sector11/AccuW_2/London/first_days}\
${image /home/sector11/AccuW_2/London/tod.png -p 0,458 -s 110x66}\
${image /home/sector11/AccuW_2/London/ton.png -p 145,458 -s 110x66}

              ${execpi 600 sed -n '26p' /home/sector11/AccuW_2/London/first_days}°\
${goto 272}${execpi 600 sed -n '31p' /home/sector11/AccuW_2/London/first_days}°

              ${execpi 600 sed -n '27p' /home/sector11/AccuW_2/London/first_days}°\
${goto 272}${execpi 600 sed -n '32p' /home/sector11/AccuW_2/London/first_days}°

${hr 1}

Last edited by Sector11 (2012-04-28 20:35:23)

Offline

#16 2012-04-28 20:43:32

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

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

# killall conky && conky -c $HOME/AccuUSAI/acc_usai.conkyrc &
# 1e_Accuweather_USA_Images script by TeoBigusGeekus
# [url]http://ubuntuforums.org/showthread.php?t=1156383[/url]
###  Begin Window Settings  ##################################################
# Create own window instead of using desktop
own_window yes

# 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

own_window_type normal #override
own_window_transparent yes
own_window_hints undecorated,below,skip_taskbar,skip_pager
#own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# own_window_colour #4d4d4d
own_window_class Accuweather USA
own_window_title Accuweather USA

### 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 override
# own_window_argb_visual yes

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

minimum_size 335 0 ## width, height
maximum_width 335  ## width, usually a good idea to equal minimum width

gap_x 10 ### left &right
gap_y 10 ### up & down

alignment top_left
####################################################  End Window Settings  ###
###  Font Settings  ##########################################################
# Use Xft (anti-aliased font and stuff)
use_xft yes
#xftfont Anonymous Pro:size=9
xftfont WenQuanYi Micro Hei Mono:bold:size=8

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

draw_shades no #### <<<<<<------------------To see it easier on light screens.
#default_shade_color black

draw_outline no #### <<<<<<---------------- Amplifies text if yes
default_outline_color black

uppercase no
######################################################  End Font Settings  ###
###  Color Settings  #########################################################
default_shade_color gray
default_outline_color black

default_color DCDCDC #Gainsboro
color0 ffe595 #Teo Gold
color1 778899 #LightSlateGrey
color2 FF8C00 #Darkorange
color3 7FFF00 #Chartreuse
color4 FFA07A #LightSalmon
color5 FFDEAD #NavajoWhite
color6 00BFFF #DeepSkyBlue
color7 00FFFF #Cyan #48D1CC #MediumTurquoise
color8 FFFF00 #Yellow
color9 FF0000 #Red  #A52A2A #DarkRed
#####################################################  End Color Settings  ###
###  Borders Section  ########################################################
draw_borders no
# Stippled borders?
stippled_borders 0
# border margins
border_inner_margin 5
border_outer_margin 0
# border width
border_width 0
# graph borders
draw_graph_borders no
#####################################################  End Borders Secton  ###
###  Miscellaneous Section  ##################################################

# Boolean value, if true, Conky will be forked to background when started.
background no

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

# 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 system) buffers from used memory?
no_buffers yes

# change GiB to G and MiB to M
short_units yes

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

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

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

# The all important - How often conky refreshes.
# If you have a "Crey" try: 0.2 - smokin' - but watch the CPU useage go UP!
update_interval 5 



# stuff after 'TEXT' will be formatted on screen
TEXT
${color0}Driggs, ID - ${tztime US/Mountain %m/%d/%y - %H:%M} ${hr}${color}\
${texeci 500 bash $HOME/AccuUSAI/Driggs/acc_usa_images}\
${texeci 500 bash $HOME/AccuUSAI/Austin/acc_usa_images}\
${image $HOME/AccuUSAI/Driggs/cc.png -p 230,15 -s 67x40}
 ${execpi 600 sed -n '3p' $HOME/AccuUSAI/Driggs/curr_cond}
${font Dumbledor 1 Cut Up:size=20} Now ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Driggs/curr_cond}${goto 140}FL \
${if_match ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Driggs/curr_cond}>${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/curr_cond}}${color6}${font Dumbledor 1 Cut Down:size=20}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/curr_cond}${color}${else}\
${if_match ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Driggs/curr_cond} < ${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/curr_cond}}${color9}${font Dumbledor 1 Cut Up:size=20}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/curr_cond}${color}\
${else}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/curr_cond}${endif}${endif}${font}

 ${color0}Wind:${color}  ${execpi 600 sed -n '6p' $HOME/AccuUSAI/Driggs/curr_cond} ${execpi 600 sed -n '14p' $HOME/AccuUSAI/Driggs/curr_cond}\
${goto 170}${color0}Today    Tonight${color}
 ${color0}Hum:${color}   ${execpi 600 sed -n '7p' $HOME/AccuUSAI/Driggs/curr_cond}${goto 170}${execpi 600 sed -n '28p' $HOME/AccuUSAI/Driggs/tod_ton}\
  ${if_match ${execpi 600 sed -n '28p' $HOME/AccuUSAI/Driggs/tod_ton}>${execpi 600 sed -n '29p' $HOME/AccuUSAI/Driggs/tod_ton}}${color6}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${else}\
${if_match ${execpi 600 sed -n '28p' $HOME/AccuUSAI/Driggs/tod_ton}==${execpi 600 sed -n '29p' $HOME/AccuUSAI/Driggs/tod_ton}}${color}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${else}\
${color9}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${endif}${endif}\
${goto 245}${execpi 600 sed -n '32p' $HOME/AccuUSAI/Driggs/tod_ton}${goto 280}${if_match ${execpi 600 sed -n '32p' $HOME/AccuUSAI/Driggs/tod_ton}>${execpi 600 sed -n '33p' $HOME/AccuUSAI/Driggs/tod_ton}}${color6}${execpi 600 sed -n '33p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${else}\
${if_match ${execpi 600 sed -n '32p' $HOME/AccuUSAI/Driggs/tod_ton}==${execpi 600 sed -n '33p' $HOME/AccuUSAI/Driggs/tod_ton}}${color}${execpi 600 sed -n '32p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${else}\
${color9}${execpi 600 sed -n '33p' $HOME/AccuUSAI/Driggs/tod_ton}${color}${endif}${endif}
 ${color0}Bar:${color}   ${execpi 600 sed -n '8p' $HOME/AccuUSAI/Driggs/curr_cond}\
${image $HOME/AccuUSAI/Driggs/today.png -p 160,90 -p 160,100 -s 67x40}\
${image $HOME/AccuUSAI/Driggs/tonight.png -p 235,90 -p 230,100 -s 67x40}
 ${color0}Cloud:${color} ${execpi 600 sed -n '9p' $HOME/AccuUSAI/Driggs/curr_cond}
 ${color0}UVI:${color}   ${execpi 600 sed -n '10p' $HOME/AccuUSAI/Driggs/curr_cond}0${goto 95}${color0}DP:${color} ${execpi 600 sed -n '11p' $HOME/AccuUSAI/Driggs/curr_cond}
 ${color0}Vis:${color}   ${execpi 600 sed -n '13p' $HOME/AccuUSAI/Driggs/curr_cond}
 ${color0}Am. of Precip (1hr):${color} ${execpi 600 sed -n '12p' $HOME/AccuUSAI/Driggs/curr_cond}
 ${color0}Sunrise:${color} 0${execpi 600 sed -n '15p' $HOME/AccuUSAI/Driggs/curr_cond}${goto 170}${color0}Sunset:${color} ${execpi 600 sed -n '16p' $HOME/AccuUSAI/Driggs/curr_cond}
${hr 1}
   ${color0}${execpi 600 sed -n '6p' $HOME/AccuUSAI/Driggs/tod_ton}${goto 145}${execpi 600 sed -n '11p' $HOME/AccuUSAI/Driggs/tod_ton}${goto 260}${execpi 600 sed -n '16p' $HOME/AccuUSAI/Driggs/tod_ton}${color}
${goto 75}${color9}${execpi 600 sed -n '9p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 190}${execpi 600 sed -n '14p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 305}${execpi 600 sed -n '19p' $HOME/AccuUSAI/Driggs/tod_ton}°

${goto 75}${color6}${execpi 600 sed -n '10p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 190}${execpi 600 sed -n '15p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 305}${execpi 600 sed -n '20p' $HOME/AccuUSAI/Driggs/tod_ton}°
${image $HOME/AccuUSAI/Driggs/7.png -p 0,195  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/12.png -p 115,195  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/17.png -p 230,195  -s 67x40}
   ${color0}${execpi 600 sed -n '21p' $HOME/AccuUSAI/Driggs/tod_ton}${goto 145}${execpi 600 sed -n '1p' $HOME/AccuUSAI/Driggs/last_days}${goto 260}${execpi 600 sed -n '6p' $HOME/AccuUSAI/Driggs/last_days}${color}
${goto 75}${color9}${execpi 600 sed -n '24p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 190}${execpi 600 sed -n '4p' $HOME/AccuUSAI/Driggs/last_days}°${goto 305}${execpi 600 sed -n '9p' $HOME/AccuUSAI/Driggs/last_days}°${color}

${goto 75}${color6}${execpi 600 sed -n '25p' $HOME/AccuUSAI/Driggs/tod_ton}°${goto 190}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Driggs/last_days}°${goto 305}${execpi 600 sed -n '10p' $HOME/AccuUSAI/Driggs/last_days}°${color}
${image $HOME/AccuUSAI/Driggs/22.png -p 0,260  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/N2.png -p 115,260  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/N7.png -p 230,260  -s 67x40}
   ${color0}${execpi 600 sed -n '11p' $HOME/AccuUSAI/Driggs/last_days}${goto 145}${execpi 600 sed -n '16p' $HOME/AccuUSAI/Driggs/last_days}${goto 260}${execpi 600 sed -n '21p' $HOME/AccuUSAI/Driggs/last_days}${color}
${goto 75}${color9}${execpi 600 sed -n '14p' $HOME/AccuUSAI/Driggs/last_days}°${goto 190}${execpi 600 sed -n '19p' $HOME/AccuUSAI/Driggs/last_days}°${goto 305}${execpi 600 sed -n '24p' $HOME/AccuUSAI/Driggs/last_days}°${color}

${goto 75}${color6}${execpi 600 sed -n '15p' $HOME/AccuUSAI/Driggs/last_days}°${goto 190}${execpi 600 sed -n '20p' $HOME/AccuUSAI/Driggs/last_days}°${goto 305}${execpi 600 sed -n '25p' $HOME/AccuUSAI/Driggs/last_days}°${color}
${image $HOME/AccuUSAI/Driggs/N12.png -p 0,325  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/N17.png -p 115,325  -s 67x40}\
${image $HOME/AccuUSAI/Driggs/N22.png -p 230,325  -s 67x40}
${color0}Austin, TX - ${tztime US/Central %m/%d/%y - %H:%M} ${hr}${color}\
${image $HOME/AccuUSAI/Austin/cc.png -p 230,395 -s 67x40}
 ${execpi 600 sed -n '3p' $HOME/AccuUSAI/Austin/curr_cond}
${font Dumbledor 1 Cut Up:size=20} Now ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Austin/curr_cond}${goto 140}FL \
${if_match ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Austin/curr_cond}>${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/curr_cond}}${color6}${font Dumbledor 1 Cut Down:size=20}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/curr_cond}${color}${else}\
${if_match ${execpi 600 sed -n '4p' $HOME/AccuUSAI/Austin/curr_cond} < ${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/curr_cond}}${color9}${font Dumbledor 1 Cut Up:size=20}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/curr_cond}${color}\
${else}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/curr_cond}${endif}${endif}${font}

 ${color0}Wind:${color}  ${execpi 600 sed -n '6p' $HOME/AccuUSAI/Austin/curr_cond} ${execpi 600 sed -n '14p' $HOME/AccuUSAI/Austin/curr_cond}\
${goto 170}${color0}Today    Tonight${color}
 ${color0}Hum:${color}   ${execpi 600 sed -n '7p' $HOME/AccuUSAI/Austin/curr_cond}${goto 170}${execpi 600 sed -n '28p' $HOME/AccuUSAI/Austin/tod_ton}\
  ${if_match ${execpi 600 sed -n '28p' $HOME/AccuUSAI/Austin/tod_ton}>${execpi 600 sed -n '29p' $HOME/AccuUSAI/Austin/tod_ton}}${color6}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Austin/tod_ton}${color}${else}\
${if_match ${execpi 600 sed -n '28p' $HOME/AccuUSAI/Austin/tod_ton}==${execpi 600 sed -n '29p' $HOME/AccuUSAI/Austin/tod_ton}}${color}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Austin/tod_ton}${color}${else}\
${color9}${execpi 600 sed -n '29p' $HOME/AccuUSAI/Austin/tod_ton}${color}${endif}${endif}\
${goto 245}${execpi 600 sed -n '32p' $HOME/AccuUSAI/Austin/tod_ton}${goto 280}${if_match ${execpi 600 sed -n '32p' $HOME/AccuUSAI/Austin/tod_ton}>${execpi 600 sed -n '33p' $HOME/AccuUSAI/Austin/tod_ton}}${color6}${execpi 600 sed -n '33p' $HOME/AccuUSAI/Austin/tod_ton}${color}${else}\
${if_match ${execpi 600 sed -n '32p' $HOME/AccuUSAI/Austin/tod_ton}==${execpi 600 sed -n '33p' $HOME/AccuUSAI/Austin/tod_ton}}${color}${execpi 600 sed -n '32p' $HOME/AccuUSAI/Austin/tod_ton}${color}${else}\
${color9}${execpi 600 sed -n '33p' $HOME/AccuUSAI/Austin/tod_ton}${color}${endif}${endif}
 ${color0}Bar:${color}   ${execpi 600 sed -n '8p' $HOME/AccuUSAI/Austin/curr_cond}\
${image $HOME/AccuUSAI/Austin/today.png -p 160,470 -p 160,100 -s 67x40}\
${image $HOME/AccuUSAI/Austin/tonight.png -p 235,470 -p 230,100 -s 67x40}
 ${color0}Cloud:${color} ${execpi 600 sed -n '9p' $HOME/AccuUSAI/Austin/curr_cond}
 ${color0}UVI:${color}   ${execpi 600 sed -n '10p' $HOME/AccuUSAI/Austin/curr_cond}0${goto 95}${color0}DP:${color} ${execpi 600 sed -n '11p' $HOME/AccuUSAI/Austin/curr_cond}
 ${color0}Vis:${color}   ${execpi 600 sed -n '13p' $HOME/AccuUSAI/Austin/curr_cond}
 ${color0}Am. of Precip (1hr):${color} ${execpi 600 sed -n '12p' $HOME/AccuUSAI/Austin/curr_cond}
 ${color0}Sunrise:${color} 0${execpi 600 sed -n '15p' $HOME/AccuUSAI/Austin/curr_cond}${goto 170}${color0}Sunset:${color} ${execpi 600 sed -n '16p' $HOME/AccuUSAI/Austin/curr_cond}
${hr 1}
   ${color0}${execpi 600 sed -n '6p' $HOME/AccuUSAI/Austin/tod_ton}${goto 145}${execpi 600 sed -n '11p' $HOME/AccuUSAI/Austin/tod_ton}${goto 260}${execpi 600 sed -n '16p' $HOME/AccuUSAI/Austin/tod_ton}${color}
${goto 75}${color9}${execpi 600 sed -n '9p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 190}${execpi 600 sed -n '14p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 305}${execpi 600 sed -n '19p' $HOME/AccuUSAI/Austin/tod_ton}°

${goto 75}${color6}${execpi 600 sed -n '10p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 190}${execpi 600 sed -n '15p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 305}${execpi 600 sed -n '20p' $HOME/AccuUSAI/Austin/tod_ton}°
${image $HOME/AccuUSAI/Austin/7.png -p 0,575  -s 67x40}\
${image $HOME/AccuUSAI/Austin/12.png -p 115,575  -s 67x40}\
${image $HOME/AccuUSAI/Austin/17.png -p 230,575  -s 67x40}
   ${color0}${execpi 600 sed -n '21p' $HOME/AccuUSAI/Austin/tod_ton}${goto 145}${execpi 600 sed -n '1p' $HOME/AccuUSAI/Austin/last_days}${goto 260}${execpi 600 sed -n '6p' $HOME/AccuUSAI/Austin/last_days}${color}
${goto 75}${color9}${execpi 600 sed -n '24p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 190}${execpi 600 sed -n '4p' $HOME/AccuUSAI/Austin/last_days}°${goto 305}${execpi 600 sed -n '9p' $HOME/AccuUSAI/Austin/last_days}°${color}

${goto 75}${color6}${execpi 600 sed -n '25p' $HOME/AccuUSAI/Austin/tod_ton}°${goto 190}${execpi 600 sed -n '5p' $HOME/AccuUSAI/Austin/last_days}°${goto 305}${execpi 600 sed -n '10p' $HOME/AccuUSAI/Austin/last_days}°${color}
${image $HOME/AccuUSAI/Austin/22.png -p 0,640  -s 67x40}\
${image $HOME/AccuUSAI/Austin/N2.png -p 115,640  -s 67x40}\
${image $HOME/AccuUSAI/Austin/N7.png -p 230,640  -s 67x40}
   ${color0}${execpi 600 sed -n '11p' $HOME/AccuUSAI/Austin/last_days}${goto 145}${execpi 600 sed -n '16p' $HOME/AccuUSAI/Austin/last_days}${goto 260}${execpi 600 sed -n '21p' $HOME/AccuUSAI/Austin/last_days}${color}
${goto 75}${color9}${execpi 600 sed -n '14p' $HOME/AccuUSAI/Austin/last_days}°${goto 190}${execpi 600 sed -n '19p' $HOME/AccuUSAI/Austin/last_days}°${goto 305}${execpi 600 sed -n '24p' $HOME/AccuUSAI/Austin/last_days}°${color}

${goto 75}${color6}${execpi 600 sed -n '15p' $HOME/AccuUSAI/Austin/last_days}°${goto 190}${execpi 600 sed -n '20p' $HOME/AccuUSAI/Austin/last_days}°${goto 305}${execpi 600 sed -n '25p' $HOME/AccuUSAI/Austin/last_days}°${color}
${image $HOME/AccuUSAI/Austin/N12.png -p 0,705  -s 67x40}\
${image $HOME/AccuUSAI/Austin/N17.png -p 115,705  -s 67x40}\
${image $HOME/AccuUSAI/Austin/N22.png -p 230,705  -s 67x40}

Offline

#17 2012-04-28 20:48:24

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

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

~/Accu_US_INT/acc_us_int.conky
~/Accu_US_INT/Falun
~/Accu_US_INT/Falun/acc_int_images
~/Accu_US_INT/Falun/Forecast_Images
~/Accu_US_INT/Sanjo
~/Accu_US_INT/Sanjo/acc_int_images
~/Accu_US_INT/Sanjo/Forecast_Images
~/Accu_US_INT/Austin
~/Accu_US_INT/Austin/acc_usa_images
~/Accu_US_INT/Austin/Forecast_Images
~/Accu_US_INT/Driggs
~/Accu_US_INT/Driggs/acc_usa_images
~/Accu_US_INT/Driggs/Forecast_Images

Last edited by Sector11 (2012-04-28 20:51:43)

Offline

#18 2012-04-28 20:55:05

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

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

-10 / 101°

Offline

#19 2012-04-28 21:05:26

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

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

Offline

#20 2012-04-28 21:08:24

VastOne
#! Ranger
From: V-Ger
Registered: 2011-04-26
Posts: 10,165
Website

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

@Sector11 - Incredible work and displays..

+ 1,000,000

Thanks for sharing all that!

Offline

#21 2012-04-28 21:16:56

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

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

Last edited by Sector11 (2012-04-28 21:17:38)

Offline

#22 2012-04-29 08:11:33

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

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


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

#23 2012-04-29 09:30:38

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

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

Rsleigh, NC  27603

Offline

#24 2012-04-29 14:53:25

TeoBigusGeekus
#! Die Hard
From: /Greece/Kastoria
Registered: 2012-04-28
Posts: 963

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

#!/bin/bash

wget -O $HOME/Raleigh_hourly/raw http://www.accuweather.com/en/us/raleigh-nc/27601/weather-accupop/329823

sed -i '/Next 24 Hours/,/Next 24 Hours/!d' $HOME/Raleigh_hourly/raw
egrep -i '<\/th>|height' $HOME/Raleigh_hourly/raw > $HOME/Raleigh_hourly/hourly_precip
sed -i -e 's/^.*height: //g' -e 's/%;.*$/%/g' -e 's/^.*"row">//g' $HOME/Raleigh_hourly/hourly_precip
sed -i -e 's/^.*<th>//g' -e 's/<\/th>.*$//g' -e 's/^.*col">//g' $HOME/Raleigh_hourly/hourly_precip
sed -i -e 's/<span>\|<\/span>//g' -e '/"first"/d' -e 's/<br>\|<br \/>/:/g' $HOME/Raleigh_hourly/hourly_precip

Last edited by TeoBigusGeekus (2012-05-17 16:35:06)


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

Be excellent to each other!

#25 2012-04-29 17:56:36

pvsage
Internal Affairs
From: North Carolina
Registered: 2009-10-18
Posts: 13,970

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

Woah, this is GREAT!  Thanks! big_smile

Offline

Board footer

Powered by FluxBB

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

Debian Logo