From 9bf5b094926b05f9540d85560d85d0b25d8f4bf9 Mon Sep 17 00:00:00 2001
From: Joe <rrbo@proton.me>
Date: Wed, 29 Mar 2023 17:36:08 +0200
Subject: up

---
 .config/conky/conkyrc | 10 ++++++++--
 1 file changed, 8 insertions(+), 2 deletions(-)

(limited to '.config/conky')

diff --git a/.config/conky/conkyrc b/.config/conky/conkyrc
index b2d0e6d..ec770f4 100644
--- a/.config/conky/conkyrc
+++ b/.config/conky/conkyrc
@@ -17,7 +17,7 @@ conky.config = {
 	template0 = '\\n',
 	if_up_strictness = address,
 	format_human_readable = true,
-    update_interval = 0.3,
+    update_interval = 0.1,
     uppercase = false,
     override_utf8_locale = true,
     stippled_borders = 0,
@@ -71,7 +71,7 @@ ${execi 5 ~/.local/bin/conky/cover.sh >/dev/null 2>&1}${image /tmp/conkyCover.pn
 
 ${endif}${endif}
 ${color0}${hr}
-${color0}${font ConkySymbols:size=18}f${font :bold:}${voffset -5} CPU${font}${goto 115}${if_match "${nodename_short}" == "po-rbo"}AMD Ryzen 5 4500U${endif}${if_match "${nodename_short}" == "mother"}Intel i7-4790${endif} @ ${freq_g}GHz${alignr}${font :bold:}${cpu}%${font}
+${color0}${font ConkySymbols:size=18}f${font :bold:}${voffset -5} CPU${font}${goto 115}${if_match "${nodename_short}" == "mother"}Intel i7-4790${endif}${if_match "${nodename_short}" == "po-rbo"}AMD Ryzen 5 4500U${endif} @ ${freq_g}GHz${alignr}${font :bold:}${cpu}%${font}
 ${color orange}${cpubar}
 ${color orange}${offset 10}${cpugraph cpu1 30,90 000000 DDAA00} ${cpugraph cpu2 30,90 000000 DDAA00} ${cpugraph cpu3 30,90 000000 DDAA00} ${cpugraph cpu4 30,90 000000 DDAA00} ${voffset 12} ${color0} ${goto 25}CPU 1: ${cpu cpu1}% ${goto 120}CPU 2: ${cpu cpu2}% ${goto 215}CPU 3: ${cpu cpu3}% ${voffset -29} ${goto 307}CPU 4: ${cpu cpu4}%
 ${color orange}${offset 10}${cpugraph cpu5 30,90 000000 DDAA00} ${cpugraph cpu6 30,90 000000 DDAA00} ${voffset 12} ${color0} ${goto 25}CPU 5: ${cpu cpu5}% ${voffset -29} ${goto 120}CPU 6: ${cpu cpu6}%${if_match "${nodename_short}" == "mother"}${goto 215}CPU 7: ${cpu cpu7}% ${voffset -29} ${goto 307}CPU 8: ${cpu cpu8}%${endif}
@@ -91,6 +91,12 @@ ${color1}GPU ${hr 2}${font}
 ${color1}Card: ${color0}${nvidia modelname}${font}${alignr}${color1}Temp: ${color0}${nvidia gputemp}°C${font}
 ${color0}${nvidiagraph gpuutil 50,380 ebdbb2 928374 -t}
 ${color1}VRAM: ${color0}${nvidiabar 8 mem}${font}${endif}
+${if_match "${nodename_short}" == "po-rbo"}
+${color0}${hr}${font}
+${color0}${font ConkySymbols:size=18}n${font :bold:} GPU${font}${goto 140}${voffset -5}AMD Renoir @ ${exec awk 'NR==2{print $2}' /sys/class/drm/card0/device/pp_dpm_sclk}${alignr}${font :bold:}${execi 5 radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-10}%${font}
+${color tomato}${execbar "radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-10"}
+${color tomato}${execgraph "radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-10" 30,190 000000 FF6347} ${execgraph "radeontop -d- -l1 | grep -o 'vram [0-9]\{1,3\}' | cut -c 5-10" 30,190 000000 FF6347} ${voffset 13} ${goto 25}${color white}GPU Usage: ${execi 5 radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-10}%${voffset -30}${goto 215}VRAM Usage: ${execi 5 radeontop -d- -l1 | grep -o 'vram [0-9]\{1,3\}' | cut -c 5-10}%
+${endif}
 ${color1}DISK ${hr 2}${font}
 ${alignr}${if_match "${nodename_short}" == "mother"}${color1}NVMe temp:${color0}${hwmon 1 temp 1}°C${endif}${if_match "${nodename_short}" == "po-rbo"}${color1}NVMe temp:${color0}${hwmon 2 temp 1}°C${endif}${font}
 ${diskiograph nvme0n1 50,380 ebdbb2 928374 -t}
-- 
cgit v1.2.3