Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Conky Configuration
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy!
##############################################
# Settings
##############################################
background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Andale Mono:size=9
xftalpha 0.5
update_interval 4.0
total_run_times 0
own_window yes
own_window_type normal
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 330
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color grey
default_shade_color red
default_outline_color green
alignment top_right
gap_x 15
gap_y 45
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no
#Transparency Settings
own_window_argb_visual true
own_window_argb_value 200 ##transparency maximum:255(no transparency), minimum:0(full transparency)
TEXT
$nodename ${alignr}$sysname $kernel
$stippled_hr
${color DarkOliveGreen1}CPU Intel i5 4570 ${offset 20} ${alignr}Speed: ${freq} MHz
${color}Uptime:$color ${alignr}$uptime
${color}Processes: $processes ${color DarkOliveGreen1}Running:$color $running_processes ${alignr}Load:$color $loadavg
${color}Core 1: ${color DarkOliveGreen1}${cpu cpu0}% ${color #cc2222}${cpubar cpu0 5}
${color}Core 2: ${color DarkOliveGreen1}${cpu cpu1}% ${color #cc2222}${cpubar cpu1 5}
${color}Core 3: ${color DarkOliveGreen1}${cpu cpu2}% ${color #cc2222}${cpubar cpu2 5}
${color}Core 4: ${color DarkOliveGreen1}${cpu cpu3}% ${color #cc2222}${cpubar cpu3 5}
${color red}${cpugraph 0000ff 00ff00}
${color}Name PID CPU% MEM%
${color DarkOliveGreen1}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
${color lightgrey}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
${color lightgrey}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
$color$stippled_hr
${color DarkOliveGreen1}Memory
${color}RAM: $mem/$memmax ${alignr}${color DarkOliveGreen1}$memperc% ${color #cc2222}${membar 5,100}
${color}Mem usage PID ${alignr}MEM (%)
${color DarkOliveGreen1}${top_mem name 1} ${top_mem pid 1} ${alignr}${top_mem mem_res 1} (${top_mem mem 1})
${color lightgrey}${top_mem name 2} ${top_mem pid 2} ${alignr}${top_mem mem_res 2} (${top_mem mem 2})
${color lightgrey}${top_mem name 3} ${top_mem pid 3} ${alignr}${top_mem mem_res 3} (${top_mem mem 3})
$stippled_hr
${color DarkOliveGreen1}File systems:${color}
${exec df -h | grep "/dev/sd" | awk '{ printf "%s of %s \t : %s\n", $5, $2, $6 }' }
Root disk I/O: ${diskio /dev/sdb1}
${color red}${diskiograph /dev/sdb1}${color}
$stippled_hr
${color DarkOliveGreen1}Network${alignr}${color}IP: ${addr eth0}
Down:${color DarkOliveGreen1}${downspeed eth0}/s (${totaldown eth0})${color}${alignr}Up:${color DarkOliveGreen1}${upspeed eth0}/s (${totalup eth0})
${color DarkOliveGreen1}${downspeedgraph eth0 32,135 ff0000 0000ff} ${color DarkOliveGreen1}${alignr}${upspeedgraph eth0 32,135 0000ff ff0000}
${color DarkOliveGreen1}Port(s)${alignr}#Connections
${color}Inbound: ${tcp_portmon 1 32767 count} Outbound: ${tcp_portmon 32768 61000 count}${alignr} All: ${tcp_portmon 1 65535 count}
${color DarkOliveGreen1}Inbound Connection ${alignr} Local Service/Port$color
${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
${color DarkOliveGreen1}Outbound Connection ${alignr} Remote Service/Port$color
${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.