conky.config = {
--# output to X <yes/no>
	out_to_x = false,

--# Create own window to draw <yes/no>
	own_window = false,

--# Print everything to console?
	out_to_console = true,

--# Use double buffering (reduces flicker, not needed for console output)
	double_buffer = false,

--# Set to yes if you want Conky to be forked in the background
	background = false,

--# 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,

--# How strict should if_up be when testing an interface for being up?
--# The value is one of up, link or address, to check for the interface
--# being solely up, being up and having link or being up, having link
--# and an assigned IP address.
	if_up_strictness = 'address',


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

	use_spacer = 'left',

};

conky.text = [[
%{c} load: ${loadavg 1} ${loadavg 2} ${loadavg 3} | ram: ${memperc}% | swap: ${swapperc} | processes: ${processes} | ${if_up wlan0} wlan:${wireless_link_qual_perc wlan0}% ${wireless_essid wlan0} ↓${downspeed wlan0} ↑${upspeed wlan0} |$endif ${if_up enp0s25:} lan: ↓${downspeed wlan0} ↑${upspeed wlan0} |$endif bat ${exec $HOME/.config/herbstluftwm/conky-bat/index.js}
]];
