conky.config = {
-- Linux Lite Conky Widget
-- Licence - GPLv2 Sharing is Caring
-- Jerry Bezencon - Linux Lite 2021

-- Gap between borders of screen and text
-- Same thing as passing -x at command line
	gap_x = 25,
	gap_y = 65,

-- Use Xft?
	use_xft = true,

-- Xft font when Xft is enabled
--xftfont Bitstream Vera Sans Mono:size=8
--xftfont Terminus:size=10

-- Text alpha when using Xft
	xftalpha = 0.8,

-- Update interval in seconds
	update_interval = 1.0,

-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
	total_run_times = 0,

-- Create own window instead of using desktop (required in nautilus)
	own_window = true,
--own_window_colour grey
	own_window_transparent = true,
	own_window_argb_visual = true,
	own_window_argb_value = 255,
	own_window_type = 'normal',
	own_window_class = 'conky-semi',
	own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',

-- Use a background image
	background = true,

-- Use double buffering (reduces flicker, may not work for everyone)
	double_buffer = true,

-- Minimum size of text area
	minimum_width = 300, minimum_height = 200,

-- Maximum width of widget
	maximum_width = 310,

-- Draw shades?
	draw_shades = true,

-- Draw outlines?
	draw_outline = false,

-- Draw borders around text
	draw_borders = false,
	draw_graph_borders = true,

-- Stippled borders?
--stippled_borders 8

-- border margins
--border_margin 4

-- border width
--border_width 1

-- Default colors and also border colors
	default_color = 'white',
	color2 = '#9fee62',-- System is up to date
	color3 = '#ff4343',-- Red - Number of Updates Available

	default_shade_color = 'black',
	default_outline_color = 'white',

-- Text alignment, other possible values are commented
	alignment = 'bottom_right',

-- Subtract file system buffers from used memory?
	no_buffers = true,

-- Set to yes if you want all text to be in uppercase
	uppercase = false,

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

-- Number of net samples to average
-- Set to 1 to disable averaging
--net_avg_samples 2

-- Force UTF8? note that UTF8 support required XFT
	override_utf8_locale = true,

-- Width and thickness of ${hr 2} bar separator
	default_bar_width = 150, default_bar_height = 5,

-- Lua rounded corners requirements
	lua_load = '/etc/conky-lite/draw_bg.lua',
	lua_draw_hook_pre = 'draw_bg',
	imlib_cache_size = 0,

-- Distance of text from edge of widget
	border_outer_margin = 10,

};

conky.text = [[
${image /etc/conky-lite/logo.png -p 110,100}
###INFO###
${alignc}${font Noto Sans:bold:size=16}${color ffe082}${exec cat /etc/llver}${font}
${color}
${alignc}${color}${time %A, }${time %e %B %Y}
${color}
${color slate grey}${hr 2}

###SYSTEM###
${alignc}${font Noto Sans:bold:size=13}${color ffe082}System Information${font}
${color}
${color}CPU Usage:	${alignr}$cpu%
${color}Memory Total:	${color}${alignr}${exec /usr/bin/free -h | awk '/Mem:/ { print $2 } /buffers\/cache/ { print $3 }'}
${color}Memory Used:	${color}${alignr}${exec /usr/bin/free -h | awk '/Mem:/ { print $3 } /buffers\/cache/ { print $3 }'}
${color}Logged in as:	${alignr}${color}$USER
${color}Firewall Status:	${alignr}${execpi 5 /etc/conky-lite/fwchk}
${color}
${color}${alignc}${exec /usr/bin/acpi | awk '{print $1,$3,$4,$5}'}
${color}
${color slate grey}${hr 2}


###UPDATES###
${alignc}${font Noto Sans:bold:size=13}${color ffe082}Update Status${font}
${color}
${alignc}${execpi 300 /etc/conky-lite/updates}

]];
