.dotfiles/.config/conky/system.conf

112 lines
3.8 KiB
Plaintext

--[[
Conky, a system monitor, based on torsmo
Any original torsmo code is licensed under the BSD license
All code written since the fork of torsmo is licensed under the GPL
Please see COPYING for details
Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
Copyright (c) 2005-2019 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
All rights reserved.
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>.
]]
conky.config = {
alignment = 'top_left',
background = false,
border_width = 1,
cpu_avg_samples = 2,
default_color = 'white',
default_outline_color = 'white',
default_shade_color = 'white',
draw_borders = false,
draw_graph_borders = true,
draw_outline = false,
draw_shades = false,
use_xft = true,
font = 'JetBrains Mono Nerd Font:size=13',
gap_x = 30,
gap_y = 30,
minimum_height = 400,
minimum_width = 400,
maximum_width = 400,
net_avg_samples = 2,
no_buffers = true,
double_buffer = true,
out_to_console = false,
out_to_ncurses = false,
out_to_stderr = false,
out_to_x = true,
extra_newline = false,
own_window = true,
own_window_class = 'Conky',
own_window_type = 'override',
own_window_transparent = true,
own_window_colour = '000000',
own_window_argb_visual = false,
own_window_argb_value = 128,
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
stippled_borders = 0,
update_interval = 2.0,
uppercase = false,
use_spacer = 'none',
show_graph_scale = false,
show_graph_range = false
}
conky.text = [[
${color2}CPU ${color0}${alignr}${cpu cpu0}%
${cpubar cpu0 5,}
${top name 1} $alignr ${top cpu 1}%
${top name 2} $alignr ${top cpu 2}%
${top name 3} $alignr ${top cpu 3}%
${top name 4} $alignr ${top cpu 4}%
${top name 5} $alignr ${top cpu 5}%
${cpugraph cpu0 100,400}
${voffset -22}${cpugraph cpu1 50,200}${cpugraph cpu2 50,200}
${voffset -22}${cpugraph cpu3 50,200}${cpugraph cpu4 50,200}
${voffset -22}${cpugraph cpu5 50,200}${cpugraph cpu6 50,200}
${voffset -22}${cpugraph cpu7 50,200}${cpugraph cpu8 50,200}
\
${color3}${voffset -215}\
${goto 8}1 ${goto 130}${freq_g (1)}GHz ${goto 208}2 ${goto 330}${freq_g (2)}GHz ${voffset 50}\
${goto 8}3 ${goto 130}${freq_g (3)}GHz ${goto 208}4 ${goto 330}${freq_g (4)}GHz ${voffset 50}\
${goto 8}5 ${goto 130}${freq_g (5)}GHz ${goto 208}6 ${goto 330}${freq_g (6)}GHz ${voffset 50}\
${goto 8}7 ${goto 130}${freq_g (7)}GHz ${goto 208}8 ${goto 330}${freq_g (8)}GHz ${voffset 50}\
${color2}RAM ${color0}${alignr}${mem}
${membar 5,}
${top_mem name 1} $alignr ${top_mem mem_res 1}
${top_mem name 2} $alignr ${top_mem mem_res 2}
${top_mem name 3} $alignr ${top_mem mem_res 3}
${top_mem name 4} $alignr ${top_mem mem_res 4}
${top_mem name 5} $alignr ${top_mem mem_res 5}
${color2}Storage ${color0}
${fs_used /} ${goto 150}root $alignr ${fs_size /}
${fs_bar 5,400 /}${voffset 5}
${fs_used /home} ${goto 150}home $alignr ${fs_size /home}
${fs_bar 5,400 /home}${voffset 5}
${fs_used /mnt/games} ${goto 150}games $alignr ${fs_size /mnt/games}
${fs_bar 5,400 /mnt/games}voffset 5}
${color2}Download ${color0}${alignr}${downspeed enp0s31f6}
${downspeedgraph enp0s31f6 50,}
${color2}Upload ${color0}${alignr}${upspeed enp0s31f6}
${upspeedgraph enp0s31f6 50,}
]]