Mais ce n'est pas un conky lua, je ne sais pas si c'est important
le conkyrc
use_xft yes
xftfont URW Chancery L :style=bold:size=2
xftalpha 0.8
update_interval 1.0
total_run_times 0
own_window yes
own_window_class conky
own_window_type override
own_window_transparent no
##own_window_hints undecorated,below,skip_taskbar
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_argb_visual yes
own_window_argb_value 255
background no
double_buffer yes
minimum_size 20 10
maximum_wide 20
draw_shades no
draw_outline no
draw_borders no
stippled_borders 8
border_margin 0
border_width 0
default_color white
default_shade_color white
default_outline_color white
alignment top_left
gap_x 7
gap_y -150
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale yes
use_spacer no
min_port_monitors 0
min_port_monitor_connections 0
TEXT
${image /home/mireille/base11d.png -p -1,330 -s 325x185}
${color red}${voffset 370}${font URW Chancery L:style=Medium Italic:pixelsize=22}Météo Auch Weather.com-------------------${color2}${font}
${color}${font URW Chancery L :size=16}${execi 120 ~/.conky/meteo.sh FRXX0138}${color red}
${color}${color white}${voffset 10}${goto 15}${font URW Chancery L :size=25}${execi 120 ~/.conky/meteo2.sh "Température aujourd'hui"}${font}
${color yellow}${font weather:size=40}${voffset -35}${goto 30}${offset 90}${execi 120 ~/.conky/meteo2.sh "Conditions aujourd'hui"}${font}${voffset -6}
${font URW Chancery L :size=18}${color white}${goto 175}${voffset -38} Vent à
${goto 250}${color yellow}${font URW Chancery L :size=16}${voffset -31}${execi 120 ~/.conky/meteo2.sh "Vent aujourd'hui"}
meteo.sh
#!/bin/bash
# Répertoire de ce script et du XSLT
RUNDIR=~/.conky
# Emplacement du XSLT
XSLT=$RUNDIR/meteo.xslt
# Fichier de destination des informations
DESTFILE=/tmp/conky_meteo.txt
# Emplacement de xsltproc
XSLTCMD=/usr/bin/xsltproc
# Traitement
URL="http://xml.weather.com/weather/local/$1?cc=*&unit=m&dayf=2"
w3m -dump $URL | $XSLTCMD $XSLT - > $DESTFILE
meteo2.sh
#!/bin/bash
# Fichier où sont stockées les informations
SRCFILE=/tmp/conky_meteo.txt
# Traitement
RESULTAT=$(grep "$1" $SRCFILE | awk -F " : " '{print $2}')
# Transformation de la condition en lettre qui deviendra une icône
if echo "$1" | grep -i -q 'condition'; then
if echo "$RESULTAT" | grep -i -q 'partly cloudy'; then
RESULTAT='c'
elif echo "$RESULTAT" | grep -i -q 'fair'; then
RESULTAT='b'
elif echo "$RESULTAT" | grep -i -q 'sunny'; then
RESULTAT='D'
elif echo "$RESULTAT" | grep -i -q 'cloudy'; then
RESULTAT='d'
elif echo "$RESULTAT" | grep -E -i -q 'storm|thunder'; then
RESULTAT='i'
elif echo "$RESULTAT" | grep -i -q 'snow'; then
RESULTAT='k'
elif echo "$RESULTAT" | grep -i -q 'rain'; then
RESULTAT='h'
elif echo "$RESULTAT" | grep -i -q 'shower'; then
RESULTAT='g'
fi
# Transformation des heures à l'américaine (5:50 AM) en heures à la française (5h50)
elif echo "$1" | grep -i -q 'soleil'; then
RESULTAT=$(echo "$RESULTAT" | awk '{print $1}' | sed -e s/:/h/g)
# Transformation des heures PM (9h38 PM) en heures françaises (21h38)
if echo "$1" | grep -i -q 'coucher'; then
HEURES=$(echo "$RESULTAT" | awk -F "h" '{print $1}')
MINUTES=$(echo "$RESULTAT" | awk -F "h" '{print $2}')
HEURES=$(($HEURES + 12))
RESULTAT="${HEURES}h${MINUTES}"
fi
# Transformation de "Ville, Pays" en "Ville"
elif echo "$1" | grep -i -q 'ville'; then
RESULTAT=$(echo "$RESULTAT" | awk -F "," '{print $1}')
fi
# Affichage du résultat
echo $RESULTAT
Je ne sais pas si c'est ces scripts que tu as besoin.
Par contre ce qui me gêne dans ce conky, c'est que je ne sais pas récupérer l'orientation du vent, l'humidité, la pluie, comme dans ton conky.
C'est pourquoi j'aimerais récupérer les mêmes données sur ton conky mais de weather.com (j'avoue pas très clair non plus 😃)