#avoid flicker
double_buffer yes
use_xft yes
xftfont Robot-Light:size=40
#own window to run simultanious 2 or more conkys
own_window  yes
own_window_transparent yes
own_window_type conky
own_window_hints undecorated,sticky,skip_taskbar,skip_pager,below 

#borders
draw_borders no

color0 9FC951
color1 9FC951
color2 ffffff
 
draw_shades no

#position
alignment top_middle
gap_x 50
gap_y 30

minimum_size 660 0


#behaviour
update_interval 1
use_xft yes

own_window_argb_value 0
own_window_argb_visual no
own_window_colour 000000
#------------------------------
# locales dependend image size
# 
template0 ${execi 3600  sh -c 'printf $LANG | sed -E -e "/^ja|^zh|^ko/csmall" -e "/^ar|^he/cshort" -e "/^be|^de|^en|^mk|^fr_FR|^pt|^sr/cwide"  -e "/^es|^ga/clarge" -e "/^fa_IR/cbig" -e "1cnormal"'}

# normal 
template1 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 860x324 -p -30,-40}
# short
template2 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 840x324 -p -30,-40}
# small
template3 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 810x324 -p -30,-40}
# wide
template4 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 910x324 -p -30,-40}
# large
template5 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 960x324 -p -30,-40}
# big
template6 ${image ~/.conky/MX-Conkyglass/clockbg.png  -s 1210x324 -p -30,-40}

template9 ${if_match "${template0}" == "normal"}${template1}${else}${if_match "${template0}" == "short"}${template2}${else}${if_match "${template0}" == "small"}${template3}${else}${if_match "${template0}" == "wide"}${template4}${else}${if_match "${template0}" == "large"}${template5}${else}${if_match "${template0}" == "big"}${template6}${else}${template1}${endif}${endif}${endif}${endif}${endif}${endif}


TEXT
  ${font Robot-Light:size=100}${time %d}${font}${voffset -40}${time %a}${voffset 50}${offset -60}${font}${time %b}${voffset -85} ${font Loma:size=100}${color2}${voffset}${if_match "pmfix${time %p}" == "pmfix"}${time %k:%M}${else}${time %l:%M}${endif}   ${font}${color}${template9}
  ##SYS##
${alignc}${font Robot-Light:size=15}${offset 50}${color1}CPU ${offset 9}${color}${cpu cpu0}%${offset 9}${color1}HD ${color}root${offset 9}$color${fs_used_perc /}%${offset 9} home ${fs_used_perc /home}%${offset 9}${color1}RAM ${offset 9}${color}${memperc}%

