mirror of https://github.com/mitchell/dotfiles.git
122 lines
5.6 KiB
Plaintext
122 lines
5.6 KiB
Plaintext
conky.config ={
|
|
-- CONKY SETTINGS
|
|
background = true,
|
|
update_interval = 1,
|
|
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_argb_value = 216,
|
|
own_window_argb_visual = true,
|
|
own_window_class = 'conky',
|
|
own_window_name = 'conky',
|
|
own_window_colour = '#282828',
|
|
-- 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 = 997,
|
|
|
|
minimum_width = 280,
|
|
maximum_width = 280,
|
|
|
|
alignment = 'top_right',
|
|
gap_x = 24,
|
|
gap_y = 60,
|
|
|
|
-- GRAPHICS SETTINGS
|
|
draw_shades = true,
|
|
draw_outline = false,
|
|
draw_borders = false,
|
|
draw_graph_borders = true,
|
|
|
|
-- TEXT SETTINGS
|
|
use_xft = true,
|
|
font = 'IBM Plex Sans Regular:size=10',
|
|
xftalpha = 0.2,
|
|
|
|
uppercase = false,
|
|
|
|
-- Pad percentages to this many decimals (0 = no padding)
|
|
pad_percents = 2,
|
|
|
|
-- COLOUR SETTINGS
|
|
default_color = 'ebdbb2',
|
|
default_shade_color = '1d2021',
|
|
default_outline_color = '1d2021',
|
|
color1 = 'fbf1c7',
|
|
color2 = '458588',
|
|
color3 = '98971a',
|
|
color4 = '79740e',
|
|
color5 = '689d6a',
|
|
color7 = 'cc241d',
|
|
color8 = '9d0006',
|
|
};
|
|
|
|
|
|
conky.text = [[
|
|
${alignc}${font IBM Plex Sans Light:size=10}${time %A %d %B %Y}${font}${alignc}
|
|
${color1}${hr 2}${color}
|
|
${voffset -5}
|
|
${font IBM Plex Sans Light:size=8}${color1}HOSTNAME:${color}${font} ${alignr}$nodename
|
|
${font IBM Plex Sans Light:size=8}${color1}UPTIME:${color}${font} ${alignr}$uptime_short
|
|
${font IBM Plex Sans Light:size=8}${color1}KERNEL:${color}${font} ${alignr}$kernel ${voffset 5}
|
|
${font :size=11}${color}Network ${hr 2}
|
|
${voffset -20}
|
|
${font IBM Plex Sans Light:size=10}${color1}IP ADDRESS:${color}${font} ${alignr}${addr wlan0}${color}
|
|
${if_match "${addr wlan0}"!="No Address"}${voffset 5}${font IBM Plex Sans Light:size=10}${font}Download ${alignr}${downspeedf wlan0}k/s (${totaldown wlan0})
|
|
${color1}${downspeedgraph wlan0 50,280 98971a 79740e -t}${color}
|
|
${font IBM Plex Sans Light:size=10}${font}Upload ${alignr}${upspeedf wlan0}k/s (${totalup wlan0})
|
|
${color1}${upspeedgraph wlan0 50,280 9d0006 cc241d -t}${color}
|
|
${endif}${voffset 5}${font :size=11}${color}HDD ${hr 2}
|
|
${voffset 5}${color1}Used: ${fs_used /}${goto 175}Free:${goto 225}${fs_free /}${color}
|
|
${color2}${fs_bar /}${color}
|
|
${font IBM Plex Sans Light:size=8}${color1}DISK I/O:${color}${font} ${alignr}$diskio
|
|
${voffset 2}${font IBM Plex Sans Light:size=8}${color1}READ: ${font} ${goto 80}${diskiograph_read 15,210 98971a 79740e 750}${color}
|
|
${voffset 2}${font IBM Plex Sans Light:size=8}${color1}WRITE:${font} ${goto 80}${diskiograph_write 15,210 9d0006 cc241d 750}${color}
|
|
${voffset 5}${font :size=11}Memory ${hr 2}${voffset 2}${font}
|
|
${font IBM Plex Sans Light:size=10}RAM $alignc ${font}${color1}$mem / $memmax $alignr ${color4}$memperc%${color}
|
|
${color2}$membar${voffset 5}${color}
|
|
${font :size=11}GPU ${hr 2}${voffset 2}
|
|
${font IBM Plex Sans Light:size=9}${color1}GPU Freq.: $alignr ${color}${font}${nvidia gpufreq} Mhz${voffset 2}
|
|
${font IBM Plex Sans Light:size=9}${color1}Memory Freq.: $alignr ${color}${font}${nvidia memfreq} Mhz${voffset 2}
|
|
${font IBM Plex Sans Light:size=9}${color1}Temperature: $alignr ${color4}${font}${nvidia temp}°C ${voffset 5}${color}
|
|
${font :size=11}CPUs ${hr 2}
|
|
${voffset -20}
|
|
${font IBM Plex Sans Light:size=10}${color1}CPU:${color}${font} ${alignr}AMD Ryzen 7 3800X
|
|
${voffset -20}
|
|
${font IBM Plex Sans Light:size=9}${color1}01 - 04:${color}${font} ${goto 100}${cpu cpu1}% ${goto 150}${cpu cpu2 }% ${goto 200}${cpu cpu3 }% ${goto 250}${cpu cpu4 }%
|
|
${font IBM Plex Sans Light:size=9}${color1}05 - 08:${color}${font} ${goto 100}${cpu cpu5}% ${goto 150}${cpu cpu6 }% ${goto 200}${cpu cpu7 }% ${goto 250}${cpu cpu8 }%
|
|
${font IBM Plex Sans Light:size=9}${color1}09 - 12:${color}${font} ${goto 100}${cpu cpu9}% ${goto 150}${cpu cpu10}% ${goto 200}${cpu cpu11}% ${goto 250}${cpu cpu12}%
|
|
${voffset -10}
|
|
${font IBM Plex Sans Light:size=9}${color1}CPU TEMP:${color4}${font}${alignr}${hwmon 1 temp 1}°C${color}
|
|
${voffset 5}${font :size=11}Processes ${hr 2}${font}
|
|
${voffset -20}
|
|
${font :size=10}${font IBM Plex Sans Light:size=8}${color1}TOTAL:${color}${font} ${alignr}${processes}
|
|
${voffset -12}
|
|
${font IBM Plex Sans Light:size=9}${color1}APP NAME: ${goto 160}MEMORY: ${goto 245}CPU: ${color}${font}
|
|
${voffset -20}
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 1} ${color}${font} ${goto 160}${top mem 1} % ${goto 235}${top cpu 1} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 2} ${color}${font} ${goto 160}${top mem 2} % ${goto 235}${top cpu 2} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 3} ${color}${font} ${goto 160}${top mem 3} % ${goto 235}${top cpu 3} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 4} ${color}${font} ${goto 160}${top mem 4} % ${goto 235}${top cpu 4} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 5} ${color}${font} ${goto 160}${top mem 5} % ${goto 235}${top cpu 5} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 6} ${color}${font} ${goto 160}${top mem 6} % ${goto 235}${top cpu 6} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 7} ${color}${font} ${goto 160}${top mem 7} % ${goto 235}${top cpu 7} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 8} ${color}${font} ${goto 160}${top mem 8} % ${goto 235}${top cpu 8} %
|
|
${font IBM Plex Sans Light:size=9}${color1}${top_mem name 9} ${color}${font} ${goto 160}${top mem 9} % ${goto 235}${top cpu 9} %
|
|
]];
|