Skip to content

Instantly share code, notes, and snippets.

@mattfoster
Created August 13, 2010 08:00
Show Gist options
  • Save mattfoster/522519 to your computer and use it in GitHub Desktop.
Save mattfoster/522519 to your computer and use it in GitHub Desktop.
# conky configuration
# edited by [email protected]
# edited by [email protected]
# set to yes if you want Conky to be forked in the background
background yes
# X font when Xft is disabled, you can pick one with program xfontsel
#font 5x7
#font 6x10
#font 7x13
#font 8x13
#font 9x15
#font *mintsmild.se*
#font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
pad_percents 3
# Use Xft?
use_xft yes
# Xft font when Xft is enabled
#xftfont Bitstream Vera Sans Mono:size=8
xftfont Lucida Console:size=7
# Text alpha when using Xft
xftalpha 0.8
# Print everything to console?
out_to_console no
# mail spool
#mail_spool $MAIL
# Update interval in seconds
update_interval 2.0
# 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 no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 1900 50
maximum_width 1920
text_buffer_size 2048
# Draw shades?
draw_shades yes
# Draw outlines?
draw_outline no
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 8
# border margins
#border_margin 4
# border width
border_width 1
# Default colors and also border colors
default_color white
default_shade_color black
default_outline_color white
# Text alignment, other possible values are commented
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
# Gap between borders of screen and text
# same thing as passing -x at command line
#gap_x 900
gap_y 25
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# 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 no
# stuff after 'TEXT' will be formatted on screen
# Uncomment to include logfiles:
#--------------------------------------------------
# ${color lightgreen}User Log:
# ${color lightgreen}${tail /var/log/user.log 5}
# ${color orange}Apache Access Log:
# ${color orange}${tail /var/log/apache2/access.log 5}
# ${color red}Apache Error Log:
# ${color red}${tail /var/log/apache2/error.log 5}
# ${color magenta}Kernel Log:
# ${color magenta}${tail /var/log/kern.log 5}
# ${color magenta}Daemon Log:
# ${color blue}${tail /var/log/daemon.log 5}
#--------------------------------------------------
TEXT
${voffset 630}
${offset 1750}${color }${time %H:%M:%S}$alignr${time %e %B %G}
${offset 1750}${color }UpTime: ${color } $alignr $uptime
${offset 1750}${color }CPU: $alignr${cpu 0}%
${offset 1750}${cpugraph 20,150 000000 ffffff}
${offset 1750}${color lightgrey}Load: ${color } $alignr $loadavg
${offset 1750}${color }Highest CPU:
${offset 1750}${color lightgreen} ${top name 1}$alignr${top_mem cpu 1}
${offset 1750}${color lightgrey} ${top name 2}$alignr${top_mem cpu 2}
${offset 1750}${color lightgrey} ${top name 3}$alignr${top_mem cpu 3}
${offset 1750}${color lightgrey} ${top name 4}$alignr${top_mem cpu 4}
${offset 1750}${color }Highest MEM:
${offset 1750}${color lightgreen} ${top_mem name 1}$alignr${top_mem mem 1}
${offset 1750}${color lightgrey} ${top_mem name 2}$alignr${top_mem mem 2}
${offset 1750}${color lightgrey} ${top_mem name 3}$alignr${top_mem mem 3}
${offset 1750}${color lightgrey} ${top_mem name 4}$alignr${top_mem mem 4}
${offset 1750}${color }MEM: ${alignc}${color } $memperc% ${alignr}$mem/$memmax
${offset 1750}${membar 3,150}
${offset 1750}${color }SWAP: ${alignc}${color }$swapperc% ${alignr}$swap/$swapmax
${offset 1750}${swapbar 3,150}
${offset 1750}${color }NET:
${offset 1750}${color}Up: ${color } ${upspeed eth0}k/s
${offset 1750}${upspeedgraph eth0 20,150 000000 ffffff}
${offset 1750}${color}Down: ${color } ${downspeed eth0}k/s
${offset 1750}${downspeedgraph eth0 20,150 000000 ffffff}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment