Files
dotfiles/conky/conkyrc

277 lines
10 KiB
Plaintext
Raw Normal View History

2013-09-14 19:32:22 +02:00
# 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-2010 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/>.
2013-09-15 21:04:07 +02:00
###############################################################################
2013-09-14 19:32:22 +02:00
alignment top_right
2013-09-15 21:04:07 +02:00
# do not fork to the background after startup
2013-09-14 19:32:22 +02:00
background no
2013-09-15 21:04:07 +02:00
# 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
2013-09-14 19:32:22 +02:00
border_width 0
2013-09-15 21:04:07 +02:00
# the number of samples to average for CPU monitoring
2013-09-14 19:32:22 +02:00
cpu_avg_samples 2
2013-09-15 21:04:07 +02:00
# no borders around text
2013-09-14 19:32:22 +02:00
draw_borders no
2013-09-15 21:04:07 +02:00
# 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
2013-09-14 19:32:22 +02:00
draw_graph_borders yes
2013-09-15 21:04:07 +02:00
# 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
# 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
2013-09-14 19:32:22 +02:00
no_buffers yes
2013-09-15 21:04:07 +02:00
# only output in X
2013-09-14 19:32:22 +02:00
out_to_console no
2013-09-15 21:04:07 +02:00
out_to_ncurses no
2013-09-14 19:32:22 +02:00
out_to_stderr no
2013-09-15 21:04:07 +02:00
out_to_x yes
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# force utf-8
2013-09-14 19:32:22 +02:00
override_utf8_locale yes
2013-09-15 21:04:07 +02:00
# create an own window to draw to
own_window yes
# set window class and title
2013-09-14 19:32:22 +02:00
own_window_class Conky
own_window_title Conky
2013-09-15 21:04:07 +02:00
# use transparency (no real transparency)
2013-09-14 19:32:22 +02:00
own_window_transparent yes
2013-09-15 21:04:07 +02:00
# will be ignored if own_window_type is override
#own_window_hints none
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# window will not be controlled by the window manager, hints are ignored
2013-09-14 19:32:22 +02:00
own_window_type override
2013-09-15 21:04:07 +02:00
# 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
2013-09-14 19:32:22 +02:00
short_units yes
2013-09-15 21:04:07 +02:00
# do not show value and time range in graphs
show_graph_range no
show_graph_scale no
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# use celsius for temperature units
temperature_unit celsius
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# do not use seconds for time units, but the default h/m/s scheme
times_in_seconds no
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# total number of times for Conky to update before quitting
# zero makes Conky run forever
total_run_times 0
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# the update interval in seconds
update_interval 1.0
update_interval_on_battery 1.0
2013-09-14 19:32:22 +02:00
2013-09-15 21:04:07 +02:00
# render text in uppercase?
uppercase no
# adds spaces around certain objects to stop them from moving
# other things around
2013-09-14 19:32:22 +02:00
use_spacer left
2013-09-15 21:04:07 +02:00
# 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
2013-09-14 19:32:22 +02:00
TEXT
2013-09-15 21:04:07 +02:00
${alignc}${tztime local %A, %Y-%m-%d %H:%M:%S}
2013-09-14 19:38:08 +02:00
${hr}
2013-09-14 19:32:22 +02:00
${nodename}${alignr}Uptime: ${uptime}
${sysname} ${kernel}${alignr}Load: ${loadavg 1}
${hr}
2013-09-15 21:04:07 +02:00
BAT: ${battery_short} (${battery_time}) ${battery_bar}
2013-09-14 19:32:22 +02:00
${hr}
CPU usage: ${cpu cpu0}% ${cpubar}
2013-09-15 21:04:07 +02:00
${cpugraph cpu0 40,200} ${alignr}${cpugauge cpu0 40,80}
2013-09-14 19:32:22 +02:00
${hr}
/ : ${fs_used /}/${fs_size /} (${fs_used_perc /}%) ${fs_bar /}
/home: ${fs_used /home}/${fs_size /home} (${fs_used_perc /home}%) ${fs_bar /home}
/var : ${fs_used /var}/${fs_size /var} (${fs_used_perc /var}%) ${fs_bar /var}
/boot: ${fs_used /boot}/${fs_size /boot} (${fs_used_perc /boot}%) ${fs_bar /boot}
${hr}
MEM : ${mem}/${memmax} (${memperc}%) ${membar}
SWAP : ${swap}/${swapmax} (${swapperc}%) ${swapbar}
${hr}
2013-09-15 21:04:07 +02:00
NETWORK:
2013-09-14 19:32:22 +02:00
wlp2s0: ${addr wlp2s0}
DOWN: ${downspeed wlp2s0}${alignr}UP: ${upspeed wlp2s0}
${downspeedgraph wlp2s0 40,130}${alignr}${upspeedgraph wlp2s0 40,130}
2013-09-15 21:04:07 +02:00
TOTAL DOWN: ${totaldown wlp2s0}${alignr}UP: ${totalup wlp2s0}