Skip to content

Instantly share code, notes, and snippets.

@nmunson
Created March 21, 2011 03:23
Show Gist options
  • Save nmunson/878960 to your computer and use it in GitHub Desktop.
Save nmunson/878960 to your computer and use it in GitHub Desktop.
My setup for conky
# 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 override
own_window_class conky
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
background no
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 0
maximum_width 180
# 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_inner_margin 5
# border width
border_width 1
# Default colors and also border colors
default_color black
default_shade_color black
default_outline_color black
own_window_colour black
color1 black
# 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 25
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 yes
# Add spaces to keep things from moving about? This only affects certain objects.
use_spacer none
TEXT
${font :style=Bold}SYSTEM${font} ${hr 2}
${voffset 2}${font StyleBats:size=16}i${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
${font StyleBats:size=16}A${font} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
${font StyleBats:size=16}g${font} RAM: $memperc% ${alignr}${membar 8,60}
${font StyleBats:size=16}j${font} SWAP: $swapperc% ${alignr}${swapbar 8,60}
${font Webdings:size=16}~${font} Battery: ${battery_percent BAT1}% ${alignr}${battery_bar 8,60 BAT1}
${font StyleBats:size=16}q${font} Uptime: ${alignr}${uptime}
${font :style=Bold}HD${font} ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font :style=Bold}WIRELESS${font} ${hr 2}
${voffset 4}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} ${alignr}${upspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} ${alignr}${downspeedgraph wlan0 8,60 000000 000000}
${voffset 4}${font PizzaDude Bullets:size=14}N${font} Upload: ${alignr}${totalup wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}T${font} Download: ${alignr}${totaldown wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} Signal: ${wireless_link_qual wlan0}/70 ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Local IP: ${alignr}${addr wlan0}
${font :style=Bold}PROCESSES${font} ${hr 2}
${voffset 4}${font PizzaDude Bullets:size=14}Y${font} ${top name 1} $alignr ${top cpu 1}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} ${top name 2} $alignr ${top cpu 2}
${voffset 4}${font PizzaDude Bullets:size=14}Y${font} ${top name 3} $alignr ${top cpu 3}
${voffset 4}${font PizzaDude Bullets:size=14}Z${font} ${top name 4} $alignr ${top cpu 4}
${voffset 4}${font PizzaDude Bullets:size=14}Y${font} ${top name 5} $alignr ${top cpu 5}
${font :style=Bold}MUSIC${font} ${hr 2}
${voffset 4}${font PizzaDude Bullets:size=14}V${font} Status: ${execp conkyRhythmbox -d ST}
${voffset 4}${font PizzaDude Bullets:size=14}W${font} Title: ${execp conkyRhythmbox -d TI}
${voffset 4}${font PizzaDude Bullets:size=14}V${font} Artist: ${execp conkyRhythmbox -d AR}
${voffset 4}${font PizzaDude Bullets:size=14}W${font} Album: ${execp conkyRhythmbox -d AL}
${voffset 4}${font PizzaDude Bullets:size=14}V${font} Playback: ${execp conkyRhythmbox -d PP}%
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment