scripts/GonKyrellM

168 lines
4.1 KiB
Text
Raw Normal View History

2017-05-19 23:25:36 +02:00
conky.config = {
2017-05-19 23:25:36 +02:00
-- 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',
2017-05-19 23:25:36 +02:00
background = true,
double_buffer = true,
2017-05-19 23:25:36 +02:00
-- Update interval in seconds
update_interval = 0.5,
2017-05-19 23:25:36 +02:00
-- This is the number of times Conky will update before quitting.
-- Set to zero to run forever.
total_run_times = 0,
2017-05-19 23:25:36 +02:00
-- 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,
2017-05-19 23:25:36 +02:00
draw_graph_borders = false,
--default_bar_size 99 2
2017-05-19 23:25:36 +02:00
-- Use double buffering (reduces flicker, may not work for everyone)
double_buffer = true,
2017-05-19 23:25:36 +02:00
-- Minimum size of text area
--minimum_size 280 5
2017-05-19 23:25:36 +02:00
maximum_width = 97,
2017-05-19 23:25:36 +02:00
-- Draw shades?
draw_shades = true,
2017-05-19 23:25:36 +02:00
-- Draw outlines?
draw_outline = false,
2017-05-19 23:25:36 +02:00
-- Draw borders around text
draw_borders = false,
2017-05-19 23:25:36 +02:00
-- Stippled borders?
stippled_borders = 0,
2017-05-19 23:25:36 +02:00
-- border margins
-- border_margin 5
2017-05-19 23:25:36 +02:00
-- border width
border_width = 0,
2017-05-19 23:25:36 +02:00
-- Default colors and also border colors
--default_color 303030
--default_color ffffff
--default_shade_color white
--default_outline_color black
--own_window_colour 292C36
2017-05-19 23:25:36 +02:00
-- Text alignment, other possible values are commented
alignment = 'top_left',
--alignment top_right
--alignment bottom_left
--alignment bottom_right
2017-05-19 23:25:36 +02:00
-- Subtract file system buffers from used memory?
no_buffers = true,
2017-05-19 23:25:36 +02:00
-- set to yes if you want all text to be in uppercase
uppercase = false,
2017-05-19 23:25:36 +02:00
-- number of cpu samples to average
-- set to 1 to disable averaging
cpu_avg_samples = 2,
2017-05-19 23:25:36 +02:00
-- number of net samples to average
-- set to 1 to disable averaging
net_avg_samples = 2,
2017-05-19 23:25:36 +02:00
-- Force UTF8? note that UTF8 support required XFT
override_utf8_locale = true,
2017-05-19 23:25:36 +02:00
-- Add spaces to keep things from moving about? This only affects certain objects.
--use_spacer left
2017-05-19 23:25:36 +02:00
-- Useful shortenings #
short_units = true,
format_human_readable = true,
pad_percents = 0,
top_name_width = 12,
2017-05-19 23:25:36 +02:00
-- Color scheme
color1 = '#668ABF',
color2 = '#FFFFFF',
2017-05-19 23:25:36 +02:00
-- Gap between borders of screen and text
-- same thing as passing -x at command line
gap_x = 0,
gap_y = 0,
2017-05-19 23:25:36 +02:00
temperature_unit = 'celsius',
2017-05-19 23:25:36 +02:00
};
2017-05-19 23:25:36 +02:00
conky.text = [[
# cpu
${color2}${alignc}${font DotMatrix:size=10}${time %a} ${font DotMatrix:size=11}${time %d} ${font DotMatrix:size=10}${time %b}
2017-05-19 21:39:23 +02:00
${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
2017-05-19 22:23:42 +02:00
${color2}Load ${alignr}${loadavg 1}
${color2}Procs ${alignr}$processes
${color2}CPU ${alignr}${acpitemp}°C
${color2}Fan ${alignr}${ibm_fan}
#
2017-05-19 22:23:42 +02:00
${color2}Disk IO ${alignr}$diskio
${color1}${diskiograph 40,99 ff0000 00ff00 -l}
#
2017-05-19 22:18:34 +02:00
# 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
2017-05-19 22:23:42 +02:00
${color2}/ ${alignr}${fs_free /}
${color1}${fs_bar 5,100 /}
2017-05-19 22:23:42 +02:00
${color2}/tmp ${alignr}${fs_free /tmp}
${color1}${fs_bar 5,100 /tmp}
2017-05-19 22:23:42 +02:00
${color2}/home ${alignr}${fs_free /home}
${color1}${fs_bar 5,100 /home}
2017-05-19 22:23:42 +02:00
${color2}/nfs ${alignr}${fs_free /nfs/tmp}
${color1}${fs_bar 5,100 /nfs/tmp}
#
2017-05-19 22:18:34 +02:00
${color2}Batt ${alignr}${battery_short}
${color1}${battery_bar 5,100}
2017-05-19 23:25:36 +02:00
]];