This weather conky was created by ragamatrix (you can find him at the BunsenLabs conky thread):
this script - 02-sat-altern-us.sh:
#!/bin/bash
PREFIX=$HOME/.conky/ConkySatMap/
RSAT=${PREFIX}radar-sat
OUTPUT=${PREFIX}sat-alt-us.png
tailleRSAT=100
tailledecoupe=768x477
################################
################################
#Annotation pour vérifier si l’image est actualisée
jour=date +%d.%m.%y
; heuremodif=date +%H
; minmodif=date +%M
fonte=Open-Sans-Bold
libelle=""
#################################################################
#H=$(date +%-H)
#if (( 7< H && H < 18))
#then
echo “day”
adrS=“http://images.intellicast.com/WxImages/Satellite/hiusa.gif”
#else
echo “night”
#fi
wget -qO “$RSAT” “$adrS”
#=================================maps=test============================#
################################http://www.sat24.com/image.ashx?country=eu
################################http://www.meteo-mc.fr/dedie/Images/sat/satireu1.gif
##########D#####################https://meteo.gc.ca/data/satellite/goes_nam_1070x_100.jpg
##########D#####################http://images.intellicast.com/WxImages/VisibleSatellite/usa.jpg
##########N#####################https://meteo.gc.ca/data/satellite/goes_enam_1070_100.jpg
##########R#####################https://weather.msfc.nasa.gov/sport/dynamic/goesEast/abi/conus/20180507_105719_sport_goes16_abi_conus_11p20um.gif
##########R#####################http://images.intellicast.com/WxImages/Satellite/hiusa.gif
##########R#####################http://rammb.cira.colostate.edu/ramsdis/online/images/latest_hi_res/goes-r_proving_ground/geocolor_nolights_conusext1km.gif
convert $RSAT -resize 619x400! $RSAT.png
convert $RSAT.png -filter Lanczos -crop $tailledecoupe+70+17! $RSAT.png
convert $RSAT.png
( +clone -alpha extract
-draw ‘fill black polygon 0,0 0,5 5,0 fill white circle 5,5 5,0’
( +clone -flip ) -compose Multiply -composite
( +clone -flop ) -compose Multiply -composite
) -alpha off -compose CopyOpacity -composite $RSAT.png
convert $RSAT.png -gravity North -density 150
-fill black -font $fonte -pointsize 9 -annotate 0x10+50+5 “$libelle $jour @ $heuremodif : $minmodif” ${OUTPUT}
convert ${OUTPUT} -background black ( +clone -shadow 65x4+4+4 ) +swap -background none -flatten ${OUTPUT}
rm $RSAT
and the conkyrc
conky.config = {
– -- Paramètres Conky Météo – #
– Text alignment, other possible values are commented
alignment = ‘middle_right’,
–alignment top_right
–alignment bottom_left
–alignment bottom_right
– -- Conky settings – #
background = true,
update_interval = 1,
cpu_avg_samples = 2,
net_avg_samples = 2,
override_utf8_locale = true,
double_buffer = true,
no_buffers = true,
text_buffer_size = 2048,
imlib_cache_size = 0,
– -- Window specifications – #
own_window = true,
own_window_type = ‘normal’,
own_window_transparent = true,
own_window_hints = ‘undecorated,sticky,skip_taskbar,skip_pager,below’,
show_graph_range = false,
show_graph_scale = false,
short_units = true,
own_window_class = ‘Conky’,
border_inner_margin = 0,
border_outer_margin = 0,
– -- Graphics settings – #
draw_shades = false,
draw_outline = false,
draw_borders = false,
draw_graph_borders = true,
– -- Couleurs – #
default_color = ‘#645D5D’,
–color1 3B6702
–color2 645D5D
color0 = ‘Cornsilk1’,–FFD700#GOLD#3b6702 # vert
color1 = ‘black’,
color2 = ‘white’,
color3 = ‘#EFEFEF’,-- argile
color4 = ‘LightGoldenrod3’,–vert_spring#645d5d # gris foncé
color5 = ‘#7FDD4C’,-- vert clair
color6 = ‘#CC0000’,-- rouge
color7 = ‘#884DA7’,-- mauve
color8 = ‘#6892C6’,-- bleu ciel 2
color9 = ‘#443AFF’,-- bleu marine
– Gap between borders of screen and text
– same thing as passing -x at command line
gap_x = 20,
gap_y = -100,
– Minimum size of text area
minimum_width = 330, minimum_height = 285,–Taille minimum (px) ; largeur / hauteur
maximum_width = 330,–Largeur maximum (px)
–out_to_console no
– Force UTF8? note that UTF8 support required XFT
–override_utf8_locale yes
– Stippled borders?
–stippled_borders 0
– This is the number of times Conky will update before quitting.
– Set to zero to run forever.
–total_run_times 0
– set to yes if you want all text to be in uppercase
uppercase = false,
– Add spaces to keep things from moving about? This only affects certain objects.
–use_spacer no
– -- Text settings – #
– Use Xft?
use_xft = true,
xftalpha = 0.8,–0.4
font = ‘caviar dreams:style=Bold:size=9’,–Helvetica LT Std:size=10 #MaiandraGD:size=10
};
conky.text = [[
##RADAR_usa
${execi 1200 $HOME/.conky/ConkySatMap/02-sat-altern-us.sh}
${image $HOME/.conky/ConkySatMap/sat-alt-us.png -p 5,5 -s 450x350 -f 60}
]];
“instructions”
Hi, I’ve found the config for the us sat map, just modify the pathes and enjoy, I’ve commented out some configs and sat maps if you want to do some tests… I use the function to change map when the night comes with the radar one, but I didn’t find one for usa so it’s just keep the radar:
the script 02-sat-altern-us.sh:
he sent me the US one because that’s my locaton. He is French (Swiss?) and has a European version if needed.