From 0bb4a1bebd14adbb95951450a70ae2a821f71c0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hannes=20K=C3=B6rber?= Date: Sun, 15 Sep 2013 21:04:07 +0200 Subject: [PATCH] Updated conkyrc. --- conky/conkyrc | 262 ++++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 210 insertions(+), 52 deletions(-) diff --git a/conky/conkyrc b/conky/conkyrc index 1aa8cd5..34cf63a 100644 --- a/conky/conkyrc +++ b/conky/conkyrc @@ -21,87 +21,245 @@ # 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 . -# + + +############################################################################### + alignment top_right + +# do not fork to the background after startup background no + +# margin between border and text in pixels +border_inner_margin 0 + +# margin between border and edge of the window pixels +border_outer_margin 0 + +# border width in pixels border_width 0 + +# the number of samples to average for CPU monitoring cpu_avg_samples 2 + +# no borders around text draw_borders no -draw_graph_borders yes -use_xft yes -xftfont DejaVu Sans Mono:size=10 -gap_x 5 -gap_y 60 -minimum_size 5 5 -net_avg_samples 2 -no_buffers yes -out_to_console no -out_to_stderr no -extra_newline no -own_window yes -own_window_class Conky -own_window_type desktop -stippled_borders 0 -update_interval 1.0 -update_interval_on_battery 1.0 -uppercase no -use_spacer none -show_graph_scale no -show_graph_range no -use_xft yes +# white text with black outline +default_outline_color black +default_color white + +# number of samples to average for I/O monitoring +diskio_avg_samples 2 + +# enable double buffering to prevent flickering double_buffer yes + +# borders around graphs +draw_graph_borders yes + +# draw outline around letters +draw_outline yes + +# no shades +draw_shades no + +# no extra newline at the end when writing to stdout +extra_newline no + +# print byte values in human readable form format_human_readable yes -override_utf8_locale yes -own_window_class Conky -own_window_title Conky -temperature_unit celsius -#own_window_argb_visual yes -#own_window_argb_value 100 -own_window_transparent yes - -uppercase no +# gap between window and screen borders gap_x 10 gap_y 10 +# do not break lines +max_text_width 0 + +# constant width of 300 pixels +maximum_width 300 +minimum_size 300 0 + +# do not count buffers as used memory +no_buffers yes + +# only output in X +out_to_console no +out_to_ncurses no +out_to_stderr no +out_to_x yes + +# force utf-8 +override_utf8_locale yes + +# create an own window to draw to +own_window yes + +# set window class and title +own_window_class Conky +own_window_title Conky + +# use transparency (no real transparency) +own_window_transparent yes + +# will be ignored if own_window_type is override +own_window_hints none + +# window will not be controlled by the window manager, hints are ignored own_window_type override +# pad percents to two decimals (let's hope 100% will no occur too often) +pad_percents 2 + +# shorten units to a single letter, e.g. GiB -> G short_units yes -use_spacer yes +# do not show value and time range in graphs +show_graph_range no +show_graph_scale no -draw_outline no -stippled_borders no +# use celsius for temperature units +temperature_unit celsius -draw_borders no +# do not use seconds for time units, but the default h/m/s scheme +times_in_seconds no -maximum_width 300 -minimum_size 300 500 +# total number of times for Conky to update before quitting +# zero makes Conky run forever +total_run_times 0 -draw_outline yes -default_outline_color black -default_color white -draw_shades no -default_shade_color white +# the update interval in seconds +update_interval 1.0 +update_interval_on_battery 1.0 -own_window_hints undecorated - -pad_percents 2 +# render text in uppercase? +uppercase no + +# adds spaces around certain objects to stop them from moving +# other things around use_spacer left +# enables anti-aliased font for example +use_xft yes + +# the xft font to use +xftfont DejaVu Sans Mono:size=10 + + +############################################################################### + + + +# Possible variables to be used: +# +# Variable Arguments Description +# +# acpiacadapter ACPI ac adapter state. +# acpifan ACPI fan state +# acpitemp ACPI temperature. +# adt746xcpu CPU temperature from therm_adt746x +# adt746xfan Fan speed from therm_adt746x +# battery (num) Remaining capasity in ACPI or APM +# battery. ACPI battery number can be +# given as argument (default is BAT0). +# buffers Amount of memory buffered +# cached Amount of memory cached +# color (color) Change drawing color to color +# cpu CPU usage in percents +# cpubar (height) Bar that shows CPU usage, height is +# bar's height in pixels +# downspeed net Download speed in kilobytes +# downspeedf net Download speed in kilobytes with one +# decimal +# exec shell command Executes a shell command and displays +# the output in torsmo. warning: this +# takes a lot more resources than other +# variables. I'd recommend coding wanted +# behaviour in C and posting a patch :-). +# execi interval, shell Same as exec but with specific interval. +# command Interval can't be less than +# update_interval in configuration. +# fs_bar (height), (fs) Bar that shows how much space is used on +# a file system. height is the height in +# pixels. fs is any file on that file +# system. +# fs_free (fs) Free space on a file system available +# for users. +# fs_free_perc (fs) Free percentage of space on a file +# system available for users. +# fs_size (fs) File system size +# fs_used (fs) File system used space +# hr (height) Horizontal line, height is the height in +# pixels +# i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev +# may be omitted if you have only one I2C +# device. type is either in (or vol) +# meaning voltage, fan meaning fan or temp +# meaning temperature. n is number of the +# sensor. See /sys/bus/i2c/devices/ on +# your local computer. +# kernel Kernel version +# loadavg (1), (2), (3) System load average, 1 is for past 1 +# minute, 2 for past 5 minutes and 3 for +# past 15 minutes. +# machine Machine, i686 for example +# mails Mail count in mail spool. You can use +# program like fetchmail to get mails from +# some server using your favourite +# protocol. See also new_mails. +# mem Amount of memory in use +# membar (height) Bar that shows amount of memory in use +# memmax Total amount of memory +# memperc Percentage of memory in use +# new_mails Unread mail count in mail spool. +# nodename Hostname +# outlinecolor (color) Change outline color +# pre_exec shell command Executes a shell command one time before +# torsmo displays anything and puts output +# as text. +# processes Total processes (sleeping and running) +# running_processes Running processes (not sleeping), +# requires Linux 2.6 +# shadecolor (color) Change shading color +# stippled_hr (space), Stippled (dashed) horizontal line +# (height) +# swapbar (height) Bar that shows amount of swap in use +# swap Amount of swap in use +# swapmax Total amount of swap +# swapperc Percentage of swap in use +# sysname System name, Linux for example +# time (format) Local time, see man strftime to get more +# information about format +# totaldown net Total download, overflows at 4 GB on +# Linux with 32-bit arch and there doesn't +# seem to be a way to know how many times +# it has already done that before torsmo +# has started. +# totalup net Total upload, this one too, may overflow +# updates Number of updates (for debugging) +# upspeed net Upload speed in kilobytes +# upspeedf net Upload speed in kilobytes with one +# decimal +# uptime Uptime +# uptime_short Uptime in a shorter format +# +# seti_prog Seti@home current progress +# seti_progbar (height) Seti@home current progress bar +# seti_credit Seti@hoome total user credit + + TEXT -${alignc}${tztime local %A, %Y-%m-%d %H:%M:%S} +${alignc}${tztime local %A, %Y-%m-%d %H:%M:%S} ${hr} ${nodename}${alignr}Uptime: ${uptime} ${sysname} ${kernel}${alignr}Load: ${loadavg 1} ${hr} -${alignc} Battery: ${battery} (${battery_time}) -${battery_bar} +BAT: ${battery_short} (${battery_time}) ${battery_bar} ${hr} CPU usage: ${cpu cpu0}% ${cpubar} -${cpugraph cpu0 40} +${cpugraph cpu0 40,200} ${alignr}${cpugauge cpu0 40,80} ${hr} / : ${fs_used /}/${fs_size /} (${fs_used_perc /}%) ${fs_bar /} /home: ${fs_used /home}/${fs_size /home} (${fs_used_perc /home}%) ${fs_bar /home} @@ -111,8 +269,8 @@ ${hr} MEM : ${mem}/${memmax} (${memperc}%) ${membar} SWAP : ${swap}/${swapmax} (${swapperc}%) ${swapbar} ${hr} -NETWORK: +NETWORK: wlp2s0: ${addr wlp2s0} DOWN: ${downspeed wlp2s0}${alignr}UP: ${upspeed wlp2s0} ${downspeedgraph wlp2s0 40,130}${alignr}${upspeedgraph wlp2s0 40,130} -TOTAL DOWN: ${totaldown wlp2s0}${alignr}UP: ${totalup wlp2s0} \ No newline at end of file +TOTAL DOWN: ${totaldown wlp2s0}${alignr}UP: ${totalup wlp2s0}