scripts/monitoring/GonKyrellM

169 lines
4.2 KiB
Text

conky.config = {
-- GonKyrellM
--
-- Conky, GKrellM style - with "invisible" theme (well, sort of)
--
-- based on http://sen7.deviantart.com/art/Conky-Mira-100078939
-- and https://www.gnome-look.org/content/show.php/Conky+Box?content=81894
-- Use Xft?
use_xft = true,
font = 'cure:size=8',
background = true,
double_buffer = true,
-- Update interval in seconds
update_interval = 0.5,
-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
total_run_times = 0,
-- Create own window instead of using desktop (required in nautilus)
own_window = true,
own_window_transparent = true,
own_window_type = 'override',
own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
own_window_argb_visual = false,
draw_graph_borders = false,
--default_bar_size 99 2
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
-- Minimum size of text area
--minimum_size 280 5
maximum_width = 97,
-- Draw shades?
draw_shades = true,
-- Draw outlines?
draw_outline = false,
-- Draw borders around text
draw_borders = false,
-- Stippled borders?
stippled_borders = 0,
-- border margins
-- border_margin 5
-- border width
border_width = 0,
-- Default colors and also border colors
--default_color 303030
--default_color ffffff
--default_shade_color white
--default_outline_color black
--own_window_colour 292C36
-- Text alignment, other possible values are commented
alignment = 'top_left',
--alignment top_right
--alignment bottom_left
--alignment bottom_right
-- Subtract file system buffers from used memory?
no_buffers = true,
-- set to yes if you want all text to be in uppercase
uppercase = false,
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
-- number of net samples to average
-- set to 1 to disable averaging
net_avg_samples = 2,
-- Force UTF8? note that UTF8 support required XFT
override_utf8_locale = true,
-- Add spaces to keep things from moving about? This only affects certain objects.
--use_spacer left
-- Useful shortenings #
short_units = true,
format_human_readable = true,
pad_percents = 0,
top_name_width = 12,
-- Color scheme
color1 = '#668ABF',
color2 = '#FFFFFF',
-- Gap between borders of screen and text
-- same thing as passing -x at command line
gap_x = 0,
gap_y = 0,
temperature_unit = 'celsius',
};
conky.text = [[
# cpu
${color2}${alignc}${font DotMatrix:size=10}${time %a} ${font DotMatrix:size=11}${time %d} ${font DotMatrix:size=10}${time %b}
${color2}${alignc}${font DotMatrix:size=12}${time %H:%M} ${font DotMatrix:size=10}${time %S}${font}
${voffset 5}${color2}${cpu cpu0}%
${color1}${cpugraph cpu0 20,97 00ff00 ff0000 -t}
${color1}${cpubar cpu0 5,}
${color2}${alignc}CPU0 ${color0}
${color2}${cpu cpu1}%
${color1}${cpugraph cpu1 20,97 00ff00 ff0000 -t}
${color1}${cpubar cpu1 5,}
${color2}${alignc}CPU1 ${color0}
${color2}${cpu cpu2}%
${color1}${cpugraph cpu2 20,97 00ff00 ff0000 -t}
${color1}${cpubar cpu2 5,}
${color2}${alignc}CPU2 ${color0}
${color2}${cpu cpu3}%
${color1}${cpugraph cpu3 20,97 00ff00 ff0000 -t}
${color1}${cpubar cpu3 5,}
${color2}${alignc}CPU3 ${color0}
# sensors, load, procs
${color2}Load ${alignr}${loadavg 1}
${color2}Procs ${alignr}$processes
${color2}CPU ${alignr}${acpitemp}°C
${color2}Fan ${alignr}${ibm_fan}
#
${color2}Disk IO ${alignr}$diskio
${color1}${diskiograph 40,99 ff0000 00ff00 -l}
#
# Network data
${color2}Net ${alignr}${color 00ff00}${downspeed enp0s25} ${alignr}${color ff0000}${upspeed enp0s25}
${downspeedgraph enp0s25 40,50 00ff00 00ff00 100 -l -t} ${alignr}${upspeedgraph enp0s25 40,50 ff0000 ff0000 100 -l -t}
# Memory
${color2}Mem ${color0}${alignr}${memfree}
${color1}${membar 5,}
${color2}Swap ${color0}${alignr}${swapfree}
${color1}${swapbar 5,}
# Filesystems
${color2}/ ${alignr}${fs_free /}
${color1}${fs_bar 5,100 /}
${color2}/tmp ${alignr}${fs_free /tmp}
${color1}${fs_bar 5,100 /tmp}
${color2}/home ${alignr}${fs_free /home}
${color1}${fs_bar 5,100 /home}
${color2}/nfs ${alignr}${fs_free /nfs/tmp}
${color1}${fs_bar 5,100 /nfs/tmp}
${if_mounted /mnt/usb}${color2}/mnt/usb ${alignr}${fs_free /mnt/usb}
${color1}${fs_bar 5,100 /mnt/usb}
${endif}
#
${color2}Batt ${alignr}${battery_short}
${color1}${battery_bar 5,100}
]];