View Single Post
Old 11-13-08, 06:03 PM   #7
Posts: n/a
Default Re: Official Conky Thread

Doc... Here is my script and a picture of my actual conkybox is above in one of my posts. You'll have to modify some of it for your own use. Any questions, feel free to PM me.

A note: The rythymbox code will need additional instructions. I can help you through it if you need.

background yes
use_xft yes
xftfont 123:size=8
xftalpha 0.1
update_interval 0.5
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 250 5
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color gray
default_shade_color red
default_outline_color green
alignment top_right
gap_x 10
gap_y 10
no_buffers no
uppercase no
cpu_avg_samples 2
net_avg_samples 1
override_utf8_locale yes
use_spacer yes
text_buffer_size 256


${font openlogos:size=20}${font Arial:size=20}${color Tan1}GNU${color Ivory}LINUX${font openlogos:size=20}
${voffset -90}
${color DimGray}
${font Arial:bold:size=10}${color Tan1}SYSTEM ${color DarkSlateGray} ${hr 2}
$font${color white}
$sysname $kernel $alignr $machine
Uptime $alignr${upti****

AMD Athlon 4800+ $alignr${freq_g cpu0}Ghz
$font${color white}CPU 1 ${cpu cpu1}% ${cpubar cpu1}
$font${color white}CPU 2 ${cpu cpu2}% ${cpubar cpu2}

$font${color white}MEM $alignc $mem / $memmax $alignr $memperc%
${membar 4}

Swap ${alignr}$swap / $swapmax ($swapperc%)
${swapbar 4}

$font${color white}/home $alignc ${fs_used /ho**** / ${fs_size /ho**** $alignr ${fs_free_perc /ho****%
${fs_bar /ho****

${font Arial:bold:size=10}${color Tan2}TIME ${color DarkSlateGray}${hr 2}

${color white} ${font :size=30}$alignc${time %H:%M:%S}
${voffset -30}${font :bold:size=10}$alignc${time %b %d %Y}
${font :bold:size=8}$alignc${time %A}

${font Arial:bold:size=10}${color Tan2}NETWORK ${color DarkSlateGray}${hr 2}
${color white}${font arial:size=8}${if_existing /sys/class/net/eth0/operstate up}IP (ath0):$alignr${addr ath0}

${color white}Down: ${downspeed wifi0} k/s ${alignr}Up: ${upspeed wifi0} k/s
${color white}${downspeedgraph wifi0 20,90} ${alignr}${upspeedgraph wifi0 20,90}
${color white}Total: ${totaldown wifi0} ${alignr}Total: ${totalup wifi0}

${font Arial:bold:size=10}${color Tan2}RHYTHMBOX ${color DarkSlateGray}${hr 2}
${font arial:size=10}${if_running rhythmbox}${execp conkyRhythmbox --template=/etc/conky/rhythm.template}${endif}
${color white} ${exec conkyRhythmbox --datatype=AR}
${color white} ${exec conkyRhythmbox --datatype=AL}
${color white} ${exec conkyRhythmbox --datatype=TI}
${color white} ${exec conkyRhythmbox --datatype=PT} / ${exec conkyRhythmbox --datatype=LE} - ${exec conkyRhythmbox --datatype=PP}%
  Reply With Quote