
conky.config = {
    alignment = 'bottom_right',
    background = false,
    border_width = 3,
    cpu_avg_samples = 2,
    default_color = 'black',
    default_outline_color = 'black',
    default_shade_color = 'black',
    double_buffer = true,
    draw_borders = true,
    draw_graph_borders = true,
    draw_outline = false,
    draw_shades = false,
    extra_newline = false,
    font = 'font sans-serif:bold:size=8',
    gap_x = 30,
    gap_y = 130,
    minimum_height = 5,
    minimum_width = 5,
    net_avg_samples = 2,
    no_buffers = true,
    out_to_console = false,
    out_to_ncurses = false,
    out_to_stderr = false,
    out_to_x = true,
    own_window = true,
    own_window_colour = '000000',
    own_window_class = 'Conky',
    own_window_type = 'desktop',
    own_window_transparent = true,
    own_window_hints = 'below',
    show_graph_range = false,
    show_graph_scale = false,
    stippled_borders = 0,
    temperature_unit = 'celsius',
    update_interval = 1.0,
    uppercase = false,
    use_spacer = 'none',
    use_xft = true,
    color1 ='green',
    color2 ='yellow',
    color3 ='orange',
    color4 ='red',
    color5 ='blue',
    color7 ='black',

}

conky.text = [[
${font sans-serif:bold:size=8}
${color 848482}Debian Facile:${alignr}${color D1D0CE}${scroll 28 $sysname $nodename $kernel} 
${color 848482}Session:${color D1D0CE}${uptime}
${color 848482}Charge moyenne du système:${color D1D0CE}1'${color D1D0CE} ${loadavg 1}${color D1D0CE} 5'${color D1D0CE} ${loadavg 2}${color D1D0CE} 15'${color D1D0CE} ${loadavg 3}
${color 848482}Mises à jour:${color D1D0CE}${alignc}${execi 3600 aptitude search "~U" | wc -l | tail}${color black}
${hr}
${color 848482}${alignc}Connexions
${color 848482}Entrantes: ${color D1D0CE}${tcp_portmon 1 32767 count}${alignc}${offset 28}${color 848482} Sortantes: ${color D1D0CE}${tcp_portmon 32768 61000 count}${alignr}${color 848482}Total: ${color D1D0CE}${tcp_portmon 1 65535 count}
${color 848482}Ethernet: ▲${color D1D0CE}${upspeed enp3s0}${color 848482}▼:${color D1D0CE}${downspeed enp3s0} ${goto 190}${color 848482}Wi-Fi: ▲${color D1D0CE}${upspeed wlp2s0b1}${color 848482}▼:${color D1D0CE}${downspeed wlp2s0b1}
${upspeedgraph enp3s0 20,175} ${upspeedgraph wlp2s0b1 20,175}
${color 848482}Signal Wi-Fi: ${color D1D0CE}${wireless_link_qual wlp2s0b1}% ${wireless_link_bar 4,250 wlp2s0b1}
${color 848482}Adresses Locales:${alignr}Adresses Externes:
${color D1D0CE}${execi 1000 ip a | grep inet | grep -vw lo | grep -v inet6 | cut -d \/ -f1 | sed 's/[^0-9\.]*//g'}  ${alignr}${execi 1000  wget -q -O- http://ipecho.net/plain; echo}
${color 848482}${alignc}Adresse Serveur
${alignc}${color D1D0CE}${gw_ip}${color black}

]]
