-
-
Save alo0oz/a8d2c395d6bbaba3fa27dc0a17f58351 to your computer and use it in GitHub Desktop.
Current Conky rc, designed for primarily AMD processors/gfx cards
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
##Juddly's Custom Conky## | |
conky.config = { | |
alignment = 'top_left', | |
use_xft = true, | |
xftalpha = 0.8, | |
font = 'Noto:normal:size=8', | |
text_buffer_size = 2048, | |
update_interval = 0.5, | |
total_run_times = 0, | |
background = true, | |
double_buffer = true, | |
imlib_cache_size = 0, | |
cpu_avg_samples = 2, | |
own_window = true, | |
own_window_class = 'Conky', | |
own_window_argb_visual = true, | |
own_window_argb_value = 255, | |
own_window_transparent = true, | |
own_window_type = 'panel', | |
own_window_hints = 'undecorated,below,skip_taskbar,sticky,skip_pager', | |
own_window_colour = '000000', | |
draw_shades = no, | |
default_shade_color = '000000', | |
draw_outline = no, | |
default_outline_color = '000000', | |
draw_borders = no, | |
gap_x = 10, | |
gap_y = 10, | |
minimum_height = 1000, | |
minimum_width = 240, | |
maximum_width = 240, | |
draw_graph_borders = true, | |
show_graph_scale = no, | |
show_graph_range = no, | |
short_units = no, | |
override_utf8_locale = yes, | |
uppercase = no, | |
default_color = 'ffffff', | |
color1 = '4D55F3', | |
color2 = 'F200F2', | |
color3 = '4D55F3', | |
color4 = 'F3F301', | |
color5 = '02040F', | |
color6 = 'ED1465', | |
color7 = 'BF216A', | |
use_spacer = none, | |
hddtemp_host = "127.0.0.1", | |
hddtemp_port = "7634", | |
} | |
conky.text = [[ | |
#Title | |
${alignc}${font Noto:bold:size=9}System Stats | |
${color4}${hr}${color} | |
# day/time | |
${goto 10}${font Noto:bold:size=9}Juddly's Desktop ${alignr 10}${color6}${time %r}${color} | |
${font Noto:normal:size=9}${goto 10}Date:${color2}${alignr 10}${time %d %B %Y}${color} | |
${goto 10}Host:${color2}${alignr 10}${exec hostname} | |
${goto 10}${color}Kernel:${alignr 10}${color2}${kernel}${color} | |
${goto 10}Uptime:${color2}${alignr 10}$uptime | |
# | |
#Processor section | |
${color4}${hr} | |
${color}${alignc}${font Noto:bold:size=9}Processor | |
${goto 25}${color}${font Noto:bold:size=9}CPU: ${color6}${font Noto:normal:size=9}${exec cat /proc/cpuinfo|grep 'model name'|sed -e 's/model name.*: //'| uniq | cut -c 1-24}${color} | |
${alignc}@ ${color6}${freq_g 1}GHz | |
${font}${alignc}${color}Active Governor: ${color2}${execi 1 cut -b 1-20 /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor}${color} | |
${goto 10}${color}Vcore: ${color1}${exec sensors | grep 'Vcore' | cut -c 16-21} ${alignr 10}${color}Vsoc: ${color1}${exec sensors | grep 'Vsoc' | cut -c 16-21} | |
${goto 10}${color}Board Temp: ${color1}${exec sensors | grep 'Tdie' | cut -c 16-22} ${alignr 10}${color}Core A: ${color1}${exec sensors | grep 'Icore' | cut -c 15-21} | |
# | |
#Cores | |
# | |
${font Noto:normal:size=8}${goto 10}${color}C1: ${goto 100}${color7}${cpu cpu1}%${goto 130}${color}C2: ${alignr 10}${color7}${cpu cpu2}% | |
${goto 10}${color5}${cpugraph cpu1 20,110 4D55F3 ED1465 -t} ${alignr 10}${color5}${cpugraph cpu2 20,110 4D55F3 ED1465 -t} | |
# | |
${font Noto:normal:size=8}${goto 10}${color}C3: ${goto 100}${color7}${cpu cpu3}%${goto 130}${color}C4: ${alignr 10}${color7}${cpu cpu4}% | |
${goto 10}${color5}${cpugraph cpu3 20,110 4D55F3 ED1465 -t} ${alignr 10}${color5}${cpugraph cpu4 20,110 4D55F3 ED1465 -t} | |
# | |
${font Noto:normal:size=8}${goto 10}${color}C5: ${goto 100}${color7}${cpu cpu5}%${goto 130}${color}C6: ${alignr 10}${color7}${cpu cpu6}% | |
${goto 10}${color5}${cpugraph cpu5 20,110 4D55F3 ED1465 -t} ${alignr 10}${color5}${cpugraph cpu6 20,110 4D55F3 ED1465 -t} | |
# | |
#FANS | |
# | |
${color}${alignc}${font Noto:bold:size=8}Fans | |
${font}${color}${goto 10}Fan 1: ${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan1" | cut -b 20-34} ${color}${goto 125}Fan 2: ${alignr 10}${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan2" | cut -b 20-34} | |
${color}${goto 10}Fan 3: ${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan3" | cut -b 20-34} ${color}${goto 125}Fan 4: ${alignr 10}${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan4" | cut -b 20-34} | |
${color}${goto 10}Fan 5: ${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan5" | cut -b 20-34} ${color}${goto 125}Fan 6: ${alignr 10}${color6}${execi 1 sensors nct6798-isa-0290 | grep "fan6" | cut -b 20-34} | |
# | |
# top processes | |
${color}${alignc}${font Noto:bold:size=8}Processses | |
${font}${color}${goto 10}Current CPU Load: ${alignr 10}${color7}${cpu cpu0}% | |
${color1}${goto 10}${top name 1}${alignr 10}${color}${top cpu 1}% | |
${color1}${goto 10}${top name 2}${alignr 10}${color}${top cpu 2}% | |
${color1}${goto 10}${top name 3}${alignr 10}${color}${top cpu 3}% | |
# | |
# GPU Section | |
${color4}${hr} | |
${color}${alignc}${font Noto:bold:size=9}Graphics | |
${alignc}${font Noto:bold:size=9}GPU: ${font Noto:normal:size=9}${color6}ROG STRIX AMD VEGA 64 8GB${font}${color} | |
##------------Card1-------------## | |
${goto 10}${goto 10}Pwr: ${color1}${execi 1 sensors amdgpu-pci-0a00 | grep "power1" | cut -b 14-19} W ${alignr 10}${color}Max Pwr: ${color1}${execi 1 sensors amdgpu-pci-0a00 | grep "power1" | cut -b 31-35} W | |
${color}${goto 10}GPU Load: ${color7}${execi 1 ~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "gpu [0-9]\{1,3\}" | cut -c 5-7 }%${alignr 10}${color}GPU VRAM: ${color7}${execi 1 ~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "vram [0-9]\{1,3\}" | cut -c 5-7 }% ${alignr 10} | |
${color5}${goto 10}${execigraph 1 "~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "gpu [0-9]\{1,3\}" | cut -c 5-7" 20,110 4D55F3 ED1465 -t }${alignr 10}${execigraph 1 "~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "vram [0-9]\{1,3\}" | cut -c 5-7" 20,110 4D55F3 ED1465 -t} | |
${goto 10}${color}GPU Spd: ${color2}${execi 1 ~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "sclk ............." | cut -c 12-16 }GHz${color}${alignr 10}VRAM Spd: ${color2}${execi 1 ~/Programs/radeontop/radeontop -b 0a -d- -l1 | grep -o "mclk .............." | cut -c 13-17 }GHz | |
${goto 10}${color}Temp: ${color1}${execi 1 sensors amdgpu-pci-0a00 | grep 'edge' | cut -c 16-22}${alignr 10}${color}Fan Spd: ${color1}${execi 1 sensors amdgpu-pci-0a00 | grep 'fan1' | cut -c 14-21} (${execi 1 sensors amdgpu-pci-0a00 | grep 'fan1' | cut -c 14-21 | awk '{printf "%.2f\n",a=$1*.028; a}' | cut -c 1-2}%) | |
${color5}${goto 10}${execigraph 1 "sensors amdgpu-pci-0a00 | grep 'edge' | cut -c 16-20" 20,110 4D55F3 ED1465 -t}${alignr 10}${execigraph 1 "sensors amdgpu-pci-0a00 | grep 'fan1' | cut -c 14-17 | awk '{printf "%.2f\n",a=$1*.028; a}'" 20,110 4D55F3 ED1465 -t} | |
# | |
# top memory | |
${color4}${hr}${color} | |
${color}${alignc}${font Noto:bold:size=9}Memory | |
${font}${goto 10}${color}RAM Usage: ${alignr 10}${color6}${mem} / ${memmax} ${color7}(${memperc}%) | |
${alignc}${color5}${memgraph 20,220 4D55F3 ED1465 -t} | |
${goto 10}${color1}${top_mem name 1}${alignr 10}${color}${top_mem mem 1}% | |
${color1}${goto 10}${top_mem name 2}${alignr 10}${color}${top_mem mem 2}% | |
${color1}${goto 10}${top_mem name 3}${alignr 10}${color}${top_mem mem 3}% | |
# | |
#Storage | |
${color4}${hr}${color} | |
${color}${alignc}${font Noto:bold:size=9}Storage - Local${font} | |
#${goto 10}${color}Disk I/O Scheduler: ${color2}${alignr 10}${ioscheduler /dev/nvme} | |
#${goto 10}${color}NVME Disk I/O: ${goto 105}${color}Read:${color2}${diskio_read nvme0n1}${goto 180}${color}Write:${color2}${diskio_write nvme0n1} | |
${goto 10}${color}Sys: ${alignr 10}${color1}${fs_used /}${color} / ${color6}${alignr 10}${fs_size /} | |
${goto 15}${color}NVM Temp: ${goto 90}${color2}${exec nvme smart-log /dev/nvme0 | grep 'temperature' | cut -c 17-21}${alignr 10}${color}Available: ${color7}${fs_free_perc /}% | |
# | |
${goto 10}${color}Home: ${alignr 10}${color1}${fs_used /home/juddly/}${color} / ${color6}${alignr 10}${fs_size /home/juddly/} | |
${goto 15}${color}SSD Temp: ${goto 90}${color2}${exec hddtemp /dev/sda | cut -c 32-37}${alignr 10}${color}Available: ${color7}${fs_free_perc /home/juddly/}% | |
# | |
${goto 10}${color}Storage: ${alignr 10}${color1}${fs_used /home/juddly/storage}${color} / ${color6}${alignr 10}${fs_size /home/juddly/storage} | |
${goto 15}${color}HDD Temp: ${goto 90}${color2}${exec hddtemp /dev/sdb | cut -c 31-37}${alignr 10}${color}Available: ${color7}${fs_free_perc /home/juddly/storage}% | |
# | |
#${goto 10}${color}Google Drive: ${alignr 10}${color6}${fs_used /home/juddly/GDrive}${color} / ${color2}${alignr 10}${fs_size /home/juddly/GDrive} | |
#${goto 15}${color}${alignr 10}Available: ${color6}${fs_free_perc /home/juddly/GDrive}% | |
# | |
${color4}${hr}${color} | |
${color}${alignc}${font Noto:bold:size=9}Storage - Network${font} | |
# | |
${goto 10}${color}Downloads/Games: ${alignr 10}${color1}${fs_used /home/juddly/DownloadServer/}${color} / ${color6}${alignr 10}${fs_size /home/juddly/DownloadServer/} | |
# | |
${goto 10}${color}Music: ${alignr 10}${color1}${fs_used /home/juddly/Music/}${color} / ${color6}${alignr 10}${fs_size /home/juddly/Music/} | |
# | |
${goto 10}${color}Movies: ${alignr 10}${color1}${fs_used /home/juddly/Videos/Movies/}${color} / ${color6}${alignr 10}${fs_size /home/juddly/Videos/Movies/} | |
# | |
${goto 10}${color}TV: ${alignr 10}${color1}${fs_used /home/juddly/Videos/TV/}${color} / ${color6}${alignr 10}${fs_size /home/juddly/Videos/TV/} | |
#network | |
${color4}${hr}${color} | |
${color}${alignc}${font Noto:bold:size=9}Network | |
${color}${font}${goto 10}Internal IP: ${color6}${alignr 10}${addr enp4s0} | |
#${goto 10}Network${alignr 10 10}SSID: ${wireless_essid eno1} | |
#${goto 10}Signal:${goto 70}${color}${wireless_link_bar wlan0}${color}${alignr 10}${wireless_link_qual_perc eno1}% | |
#${font}${goto 10}External: ${font Noto:bold:9}${alignr 10 10}${exec curl ipinfo.io/ip} | |
${font}${goto 10}${color}Up Spd: ${color2}${upspeed enp4s0}${goto 120}${color}Down Spd: ${alignr 10}${color2}${downspeed enp4s0} | |
${color}${goto 10}Total Up: ${color2}${totalup enp4s0}${goto 120}${color}Total Dn: ${alignr 10}${color2}${totaldown enp4s0} | |
${goto 10}${color5}${upspeedgraph enp4s0 20,110 4D55F3 ED1465 -t}${alignr 10}${color5}${downspeedgraph enp4s0 20,110 4D55F3 ED1465 -t} | |
# | |
]] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment