Ok so this is something i found on i3 main website and made it my own, first you should get familiar with below link before using this conky.
https://i3wm.org/docs/user-contributed/conky-i3bar.html
My i3 bar conky https://cdn.scrot.moe/images/2019/02/18/2019-02-18-234749_1366x768_scrot.png
wrapper script:
#!/bin/sh
# Send the header so that i3bar knows we want to use JSON:
echo '{"version":1}'
# Begin the endless array.
echo '['
# We send an empty first array of blocks to make the loop simpler:
echo '[],'
# Now send blocks with information forever:
exec conky -c $HOME/.config/conky/i3bar.conky.conf
i3bar.conky.conf using font awesome unicode glyphs
conky.config = {
out_to_x = false,
own_window = false,
out_to_console = true,
background = false,
max_text_width = 0,
-- Update interval in seconds
update_interval = 2.0,
-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
total_run_times = 0,
-- Shortens units to a single character (kiB->k, GiB->G, etc.). Default is off.
short_units = true,
-- 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',
-- Add spaces to keep things from moving about? This only affects certain objects.
-- use_spacer should have an argument of left, right, or none
use_spacer = 'left',
-- Force UTF8? note that UTF8 support required XFT
override_utf8_locale = false,
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
};
conky.text = [[
[
{ "full_text": "${font FontAwesome:size=10} Mocp: ${moc_title}" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${hwmon 1 temp 1}°C" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${execpi 10 hddtemp -n /dev/sda}°C" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${fs_used_perc /}%" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${fs_used_perc /home}%" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${cpu cpu0}%" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} $memperc% ($mem)" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${totaldown wlp7s0b1}" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${totalup wlp7s0b1}" , "color": "\#B7E0E2" },
{ "full_text": "${font FontAwesome:size=10} ${time %d/%m - %R} " , "color": ${if_match ${memperc}<90}"\#B7E0E2"${else}"\#ff0000"${endif} }
],
]];