conky.config = {
-- **********************************************************************
-- "VOLUME OSD"
-- **********************************************************************


	alignment = 'middle_middle',
	gap_x = 0,
	gap_y = 30,
	minimum_width = 260,
	minimum_height = 235,

	border_width = 1,
	diskio_avg_samples = 1,
	default_color = 'white',
	default_outline_color = 'white',
	default_shade_color = 'black',
	draw_borders = false,
	draw_graph_borders = true,
	draw_outline = false,
	draw_shades = false,

	no_buffers = true,
	double_buffer = true,
	out_to_console = false,
	out_to_stderr = false,
	extra_newline = false,
	short_units = true,

	own_window = true,
	own_window_class = 'conky-volume-osd',
	own_window_title = 'conky-volume-osd',
	own_window_type = 'dock',
	own_window_transparent = false,
	own_window_colour = '100000',
	own_window_argb_visual = true,
	own_window_argb_value = 250,
	own_window_hints = 'undecorated,sticky,skip_taskbar,skip_pager,above',

	stippled_borders = 0,
	uppercase = false,
	use_spacer = 'none',
	show_graph_scale = false,
	show_graph_range = false,

	use_xft = true,
	xftalpha = 0.1,
	font = 'Noto Sans:size=15',

	update_interval = 0.1,

	color0 = '#FFFFFF',
	color1 = '#606060',
	color2 = '#FFA300',
	color3 = '#30C5FF',
	color4 = '#77DDDD',
--  # Kleuren harddisk r/w bytes  
	color5 = '#FFAAAA',
	color6 = '#AAFFAA',
	
	imlib_cache_flush_interval = 10,
	imlib_cache_size = 4096,

	lua_load = './vol-osd.lua',
	lua_draw_hook_pre = 'conky_main_bars',

};

conky.text = [[
#${imagevoffset 5}${alignc}${color1}VOLUME
${image ./images/volume.png -p -4, -15 -s 280x270}${voffset -2}
${voffset 180}${alignc}${exec cat ./tempfiles/volume.tmp} %
]];
