conky.config = {
	background = true,
	use_xft = true,
	font = 'Liberation Sans:size=9',
	xftalpha = 1,
	update_interval = 1.0,
	total_run_times = 0,
	own_window = true,
	own_window_transparent = true,
	own_window_type = 'normal',

	own_window_hints = 'undecorated,below,skip_taskbar,skip_pager',
	double_buffer = true,
	minimum_width = 700, minimum_height = 150,
	maximum_width = 640,
	draw_shades = false,
	draw_outline = false,
	draw_borders = false,
	draw_graph_borders = false,

	default_shade_color = '000000',
	default_outline_color = '828282',
	alignment = 'top_middle',
	gap_x = 20,
	gap_y = 50,
	no_buffers = true,
	uppercase = false,
	cpu_avg_samples = 2,
	override_utf8_locale = true,

	default_color = 'edf1f6',
	color1 = '2da83b',
	color2 = '2da73b',

	own_window_argb_value = 0,
	own_window_colour = '000000',


	own_window_argb_visual = true,

-- time template
   template0 = '%H:%M',

};

-- fluxbox adjustment
-- requires fluxbox to be running, increase sleep time in conky-startup.sh if necessary
if os.execute('pidof -q fluxbox') and not os.execute('pidof -q picom') then
   conky.config.own_window_argb_visual = false
end

conky.text = [[
#time
${alignc}${color}${font Quicksand - U:pixelsize=70}\
${if_match "pmfix${time %p}" == "pmfix"}${time ${template0}}${else}${time %I:%M}${endif}\
${font}${font}${voffset -45}${offset 10}${font Roboto-Light - U:pixelsize=35}\
${if_match "pmfix${time %p}" == "pmfix"} ${else}${time %P}${endif}\
${font}



#date & time
${voffset 5}${alignc}${color2}${font Droid:pixelsize=30}${time %A   %x}${font}

#sys
${font Roboto-Light:pixelsize=20}${alignc}${color1}hdd   $color${fs_used_perc /}%   ${color1}mem   ${color}${memperc}%   ${color1}cpu   ${color}${cpu}%${font}
]];
