ShadowArch/EtcFiles/skel/.conkyrc

72 lines
2.2 KiB
Plaintext
Raw Normal View History

-- vim: ts=4 sw=4 noet ai cindent syntax=lua
--[[
Conky, a system monitor, based on torsmo
]]
conky.config = {
alignment = 'top_right',
background = yes,
own_window = yes,
own_window_type = 'normal',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
border_width = 1,
cpu_avg_samples = 2,
double_buffer = yes,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
gap_x = 5,
gap_y = 60,
minimum_height = 5,
minimum_width = 5,
net_avg_samples = 2,
no_buffers = true,
out_to_console = false,
out_to_stderr = false,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'desktop',
stippled_borders = 0,
update_interval = 1.0,
uppercase = false,
use_xft = yes,
use_spacer = 'right',
show_graph_scale = false,
show_graph_range = false
}
-- ${cpu*} currently cause segfaults.
conky.text = [[
${font Monaco :size=16}
AniNIX::${nodename short}
ShadowArch Linux $kernel on $machine
${color grey}Uptime:$color $uptime
$hr
${color red}CPU:
${color red}Frequency (in GHz):$color $freq_g
${color red}Processes:$color $processes | $running_processes
${color red}Name PID CPU% MEM% $color
${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
${top name 4} ${top pid 4} ${top cpu 4} ${top mem 4}$color
$hr
${color orange}RAM Usage:$color $mem/$memmax - $memperc% ${membar 4}
${color orange}Swap Usage:$color $swap/$swapmax - $swapperc% ${swapbar 4}
$hr
${color cyan}File systems:
/ $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
${diskiograph}
${color cyan}Disk IO:$color ${diskio}
$hr
${color green}Networking:
${upspeedgraph ens33 26,100 FFFFFF FFFFFF}${goto 120}${downspeedgraph ens33 26,100 FFFFFF FFFFFF}
${color green}Up: ${color2}${upspeed ens33}${color5}${goto 120}Down: ${color2}${downspeed ens33}
${color green}Sent: ${color2}${totalup ens33}${color5}${goto 120}Received: ${color2}${totaldown ens33}
]]