Created
June 1, 2012 22:19
-
-
Save mihaisoloi/2855471 to your computer and use it in GitHub Desktop.
conky configuration file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Use Xft? | |
use_xft yes | |
xftfont DejaVu Sans:size=8 | |
xftalpha 0.8 | |
text_buffer_size 2048 | |
# Update interval in seconds | |
update_interval 1 | |
# 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 yes | |
own_window_transparent yes | |
own_window_type normal | |
own_window_hints decorated,above,sticky,skip_pager | |
# Use double buffering (reduces flicker, may not work for everyone) | |
double_buffer yes | |
# Minimum size of text area | |
minimum_size 200 0 | |
#maximum_width 500 | |
# Draw shades? | |
draw_shades no | |
# Draw outlines? | |
draw_outline no | |
# Draw borders around text | |
draw_borders no | |
# Stippled borders? | |
stippled_borders 0 | |
# border margins | |
border_margin 5 | |
# border width | |
border_width 1 | |
# Default colors and also border colors | |
default_color cyan | |
#cafea1 | |
#default_shade_color white | |
#default_outline_color black | |
own_window_colour 1E1C1A | |
# 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 35 | |
gap_y 50 | |
# 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 yes | |
# Add spaces to keep things from moving about? This only affects certain objects. | |
use_spacer none | |
background yes | |
#DATE ${hr 2} | |
#${alignc 47}${font Radio Space:size=40}${time %H:%M}${font} | |
#${voffset 4}${alignc}${font Arial:style=Bold:pixelsize=8}${time %A %d} | |
#${alignc}${execi 60 date +"%B %Y" | tr "[:lower:]" "[:upper:]"} | |
#${execpi 60 DJS=`date +%_d`; cal | sed '1d' | sed '/./!d' | sed 's/$/ /' | |
#| fold -w 21 | sed -n '/^.\{21\}/p' | sed 's/^/${alignc} /' | sed /" $DJS "/s/" $DJS "/" "'${color}'"$DJS"'${color}'" "/}${font} | |
#${if_existing /proc/net/route eth1} | |
#${else}${if_existing /proc/net/route eth0} | |
#${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60 F57900 FCAF3E} | |
#${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 F57900 FCAF3E} | |
#${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth0} | |
#${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth0} | |
#${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth0} | |
#${endif}${else}${if_existing /proc/net/route eth1} | |
#${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed eth1} kb/s ${alignr}${upspeedgraph eth1 8,60 F57900 FCAF3E} | |
#${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 F57900 FCAF3E} | |
#${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup eth1} | |
#${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown eth1} | |
#${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local Ip: ${alignr}${addr eth1} | |
#${endif}${else} | |
#${font PizzaDude Bullets:size=14}4${font} Network Unavailable | |
#${endif} | |
#${cpugraph 000000 ffffff} | |
#TOP PROCESSES | |
#NAME ${alignc}CPU% ${alignr}MEM% | |
#${top name 1} ${alignc}${top cpu 1} ${alignr}${top mem 1} | |
#${top name 2} ${alignc}${top cpu 2} ${alignr}${top mem 2} | |
#${top name 3} ${alignc}${top cpu 3} ${alignr}${top mem 3} | |
#${top name 4} ${alignc}${top cpu 4} ${alignr}${top mem 4} | |
#${top name 5} ${alignc}${top cpu 5} ${alignr}${top mem 5} | |
#${top name 6} ${alignc}${top cpu 6} ${alignr}${top mem 6} | |
#${top name 7} ${alignc}${top cpu 7} ${alignr}${top mem 7} | |
#${top name 8} ${alignc}${top cpu 8} ${alignr}${top mem 8} | |
#${top name 9} ${alignc}${top cpu 9} ${alignr}${top mem 9} | |
#/dev/sda | |
#Temperature: ${alignr}${exec nc localhost 7634 | awk -F'/dev/sd' '{print $2}' | awk -F'|' '{print $2" "$3}'}°C | |
#/dev/sdb | |
#Temperature: ${alignr}${exec nc localhost 7634 | awk -F'/dev/sd' '{print $3}' | awk -F'|' '{print $2" "$3}'}°C | |
#/dev/sdc | |
#Temperature: ${alignr}${exec nc localhost 7634 | awk -F'/dev/sd' '{print $4}' | awk -F'|' '{print $2" "$3}'}°C | |
#/dev/sdd | |
#Temperature: ${alignr}${exec nc localhost 7634 | awk -F'/dev/sd' '{print $5}' | awk -F'|' '{print $2" "$3}'}°C | |
#/media/500-8: ${fs_free_perc}% free | |
#${fs_free /media/500-8}/${fs_size /media/500-8} ${color lightblue}${alignr}${fs_bar 10,240 /media/500-8}$color | |
#Home: | |
#${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 10,240 /home} | |
TEXT | |
${color yellow}SYSTEM$color ${color orange}${hr 3}$color | |
${color green}$sysname $kernel ($machine)$color up ${color yellow}$uptime$color | |
${color green}${exec whoami}$color${color cyan}@$color${color yellow}$nodename$color | |
${color green}Time: $color${color yellow}${time %H:%M:%S on %a %b %d}$color | |
#${execpi 30 sensors | awk '/Core [01]/ {print $3}' | while read line ; do echo '${color green}${pre_exec cat /proc/cpuinfo | grep "model name" | sed -e "s/model name.*: //;s/\x20@\x20//" | sed -n "1p"}$color OC@${freq}MHz ${color yellow}'$line'$color' done} | |
#CPU Fan: $color${execpi 30 sensors | awk '/fan/ {print $2" "$3}'} | |
${color yellow}LOAD$color ${color orange}${hr 3}$color | |
$processes processes ($running_processes running) ${alignr}${color green}Load: $color${loadavg} | |
${color green}CPU: $color${cpu cpu0}% ${alignr}${color orange}${cpubar cpu0 10,280}$color | |
${color green}CPU: $color${cpu cpu1}% ${alignr}${color orange}${cpubar cpu1 10,280}$color | |
${color green}RAM: $color$memperc% ${color lightblue}${alignr}${membar 10,280}$color | |
${color green}SWAP: $color$swapperc% ${color lightgreen}${alignr}${swapbar 10,280}$color | |
${color yellow}PROCESSES$color ${color orange}${hr 2}$color | |
${color green}NAME ${goto 120}PID ${goto 190}CPU% ${goto 230}MEM% ${alignr}VIRT$color | |
${color yellow}${top name 1}$color ${goto 120}${top pid 1} ${goto 190}${top cpu 1} ${goto 230}${top mem 1} ${alignr}${top mem_res 1} | |
${color yellow}${top name 2}$color ${goto 120}${top pid 2} ${goto 190}${top cpu 2} ${goto 230}${top mem 2} ${alignr}${top mem_res 2} | |
${color yellow}${top name 3}$color ${goto 120}${top pid 3} ${goto 190}${top cpu 3} ${goto 230}${top mem 3} ${alignr}${top mem_res 3} | |
${color yellow}${top name 4}$color ${goto 120}${top pid 4} ${goto 190}${top cpu 4} ${goto 230}${top mem 4} ${alignr}${top mem_res 4} | |
${color yellow}${top name 5}$color ${goto 120}${top pid 5} ${goto 190}${top cpu 5} ${goto 230}${top mem 5} ${alignr}${top mem_res 5} | |
${color yellow}HDD$color ${color orange}${hr 2}$color | |
${color green}Mount point${goto 100}FSTYPE ${goto 150}Disk Free ${goto 220}Disk Used ${alignr}Disk Total$color | |
${execpi 30 awk '/dev\/sd/ {print $2}' /etc/mtab | sort | while read line ; do | |
echo $line '${goto 100}${fs_type '$line'} ${goto 150}${fs_free '$line'} ${goto 220}${fs_used '$line'} ${alignr}${fs_size '$line'}' | |
done } | |
${color yellow}I/O$color ${color orange}${hr 2}$color | |
${execpi 30 ls -1 /dev/sd* | awk '{gsub(/[0-9]/, ""); print}' | awk '!x[$0]++' | while read line ; do | |
echo $line '${goto 60}I/O Read: ${diskio_read '$line'} ${goto 175}${alignr}I/O Write: ${diskio_write '$line'}' | |
done } | |
${color yellow}GRAPHICS$color ${color orange}${hr 2}$color | |
${color green}Videocard design / vendor:$color ${alignr}${execi 300 lspci -m | awk -F"\"*\"" '/VGA/ {print $4" / "$8}'} | |
${color green}Videocard model:$color ${alignr}${execi 300 lspci -m | awk -F"\"*\"" '/VGA/ {print $6}'} | |
${color yellow}NETWORK$color ${color orange}${hr 2}$color | |
${color green}Up:$color ${upspeed eth0} | |
${upspeedgraph eth0 21,393 F57900 FCAF3E} | |
${color green}Down:$color ${downspeed eth0} | |
${downspeedgraph eth0 21,393 F57900 FF3300} | |
${color green}Upload:$color ${totalup eth0} ${color green}${alignr}Download:$color ${totaldown eth0} | |
${color green}Local IP:$color ${addr eth0} ${color green}${alignr}Public IP:$color ${execpi 30 wget -q -O - checkip.dyndns.org|sed -e 's/.*Current IP Address: //' -e 's/<.*$//'} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment