conky.config = { alignment = 'top_right', background = true, color2 = '2ECC71', cpu_avg_samples = 2, default_color = 'FFFFFF', double_buffer = true, font = 'Bitstream Vera Sans:size=10', gap_x = 20, gap_y = 10, minimum_width = 200, no_buffers = true, own_window = true, own_window_type = 'override', own_window_class = 'sysinfo_green', own_window_transparent = true, update_interval = 10.0, use_xft = true, temperature_unit = 'fahrenheit', } conky.text = [[ # Process list, load average # 1m / 5m / 15m format for lad avg ${color2}${voffset 35}${alignr}${font Bitstream Vera Sans:size=10}Proccesses${color} ${color}${alignr}${font Bitstream Vera Sans:size=8}Load Average: $font$alignr${loadavg} # # Process list CPU / RAM utilization table ${font}CPU${goto 170}RAM ${voffset 3}$font${color2}${top name 1}${goto 120}${color}${top cpu 1}%${goto 170}${color2}${top_mem name 1}${color}${alignr}${top_mem mem_res 1}${color} ${color2}${top name 2}${goto 120}${color}${top cpu 2}%${goto 170}${color2}${top_mem name 2}${color}${alignr}${top_mem mem_res 2}${color} ${voffset 3}$hr # # RAM Display ${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}RAM ${color} ${goto 0}${color2}$alignc${memgraph 40,305}${color} ${voffset 4}${goto 0}${alignc}${color2}${membar 10, 305} ${color}${goto 10}${font}${memperc}%${alignr}${exec grep -w Active: /proc/meminfo | awk '{print $2 / 1024 }'}MiB /${memmax} ${voffset 3}${color}$hr # # CPU Display ${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}CPU ${color} # Chipset ${alignr}${font}${exec lscpu | grep -w "Model name:" | awk '{print $3 " " $4 " " $5 " " $6 " " $7 " " $8 " " $9}'} # CPU Graph ${voffset 4}${goto 0}${alignc}${color2}${cpugraph 40, 305} # Percentage / GHz utilized ${voffset 0}${goto 10}${color}${font}${exec cat /sys/class/thermal/thermal_zone2/temp | awk '{print ( ( ( (9/5) * $1) / 1000) + 32) "°F" }'}${alignr}${cpu}% - ${freq_g}GHz # CPU Core Graphs ${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu1}%${goto 43}${color2}${cpubar cpu1 12,110} ${goto 170}${color}${cpu cpu2}%${goto 203}${color2}${cpubar cpu2 12,110} ${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu3}%${goto 43}${color2}${cpubar cpu3 12,110} ${goto 170}${color}${cpu cpu4}%${goto 203}${color2}${cpubar cpu4 12,110} ${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu5}%${goto 43}${color2}${cpubar cpu5 12,110} ${goto 170}${color}${cpu cpu6}%${goto 203}${color2}${cpubar cpu6 12,110} ${voffset 10}${color}${goto 10}${font Bitstream Vera Sans:size=8}${cpu cpu7}%${goto 43}${color2}${cpubar cpu7 12,110} ${goto 170}${color}${cpu cpu8}%${goto 203}${color2}${cpubar cpu8 12,110} ${voffset 3}${color}$hr # # Network display ${color2}${font}${alignr}NETWORK${color} ${color}${voffset 4}${font}Interface: ${gw_iface} ${font}${alignr}Gateway IP: ${gw_ip} ${font}${alignr}${if_match "$wireless_essid"=="off/any"}Déconnecté${else}${wireless_essid}${endif} ${font}${goto 5}Down${alignr}Up ${goto 10}${color2}${downspeedgraph wlp0s20f3 40,160}${goto 180}${upspeedgraph wlp0s20f3 40,160} # Uncomment next line for wireless # ${goto 10}${color}${downspeedf wlp0s20f3} Kb/s - ${totaldown wlp0s20f3}${goto 180}${upspeedf wlp0s20f3} Kb/s - ${totalup wlp0s20f3} # Ethernet network display ${goto 10}${color}${downspeedf wlp0s20f3} Kb/s - ${totaldown wlp0s20f3}${alignr}${upspeedf wlp0s20f3} Kb/s - ${totalup wlp0s20f3} ${voffset 4}${color}$hr # # HDDisk Display ${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}DISKS${color} # # Root Filesystem Display ${voffset 2}${font}${goto 45} /dev/sda - /${font}${alignr}System: ${fs_used /} / ${fs_size /} ${color2}${diskiograph /dev/sda}${color} ${color2}${fs_bar 8 /}${color} # # Home Filesystem Display #${voffset 6}${font}${goto 45}/dev/sda1 - /home/${font}${alignr}Data: ${fs_used /home/} / ${fs_size /home/} #${color2}${diskiograph /dev/sda1}${color} #${color2}${fs_bar 8 /home/} ${color} # Optinal drive display, specify path to check mount #${if_mounted /run/media/thib/Data}${color}${font}${exec sudo hddtemp /dev/sdb -u F | awk '{print $NF}'}${alignr}${fs_used /run/media/thib/Data}/${fs_size /run/media/thib/Data}${else}${color}${font}${alignr}Unmounted${endif} $hr # # Other information ${color2}${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}OTHER${color} # MOBO temp, uptime ${color}${voffset 4}${font}Motherboard: ${goto 120}${acpitemp}F°${alignr}Uptime: ${uptime_short} # Domain status ${color}${voffset 4}${font}Knoats: ${alignc}${execi 120 curl -Is https://knoats.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${execi 120 curl -o /dev/null -s -w %{time_total}\\n https://knoats.com}s ${font}Shaunreed: ${alignc}${execi 120 curl -Is https://shaunreed.com | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${execi 120 curl -o /dev/null -s -w %{time_total}\\n https://shaunreed.com}s # ${font}dv: ${alignc}${execi 120 curl -Is https://kapp.ga | grep HTTP | awk '{print $1 " - " $2}'}${alignr}${execi 120 curl -o /dev/null -s -w %{time_total}\\n https://kapp.ga}s # ${voffset 3}$hr # # # Things I don't use, but could in the future # I don't need to track docker containers.. unless I can check remotes? # ${font}Docker containers: ${goto 120}${exec docker ps -q $1 | wc -l}/${exec docker ps -a | grep -v -F 'Exited (0)' | grep -c -F 'Exited ('} # # Battery Display $color2${voffset 4}${alignr}${font Bitstream Vera Sans:size=10}BATTERY $color${alignr}${if_match "$battery_time"=="unknown"}Charging...${else}Remain Time: ${battery_time}${endif} ${color2}${battery_bar} ${voffset 3}${alignr}${battery_percent}% ]]