# -- Conky settings -- #
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 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 386 296
maximum_width 386
	

alignment top_right
gap_x 5
gap_y 670

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

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


# 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}
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 12}${goto 30}${color6}${template7 17}Lunar Calendar${font}
${voffset -5}${goto 17}${color2}${template7 10}${execpi 1800 sed -n 19p ~/conky/meteo_english/meteo.cfg | awk -F'"' '{print $2}'} Hemisphere GMT+1${font}
${voffset 20}${alignc 70}${color3}${template8 13}${lua main_rotate16}
${alignc 60}${color2}${lua main_rotate17}
${voffset 30}${alignc 20}${color6}${template7 14}${template6 10}${font}
# ${voffset 5}${goto 15}${color3}${template9 20}${goto 195}${template9 23}
# ${voffset 40}${color1}${goto 15}${template9 21}${goto 195}${template9 24}
${voffset 70}${alignc}${color2}${template7 13}${template6 11}${font}
# ${goto 15}${template9 22}${goto 195}${template9 25}
${template0 fond_lu 0,0 386x296}
${template0 moon3 240,0 150x150}
${template0 partial 90,185 35x35}
${template0 total 265,185 35x35}
${voffset -70}
