######################
# - Conky settings - #
######################
update_interval 1
total_run_times 0
net_avg_samples 1
cpu_avg_samples 1

imlib_cache_size 0
double_buffer yes
no_buffers yes

#####################
# - Text settings - #
#####################
use_xft yes
xftfont Ubuntu:size=9
override_utf8_locale yes
text_buffer_size 2048

#############################
# - Window specifications - #
#############################
own_window_class Conky
own_window yes
own_window_type override
own_window_hints undecorated,sticky,skip_taskbar,skip_pager
own_window_type desktop
own_window_type normal
own_window_class conky

alignment tr
gap_x 12
gap_y 12
minimum_size 330 100


default_bar_size 60 8

#########################
# - Graphics settings - #
#########################
draw_shades no

default_color efefef
default_shade_color 1d1d1d
color0 ffffff
color1 ffffff
color2 ffffff


#lua_load ~/.conky/conkybg.lua
#lua_draw_hook_pre conky_draw_bg

TEXT
${voffset 5}

# |--WLAN0
${if_up wlan0}
${voffset -13}${goto 30} ${execi 60 iwgetid -r}  -  ${font Ubuntu:style=Bold:size=9}${color1}${wireless_link_qual wlan0}%${color}${font}  IP: ${color2}${addr wlan0}${color}    ${alignr 15}
${voffset 7}${color0}${font Liberation Serif:style=Bold:size=16}${color}${goto 95}${voffset 4}▲${voffset -4}   ${font Ubuntu:style=Bold:size=9}${color1}${upspeed wlan0}${color}${font Liberation Serif:style=Bold:size=12} ${goto 200}Σ  ${voffset -2}${font Ubuntu:style=Bold:size=9}${color2}${totalup wlan0}${color}${font}
${voffset 4}${color0}${font Liberation Serif:style=Bold:size=16}${color}${goto 95}${voffset 4}▼${voffset -4}   ${font Ubuntu:style=Bold:size=9}${color1}${downspeed wlan0}${color}${font Liberation Serif:style=Bold:size=12} ${goto 200}Σ  ${voffset -2}${font Ubuntu:style=Bold:size=9}${color2}${totaldown wlan0}${color}${font}
# |--ETH0
${else}${if_up eth0}
${voffset -13}${color0}${font Liberation Serif:size=10}${font Liberation Serif}${color}${goto 95}${voffset -6}▲: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed eth0}${color}${font} ${alignr 15}${color2}${upspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
${goto 95}Total: ${color2}${totalup eth0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}${font Liberation Serif}${color}${goto 95}${voffset -6}▼: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed eth0}${color}${font} ${alignr 15}${color2}${downspeedgraph eth0 8,60 92B6F1 CCDFFF}${color}
${goto 95}Total: ${color2}${totaldown eth0}${color}
${voffset -2}${color0}${font Poky:size=13} ${font}${color}${goto 95}${voffset -4}IP: ${alignr 15}${color2}${addr eth0}${color}
#${goto 95}Öffentliche IP: ${alignr 15}${color2}${execi 10800 ~/.conkycolors/bin/conkyIp}${color}
# |--PPP0
${endif}${else}${if_up ppp0}
${voffset -13}${color0}${font VariShapes Solid:size=14}q${font}${color}${goto 95}${voffset -6}Up: ${font Ubuntu:style=Bold:size=9}${color1}${upspeed ppp0}${color}${font} ${alignr 15}${color2}${upspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 95}Insgesamt: ${color2}${totalup ppp0}${color}
${voffset -2}${color0}${font VariShapes Solid:size=14}Q${font}${color}${goto 95}${voffset -6}Down: ${font Ubuntu:style=Bold:size=9}${color1}${downspeed ppp0}${color}${font} ${alignr 15}${color2}${downspeedgraph ppp0 8,60 92B6F1 CCDFFF}${color}
${goto 95}Insgesamt: ${color2}${totaldown ppp0}${color}
${voffset -2}${color0}${font Poky:size=13}w${font}${color}${goto 95}${voffset -4}Lokale IP: ${alignr 15}${color2}${addr ppp0}${color}
${endif}${else}${voffset 4}${color0}${font PizzaDude Bullets:size=12}4${font}${color}${goto 95}Network not detected${endif}${endif}

${image /usr/local/lib/ft10/icons/wifi-f10.png -p 30,55 -s 40x40}
