background yes
update_interval 1

cpu_avg_samples 2
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
# -- Window specifications -- #

own_window_title meteoall
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below

border_inner_margin 0
border_outer_margin 0

minimum_size 416 336
maximum_width 416
	

alignment top_right
gap_x 5
gap_y 0

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont CorporateMonoExtraBold:size=11
xftalpha 1

uppercase no

# Couleurs
default_color FFFFFF #blanc
default_shade_color 000000
default_outline_color black

# color1 e49c16
color1 b9b4b0 #gris rosé
color2 3bfb00 #vert
color3 f9f210 #jaune
color6 f298eb #mauve
color7 f3ec1f #jaune
color8 CCCCCC
color9 BBBBBB

# -- Declaration template -- #
template0 ${image  ~/conky/meteo_english/icones/base/\1.png -p \2 -s \3}
template1 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/noww}
template2 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/curr_cond}
template3 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/day\2}
template4 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/messages}
template5 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/listj}
template6 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/moon_phase_lunaire}
template7 ${font Dejavu Sans:style=Bold:size=\1}
template8 ${font CorporateMonoExtraBold:size=\1}
template9 ${execpi 1800 sed -n '\1p'  ~/conky/meteo_english/centering}

lua_load ~/conky/meteo_english/rotate.lua

TEXT
${voffset 42}${goto 225}${color6}${template7 17}Meteo+Moon
${voffset -5}${goto 190}${color2}${template8 14}${lua main_rotate1}
${goto 190}${template9 1}${font}
${voffset 25}${goto 120}${color3}Humidity: ${alignr 20}${color2}${template2 32}
${goto 20}${color2}${template8 12}${template9 3}${font}${goto 120}${color3}Pressure: ${alignr 20}${color2}${execpi 1800 sed -n '33p' ~/conky/meteo_english/curr_cond | cut -d" " -f1-2}${voffset -10}${font Dejavu Sans Mono:style=Bold:size=20}${execpi 1800 sed -n '33p' ~/conky/meteo_english/curr_cond | cut -d" " -f3}
${voffset -12}${goto 20}${color2}${template8 12}${template9 2}${font}${goto 120}${color3}UV Index: ${alignr 20}${color2} ${template2 34}
${goto 120}${color3}Cloud cover: ${alignr 13}${color2}${template2 35} 
${goto 120}${color3}Dew Point: ${alignr 20}${color2}${template9 19}
${goto 120}${color3}Ceiling: ${alignr 20}${color2}${template2 36}
${goto 120}${color3}Visibility: ${alignr 20}${color2}${template2 38}
${goto 120}${color3}Rise/Set: ${alignr 20}${color2}${template2 39}/${template2 40}
${voffset 9}${goto 120}${color6}${template8 13}Day${goto 290}Night${font}${color}
${goto 60}${color2}${template8 10}${template9 4}${goto 235}${template9 5}
${offset -20}${goto 60}${lua main_rotate2}${goto 235}${lua main_rotate3}
${voffset 120}${goto 50}${color3}${template5 4}${goto 142}${template5 6}${goto 234}${template5 8}${goto 326}${template5 10}${color}
${voffset 45}${goto 18}${color2}${template9 9}${goto 108}${template9 12}${goto 198}${template9 15}${goto 288}${template9 18}${color}
${voffset 12}${goto 50}${color6}${template7 15}Lunar Calendar${font}
${voffset -5}${goto 40}${template7 9}${color2}${execpi 1800 sed -n 19p ~/conky/meteo_english/meteo.cfg | awk -F'"' '{print $2}'} Hemisphere in GMT+1 Paris${font}
${voffset 5}${offset 35}${alignr 150}${color2}${template6 3}
${offset 40}${color3}Visibility:${alignr 145}${color2}${template6 5}
${offset 40}${color3}Apogee:${alignr 135}${color2}${template6 21}
${offset 40}${color3}Perigee:${alignr 120}${color2}${template6 19}
${offset 40}${color3}Phase${alignr 20}${color2}${template6 13}/${template6 15}
${offset 40}${color3}Node of the moon:${alignr 20}${color2}${template6 23}
${offset 40}${color3}Distance Moon-Earth:${alignr 20}${color2}${template6 7}
${offset 40}${color3}Age of the moon:${alignr 20}${color2}${template6 9}
${offset 40}${color3}Rise/Set:${color2}${template7 9}( Local Time )${font}${alignr 20}${color2}${template2 42}/${template2 43}
${voffset 10}${alignc 5}${color6}${template7 13}${template6 10}${font}
${voffset 60}${alignc}${color2}${template7 13}${template6 11}${font}
${voffset 30}${goto 30}${template8 13}${color3}${template9 20}
${goto 30}${template9 21}
${template0 fond_gen 0,0 406x981}
${template0 fond23x866 0,115 23x866}
#${template0 line200x6 208,35 170x6}
${template0 line330x12 130,120 266x12}
${template0 cc 0,0 204x151}
${template0 lateral 4,135 15x826}
${template0 wcc 36,200 80x80}
# ${template0 lignehorz 2,282 355x2}
# ${template0 lignevert 185,269 2x50}
# ${template0 p_5days 4,330 15x226}
${template0 J1day 78,363 122x90}
${template0 daycc_v 224,340 18x125}
${template0 J1night 248,363 122x90}
# ${template0 lignehorz 2,399 355x2}
${template0 day_v 35,449 15x31}
${template0 J2day 53,439 81x60}
${template0 J3day 142,439 81x60}
${template0 J4day 234,439 81x60}
${template0 J5day 326,439 81x60}
${template0 night_v 35,497 15x53}
${template0 J2night 53,489 81x60}
${template0 J3night 142,489 81x60}
${template0 J4night 234,489 81x60}
${template0 J5night 326,489 81x60}
${template0 line330x12 35,560 360x12}
# ${template0 moongmt1 4,580 15x376}
${template0 moon3 265,560 150x150}
${template0 partial 105,835 35x35}
${template0 total 290,835 35x35}
${template0 line330x12 35,915 360x12}
#${template0 line330x12 20,945 330x12}
