Bonjour,
je suis tombé sur cette page de la doc ubuntu qui parlait des fonts d'écran dynamiques en fonction de l'heure de la journée et aussi de la météo (avec une connexion internet).
Je me suis dit, c'est pas mal ça fat que j'essaye, mais horreur, je découvre que ça ne marche que sous gnome.
Je me suis donc lancé dans la création d'un script bash afin de profiter aussi de cette fonctionnalité.
Voici donc deux versions du scripts (c'est presque les mêmes), une pour changer le fond d'écran en fonction de l'heure et l'autre pour changer en fonction de l'heure et de la météo.
Script WallTime
Code : Tout sélectionner
#!/bin/bash
#Description: Ce script changera progressivement votre fond d'écran openbox (ou autre) en fonction de l'heure du jour
#Author: La_Poigne
#Date: 24 avril 2010
#Requiere: feh, imagemagick
#Info: les images sont à mettre de préférence en png afin de gagner du temps avec composite
#Repertoire contenant les images, le même que le script
_DIR=`dirname $0`
if [ ${_DIR} == "." ]
then
_DIR=$PWD
elif [ ${_DIR} == ".." ]
then
_DIR=`dirname $PWD`
fi
_IMG1=${_DIR}/Chameleon-sunrise.png
_IMG2=${_DIR}/Chameleon-day.png
_IMG3=${_DIR}/Chameleon-sunset.png
_IMG4=${_DIR}/Chameleon-night.png
_IMGB=${_DIR}/blend.png
_IMGW=${_DIR}/wallpaper.png
if [ -d ${_DIR} ] ; then
#On vérifie que le script ne tourne pas déjà
_ps=`ps aux`
_pid=`echo "${_ps}" | grep $0 | tr -s [:space:] | cut -d' ' -f2`
_lines=`echo "${_pid}" | wc -w`
if [ ${_lines} -gt 1 ]; then
_pid=`echo ${_pid} | cut -d' ' -f1`
echo "Un script en trop, on le kill (pid: ${_pid})"
kill ${_pid}
fi
#Boucle de fonctionnement
while true; do
_TIME=`date +"%H%M"`
if [ $_TIME -le 0412 ]
then
_IMG=${_IMG4}
_WAIT=3600
elif [ $_TIME -le 0512 ]
then
_IMG=${_IMG4}
_WAIT=720
elif [ $_TIME -le 0524 ]
then
composite -blend 0x90 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0536 ]
then
composite -blend 0x80 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0548 ]
then
composite -blend 0x70 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0600 ]
then
composite -blend 0x60 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0612 ]
then
composite -blend 0x50 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0624 ]
then
composite -blend 0x40 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0636 ]
then
composite -blend 0x30 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0648 ]
then
composite -blend 0x20 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0700 ]
then
composite -blend 0x10 null: ${_IMG4} -matte ${_IMGB}
composite ${_IMGB} ${_IMG1} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 0830 ]
then
_IMG=${_IMG1}
_WAIT=1800
elif [ $_TIME -le 0900 ]
then
composite -blend 0x90 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 0930 ]
then
composite -blend 0x80 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1000 ]
then
composite -blend 0x70 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1030 ]
then
composite -blend 0x60 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1100 ]
then
composite -blend 0x50 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1130 ]
then
composite -blend 0x40 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1200 ]
then
composite -blend 0x30 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1230 ]
then
composite -blend 0x20 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1300 ]
then
composite -blend 0x10 null: ${_IMG1} -matte ${_IMGB}
composite ${_IMGB} ${_IMG2} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1518 ]
then
_IMG=${_IMG2}
_WAIT=1080
elif [ $_TIME -le 1536 ]
then
composite -blend 0x90 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1554 ]
then
composite -blend 0x80 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1612 ]
then
composite -blend 0x70 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1630 ]
then
composite -blend 0x60 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1648 ]
then
composite -blend 0x50 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1706 ]
then
composite -blend 0x40 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1724 ]
then
composite -blend 0x30 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1742 ]
then
composite -blend 0x20 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1800 ]
then
composite -blend 0x10 null: ${_IMG2} -matte ${_IMGB}
composite ${_IMGB} ${_IMG3} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1918 ]
then
_IMG=${_IMG3}
_WAIT=1080
elif [ $_TIME -le 1936 ]
then
composite -blend 0x90 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1954 ]
then
composite -blend 0x80 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2012 ]
then
composite -blend 0x70 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2030 ]
then
composite -blend 0x60 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2048 ]
then
composite -blend 0x50 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2106 ]
then
composite -blend 0x40 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2124 ]
then
composite -blend 0x30 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2142 ]
then
composite -blend 0x20 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2200 ]
then
composite -blend 0x10 null: ${_IMG3} -matte ${_IMGB}
composite ${_IMGB} ${_IMG4} ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
else
_IMG=${_IMG4}
_WAIT=14400
fi
feh --bg-scale ${_IMG}
sleep ${_WAIT}
done
else
echo "Erreur le répertoire ${_DIR} n'existe pas"
fi
Code : Tout sélectionner
#!/bin/bash
#Description: Ce script changera progressivement votre fond d'écran openbox (ou autre) en fonction de l'heure du jour et de la meteo
#Author: La_Poigne
#Date: 25 avril 2010
#Requiere: feh, imagemagick, internet
#Info: les images sont à mettre de préférence en png afin de gagner du temps avec composite
#Reference de la ville pour la meteo
#Pour la trouver aller à http://www.weather.com et chercher la meteo pour votre ville
#la référence apparaitra dans l'url
refcity=FRXX0387
_URL=`echo "http://xml.weather.com/weather/local/"$refcity"?cc=*&unit=m"`
#Repertoire contenant les images, le même que le script
_DIR=`dirname $0`
if [ ${_DIR} == "." ]
then
_DIR=$PWD
elif [ ${_DIR} == ".." ]
then
_DIR=`dirname $PWD`
fi
_IMGB=${_DIR}/blend.png
_IMGW=${_DIR}/wallpaper.png
if [ -d ${_DIR} ] ; then
#On vérifie que le script ne tourne pas déjà
_ps=`ps aux`
_pid=`echo "${_ps}" | grep $0 | tr -s [:space:] | cut -d' ' -f2`
_lines=`echo "${_pid}" | wc -w`
if [ ${_lines} -gt 1 ]; then
_pid=`echo ${_pid} | cut -d' ' -f1`
echo "Un script en trop, on le kill (pid: ${_pid})"
kill ${_pid}
fi
#Boucle de fonctionnement
while true; do
_TIME=`date +"%H%M"`
#5 boucle de 10sec le temps de démarrer le pc
COUNT=0
while [ $COUNT -ne 5 ]; do
#Test de la connection internet
ping -c3 72.14.221.104
TEST=$?
if [ $TEST -eq 0 ]
then
_ICON=$(wget -q $_URL -O - | grep -m 1 "icon" | sed s/\ //g | sed s/\<icon\>//g | sed s/\<\\/icon\>//g | tr -d '\r')
COUNT=5
else
#Si pas internet meteo au hazard
_ICON=$(expr $RANDOM % 48)
COUNT=$(expr $COUNT + 1)
sleep 10
fi
done
_WEATHER=$(cat ${_DIR}/map | grep -w $_ICON | gawk '{ print $2 }')
_WEATHER=${_DIR}/${_WEATHER}
if [ $_TIME -le 0412 ]
then
_IMG=${_WEATHER}4.png
_WAIT=3600
elif [ $_TIME -le 0512 ]
then
_IMG=${_WEATHER}4.png
_WAIT=720
elif [ $_TIME -le 0524 ]
then
composite -blend 0x90 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0536 ]
then
composite -blend 0x80 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0548 ]
then
composite -blend 0x70 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0600 ]
then
composite -blend 0x60 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0612 ]
then
composite -blend 0x50 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0624 ]
then
composite -blend 0x40 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0636 ]
then
composite -blend 0x30 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0648 ]
then
composite -blend 0x20 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=720
elif [ $_TIME -le 0700 ]
then
composite -blend 0x10 null: ${_WEATHER}4.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}1.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 0830 ]
then
_IMG=${_WEATHER}1.png
_WAIT=1800
elif [ $_TIME -le 0900 ]
then
composite -blend 0x90 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 0930 ]
then
composite -blend 0x80 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1000 ]
then
composite -blend 0x70 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1030 ]
then
composite -blend 0x60 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1100 ]
then
composite -blend 0x50 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1130 ]
then
composite -blend 0x40 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1200 ]
then
composite -blend 0x30 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1230 ]
then
composite -blend 0x20 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1300 ]
then
composite -blend 0x10 null: ${_WEATHER}1.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}2.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1800
elif [ $_TIME -le 1518 ]
then
_IMG=${_WEATHER}2.png
_WAIT=1080
elif [ $_TIME -le 1536 ]
then
composite -blend 0x90 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1554 ]
then
composite -blend 0x80 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1612 ]
then
composite -blend 0x70 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1630 ]
then
composite -blend 0x60 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1648 ]
then
composite -blend 0x50 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1706 ]
then
composite -blend 0x40 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1724 ]
then
composite -blend 0x30 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1742 ]
then
composite -blend 0x20 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1800 ]
then
composite -blend 0x10 null: ${_WEATHER}2.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}3.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1918 ]
then
_IMG=${_WEATHER}3.png
_WAIT=1080
elif [ $_TIME -le 1936 ]
then
composite -blend 0x90 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 1954 ]
then
composite -blend 0x80 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2012 ]
then
composite -blend 0x70 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2030 ]
then
composite -blend 0x60 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2048 ]
then
composite -blend 0x50 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2106 ]
then
composite -blend 0x40 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2124 ]
then
composite -blend 0x30 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2142 ]
then
composite -blend 0x20 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
elif [ $_TIME -le 2200 ]
then
composite -blend 0x10 null: ${_WEATHER}3.png -matte ${_IMGB}
composite ${_IMGB} ${_WEATHER}4.png ${_IMGW}
_IMG=${_IMGW}
_WAIT=1080
else
_IMG=${_WEATHER}4.png
_WAIT=3600
fi
feh --bg-scale ${_IMG}
sleep ${_WAIT}
done
else
echo "Erreur le répertoire ${_DIR} n'existe pas"
fi
Pour la météo il vous faut le fichier map qui fait la correspondance entre les icones weather.com et le temps qu'il fait; il proviens du script de Kanor téléchargeable ici
Fichier map
Code : Tout sélectionner
0 storm
1 storm
2 storm
3 storm
4 storm
5 snow
6 rain
7 snow
8 rain
9 rain
10 rain
11 shower
12 shower
13 snow
14 snow
15 snow
16 snow
17 rain
18 rain
19 fog
20 fog
21 fog
22 fog
23 cloudy
24 cloudy
25 cloudy
26 cloudy
27 cloudy
28 cloudy
29 partly_cloudy
30 partly_cloudy
31 sunny
32 sunny
33 fair
34 fair
35 rain
36 sunny
37 storm
38 storm
39 storm
40 shower
41 snow
42 snow
43 snow
44 partly_cloudy
45 shower
46 snow
47 shower
J'attends toutes vos remarques, bonnes ou mauvaises, afin de les améliorer