diff options
Diffstat (limited to '.config')
-rw-r--r-- | .config/conky/conkyrc | 33 |
1 files changed, 11 insertions, 22 deletions
diff --git a/.config/conky/conkyrc b/.config/conky/conkyrc index ec770f4..a541cfd 100644 --- a/.config/conky/conkyrc +++ b/.config/conky/conkyrc @@ -35,7 +35,7 @@ conky.config = { alignment = 'top_left', minimum_width = 390, maximum_width = 390, - minimum_height = 1440, + maximum_height = 1440, maximum_size = 390, gap_x = 10, gap_y = 40, @@ -58,9 +58,9 @@ conky.config = { conky.text = [[ ${color0}${alignc}${time %A %e %B %Y - %Hh%M} ${alignc}${color1}Terminal: ${color0}${nodename_short} -${alignc}${color1}OS: ${color0}${sysname} - ${execi 300 lsb_release -ds} -${alignc}${color1}Kernel: ${color0}${kernel} -${alignc}${color1}Uptime: ${color0}${uptime} +${alignc}${color1}OS: ${color0}${sysname} - ${execi 300 lsb_release -ds} +${alignc}${color1}Kernel: ${color0}${kernel} +${alignc}${color1}Uptime: ${color0}${uptime} ${image ~/.config/conky/artix-logo.png -p 5,10 -s 75x75 -n}${font}${if_match "${nodename_short}" == "mother"}${if_mpd_playing} ${color1}MPD ${hr 2}${font} ${color0}${goto 130}${mpd_artist} @@ -77,7 +77,7 @@ ${color orange}${offset 10}${cpugraph cpu1 30,90 000000 DDAA00} ${cpugraph cpu2 ${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} ${color0}${hr}${font} -${color0}${font ConkySymbols:size=18}j${font :bold:}${voffset -5} RAM${goto 150}$mem / $memmax${alignr}${memperc}%${font} +${color0}${font ConkySymbols:size=18}j${font :bold:}${voffset -5} RAM${font}${goto 150}$mem / $memmax${alignr}${font :bold:}${memperc}%${font} ${color LightGreen}${membar} ${color0}${font :size 11:bold}${offset 5}Top Processes ${alignr}${offset -5}CPU%${offset 10}MEM% ${color LightGreen}${memgraph 120,390 000000 228B22}${voffset -135} @@ -86,16 +86,13 @@ ${color0}${offset 5}${top_mem name 2} ${alignr 10}${offset -13}${top_mem cpu 2}$ ${color0}${offset 5}${top_mem name 3} ${alignr 10}${offset -13}${top_mem cpu 3}${offset 15}${top_mem mem 3} ${color0}${offset 5}${top_mem name 4} ${alignr 10}${offset -13}${top_mem cpu 4}${offset 15}${top_mem mem 4} ${color0}${offset 5}${top_mem name 5} ${alignr 10}${offset -13}${top_mem cpu 5}${offset 15}${top_mem mem 5} -${if_match "${nodename_short}" == "mother"} -${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} +${color0}${hr}${font}${if_match "${nodename_short}" == "mother"} +${color0}${font ConkySymbols:size=18}n${font :bold:}${voffset -5} GPU${font}${goto 50}${voffset -6}${nvidia modelname} @ ${nvidia gpufreq}MHz${alignr}${font :bold:}${nvidia gpuutil}%${font} +${color tomato}${nvidiabar gpuutil} +${color tomato}${offset 10}${nvidiagraph gpuutil 30,184 000000 FF6347} ${nvidiagraph mem 30,184 000000 FF6347} ${voffset 13} ${goto 25}${color0}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}${if_match "${nodename_short}" == "po-rbo"} +${color0}${font ConkySymbols:size=18}n${font :bold:} GPU${font}${goto 140}${voffset -6}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}% +${color tomato}${offset 10}${execgraph "radeontop -d- -l1 | grep -o 'gpu [0-9]\{1,3\}' | cut -c 5-10" 30,182 000000 FF6347} ${execgraph "radeontop -d- -l1 | grep -o 'vram [0-9]\{1,3\}' | cut -c 5-10 | awk '{print $1 - 100}'" 30,182 000000 FF6347} ${voffset 13} ${goto 25}${color0}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 | awk '{print $1 - 100}'}% ${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} @@ -103,14 +100,6 @@ ${diskiograph nvme0n1 50,380 ebdbb2 928374 -t} ${color1}NVMe: ${color0}${fs_bar 8 /}${font}${if_existing /var/hdd} ${color1}HDD: ${color0}${fs_bar 8 /var/hdd}${font}${endif}${if_existing /home/jozan/exthdd} ${color1}EHDD: ${color0}${fs_bar 8 /home/jozan/exthdd}${endif} -${color1}PROC ${hr 2}${font} -${color1}COMMAND${color1}${alignr}PID CPU MEM -${color0}${top_mem name 1} ${alignr}${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem_res 1} -${color2}${top_mem name 2} ${alignr}${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem_res 2} -${color0}${top_mem name 3} ${alignr}${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem_res 3} -${color2}${top_mem name 4} ${alignr}${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem_res 4}${font} -${color1}--------- -${color1}Processes: ${color0}${processes}${font} ${execpi 5 ~/.local/bin/conky/net.sh} ${if_match "${nodename_short}" == "mother"}${color0}${downspeedgraph eth1 50,185 ebdbb2 928374 256000000 -t}${goto 195}${color0}${upspeedgraph eth1 50,180 ebdbb2 928374 256000000 -t}${endif}${if_match "${nodename_short}" == "po-rbo"}${color0}${downspeedgraph enx34298f762de7 50,180 ebdbb2 928374 128000000 -t}${goto 195}${color0}${upspeedgraph enx34298f762de7 50,180 ebdbb2 928374 128000000 -t}${endif} ]] |