1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
|
conky.config = {
alignment = 'left',
background = false,
own_window = true,
own_window_class = 'Desktop',
own_window_transparent = false,
own_window_type = 'desktop',
own_window_argb_visual = true,
own_window_argb_value = 255,
double_buffer = true,
use_spacer = 'left',
use_xft = true,
xinerama_head = 0,
xftalpha = 1,
font = 'Open Sans:style=Semibold:size=10',
font1 = 'ConkySymbols:size=18',
template0 = '\\n',
if_up_strictness = address,
format_human_readable = true,
update_interval = 0.1,
uppercase = false,
override_utf8_locale = true,
stippled_borders = 0,
border_width = 1,
border_inner_margin = 8,
border_outer_margin = 0,
draw_borders = false,
draw_outline = false,
draw_shades = false,
default_shade_color = AAAAAA,
default_outline_color = AAAAAA,
draw_graph_borders = true,
show_graph_scale = false,
show_graph_range = false,
alignment = 'top_left',
minimum_width = 390,
maximum_width = 390,
maximum_height = 1440,
maximum_size = 390,
gap_x = 10,
gap_y = 40,
net_avg_samples = 2,
cpu_avg_samples = 4,
short_units = false,
pad_percents = 2,
text_buffer_size = 16384,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
default_color = 'red',
color0 = '#ebdbb2',
color1 = '#83a598',
color2 = '#a89984',
color5 = '#fd9e22',
color6 = '#c87911',
}
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}
${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}
${goto 130}${scroll wait 30 3 5 ${mpd_title}}
${goto 130}${mpd_date} - ${mpd_album}
${goto 130}${mpd_elapsed}/${mpd_length} ${mpd_bar}
${execi 5 ~/.local/bin/conky/cover.sh >/dev/null 2>&1}${image /tmp/conkyCover.png -p 5,120 -n}
${endif}${endif}
${color0}${hr}
${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}
${color0}${hr}${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}
${color0}${offset 5}${top_mem name 1} ${alignr 10}${offset -13}${top_mem cpu 1}${offset 15}${top_mem mem 1}
${color0}${offset 5}${top_mem name 2} ${alignr 10}${offset -13}${top_mem cpu 2}${offset 15}${top_mem mem 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}
${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:}${voffset -5} GPU${font}${goto 140}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}${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 - 99}'" 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 - 99}'}%
${endif}
${color0}${hr}${font}
${color0}${font ConkySymbols:size=18}k${font :Bold:}${voffset -5} FILE SYSTEMS${alignr}NVMe ${fs_used_perc /}%${if_match "${nodename_short}" == "mother"} | HDD ${fs_used_perc /var/hdd}%${endif}${font}
${color0}NVMe ${goto 60}${color darkcyan}${fs_bar 8,210 /} ${color0}${alignr}${fs_free /} / ${fs_size /}${if_match "${nodename_short}" == "mother"}
${color0}HDD ${goto 60}${color darkcyan}${fs_bar 8,210 /var/hdd} ${color0}${alignr} ${fs_free /var/hdd} / ${fs_size /var/hdd}${if_existing /home/jozan/exthdd}
${color0}EXT ${goto 60}${color darkcyan}${fs_bar 8,210 /home/jozan/exthdd} ${color0}${alignr}${fs_free /home/jozan/exthdd} / ${fs_size /home/jozan/exthdd}${endif}${endif}
${color darkcyan}${offset 10}${diskiograph nvme0n1 30,368 ebdbb2 928374 -t}
${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}
${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}
${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}
]]
|