conky.config = {

-- Conky by Qaisar Nawaz
-- Modified by Dean Loros
-- Conky settings #
	background = false,
	update_interval = 1,
	double_buffer = true,
	no_buffers = true,

-- number of cpu samples to average
-- set to 1 to disable averaging
	cpu_avg_samples = 1,

-- number of net samples to average
-- set to 1 to disable averaging
	net_avg_samples = 1,

-- Window specifications #
	own_window = true,
        own_window_type = 'desktop',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
	own_window_title = '',
	-- own_window_colour = '#736C6C',
	own_window_colour = '#263042',
	own_window_argb_visual = true,
	own_window_argb_value = 20,

	minimum_width = 230, minimum_height = 180,
	maximum_width = 230,

-- Alignment #
	alignment = 'top_right',
	gap_x = 2,
	gap_y = 726,

	border_inner_margin = 4,
	border_outer_margin = 0,

-- Misc Console #
        out_to_console = false,
        out_to_stderr = false,
        extra_newline = false,

-- Graphics settings #
	draw_shades = false,
	draw_outline = true,
	draw_borders = true,
	draw_graph_borders = true,

-- Text settings #
	use_xft = true,
	font = 'Technical CE:bold:size=10',
	xftalpha = 0.5,

	override_utf8_locale = true,

	imlib_cache_size = 0,

-- Color scheme #
	default_color = '#000000',
	color1 = 'white',
};

conky.text = [[
${font Technical CE:bold:size=13}${color1}NETWORK: ${color}${hr}${color1}${font}
${goto 10}Down${goto 60}${voffset 5}${downspeed bond0}${goto 120}/  ${totaldown bond0}
${offset 5}${color #324D23}${downspeedgraph bond0 20,220 324D23 77B753 100 -l}${color1}
${goto 10}UP${goto 60}${voffset 5}${upspeed bond0}${goto 120}/  ${totalup bond0}
${offset 5}${color #4B1B0C}${upspeedgraph bond0 20,220 4B1B0C FF5C2B 100 -l}${color1}
${color}${font Technical CE:bold:size=13}${color1}ADDRESS: ${color}${hr}${color1}${font}${voffset 5}
${goto 10}Wan:${goto 45}${execi 3600 wget -q -O - checkip.dyndns.org | sed -e 's/[^[:digit:]\|.]//g'}
${goto 10}Lan:${goto 45}${addr bond0}
${goto 10}Inbound Ports:${goto 120}${tcp_portmon 1 32767 count}
${goto 10}Outbound Ports:${goto 120}${tcp_portmon 32768 61000 count}
${color}${hr}${color1}
${goto 10}IP:${goto 30}${tcp_portmon 1 65535 rip  0}
${goto 30}${tcp_portmon 1 65535 rip  1}
${goto 30}${tcp_portmon 1 65535 rip  2}
${goto 30}${tcp_portmon 1 65535 rip  3}
${goto 30}${tcp_portmon 1 65535 rip  4}
]];
