You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
138 lines
3.8 KiB
138 lines
3.8 KiB
conky.config = { |
|
-- CONKY SETTINGS |
|
--background = true, |
|
update_interval = 2, |
|
total_run_times = 0, |
|
|
|
cpu_avg_samples = 2, |
|
net_avg_samples = 2, |
|
|
|
override_utf8_locale = true, |
|
|
|
double_buffer = true, |
|
no_buffers = true, |
|
|
|
text_buffer_size = 32768, |
|
|
|
-- CONKY: WINDOW SPECIFICATIONS |
|
own_window = true, |
|
own_window_colour = '2D2D2D', |
|
own_window_argb_visual = true, |
|
own_window_argb_value = 255, |
|
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager', |
|
own_window_transparent = false, |
|
own_window_type = 'desktop', |
|
|
|
border_inner_margin = 6, |
|
border_width = 5, |
|
|
|
minimum_height = 700, |
|
minimum_width = 280, |
|
maximum_width = 280, |
|
|
|
alignment = 'top_right', |
|
xinerama_head = 1, |
|
gap_x = 10, |
|
gap_y = 10, |
|
|
|
-- GRAPHICS SETTINGS |
|
draw_shades = false, |
|
draw_outline = false, |
|
draw_borders = false, |
|
draw_graph_borders = true, |
|
|
|
-- TEXT SETTINGS |
|
use_xft = true, |
|
xftalpha = 0.2, |
|
font = 'DejaVu Sans Mono:size=10', |
|
font1 = 'DejaVu Sans:bold:size=10', |
|
font2 = 'DejaVu Sans:bold:size=20', |
|
|
|
uppercase = false, |
|
|
|
-- Pad percentages to this many decimals (0 = no padding) |
|
pad_percents = 2, |
|
|
|
-- COLOUR SETTINGS |
|
default_color = '555555', |
|
color1 = '999999', |
|
color2 = 'CCCCCC', |
|
color3 = 'EEEEEE', |
|
color4 = '444444', |
|
color5 = 'AAAAAA', |
|
color6 = '666666', |
|
}; |
|
|
|
|
|
conky.text = [[ |
|
${alignr}${font2}${time %l:%M %p}${font} |
|
${alignr}${font1}${time %A, %b %_d %Y}${font} |
|
$nodename |
|
kernel: $kernel ${alignr}$machine |
|
uptime: ${alignr}$uptime_short |
|
|
|
# CPU ---------------------------- |
|
${voffset -10} |
|
CPU ${hr 2} |
|
${voffset -14} |
|
usage: ${cpu cpu0}% ${alignr}freq: ${freq_g} GHz |
|
${voffset -15} |
|
${cpubar cpu1 7,60} ${cpubar cpu2 7,60} ${cpubar cpu3 7,60} ${cpubar cpu4 7,60} |
|
${cpubar cpu5 7,60} ${cpubar cpu6 7,60} ${cpubar cpu7 7,60} ${cpubar cpu8 7,60} |
|
${cpubar cpu9 7,60} ${cpubar cpu10 7,60} ${cpubar cpu11 7,60} ${cpubar cpu12 7,60} |
|
${cpubar cpu13 7,60} ${cpubar cpu14 7,60} ${cpubar cpu15 7,60} ${cpubar cpu16 7,60} |
|
${cpugraph -t 30,280 119911 FF0000} |
|
temps: ${alignr}${hwmon k10temp temp 1}°C ${hwmon k10temp temp 2}°C |
|
|
|
# MEMORY ---------------------------- |
|
${voffset -10} |
|
MEMORY ${hr 2} |
|
${voffset -14} |
|
$mem ${alignc}${membar 7, 125}${alignr}$memmax |
|
${memgraph 15,300, 32CD32 8B0000 -t} |
|
|
|
# VIDEO CARD ----------------------- |
|
GPU ${hr 2} |
|
GPU usage: ${nvidia gpuutil}% |
|
GPU freq: ${nvidia gpufreqcur} Mhz / ${nvidia gpufreqmax} Mhz |
|
GMEM usage: ${nvidia memused} MB / ${nvidia memmax} MB |
|
|
|
# NETWORK ---------------------------- |
|
${voffset -10} |
|
NETWORK ${hr 2} |
|
${voffset -14} |
|
ip: ${alignr}${addr enp4s0} |
|
up: ${upspeed enp4s0}${goto 150}${upspeedgraph enp4s0 15,140 ADFF2F 32CD32 -t} |
|
${voffset -10} |
|
down: ${downspeed enp4s0}${goto 150}${downspeedgraph enp4s0 15,140 FF0000 8B0000 -t} |
|
${voffset -5} |
|
totals, up: ${totalup enp4s0} ${alignr}down:${totaldown enp4s0} |
|
|
|
# disks ---------------------------- |
|
${voffset -10} |
|
DISK ${hr 2} |
|
${voffset -15} |
|
/:${goto 115}${fs_used /} / ${fs_size /} ${alignr} ${fs_used_perc /}% |
|
${voffset -12} |
|
#localstorage: ${goto 115}${fs_used /mnt/localstorage} / ${fs_size /mnt/localstorage} ${alignr} ${fs_used_perc /mnt/localstorage}% |
|
i/o: ${alignr}$diskio |
|
${voffset -6} |
|
read: ${goto 80}${diskiograph_read 15,210 adff2f 32cd32 750} |
|
${voffset -14} |
|
write: ${goto 80}${diskiograph_write 15,210 FF0000 8B0000 750} |
|
|
|
# PROCESSES ---------------------------- |
|
${voffset -10} |
|
PROCESSES ${hr 2} |
|
${voffset -15} |
|
app name: ${goto 160}memory: ${goto 245}cpu: |
|
${voffset -8} |
|
${top name 1} ${goto 160}${top mem_res 1} ${goto 235}${top cpu 1} % |
|
${top name 2} ${goto 160}${top mem_res 2} ${goto 235}${top cpu 2} % |
|
${top name 3} ${goto 160}${top mem_res 3} ${goto 235}${top cpu 3} % |
|
${top name 4} ${goto 160}${top mem_res 4} ${goto 235}${top cpu 4} % |
|
${top name 5} ${goto 160}${top mem_res 5} ${goto 235}${top cpu 5} % |
|
${top name 6} ${goto 160}${top mem_res 6} ${goto 235}${top cpu 6} % |
|
${top name 7} ${goto 160}${top mem_res 7} ${goto 235}${top cpu 7} % |
|
|
|
]]
|
|
|