Two days of tweaking and looking at existing conky scripts, and I got it to do what I want
Code:
# .conkyrc configuration
# Tristam Green, 11-21-2007
# maintain spacing between certain elements
use_spacer yes
# set to yes if you want tormo to be forked in the background
#background yes
use_xft yes
# Xft font when Xft is enabled
xftfont Vera-6
#xftfont Andale Mono-9
#xftfont Clean-8
#xftfont cubicfive10:pixelsize=8
#xftfont squaredance10:pixelsize=14
#xftfont swf!t_v02:pixelsize=10
# Text alpha when using Xft
xftalpha 1
mail_spool $MAIL
# Update interval in seconds
update_interval 1.0
# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_hints below
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 200 5
maximum_width 250
# Draw shades?
draw_shades no
# Draw outlines?
draw_outline no # amplifies text
# Draw borders around text
draw_borders no
# Stippled borders?
stippled_borders 3
# border margins
border_margin 5
# border widt5
border_width 6
# Default colors and also border colors, grey90 == #e5e5e5
default_color grey90
default_shade_color black
default_outline_color DarkGrey
# 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
gap_x 24
gap_y 24
# Subtract file system buffers from used memory?
no_buffers yes
# set to yes if you want all text to be in uppercase
uppercase no
# *** RHYTHMBOX FORMAT SETTINGS ***
# ${rhythmbox-client --print-playing}
# Print the title and artist of the playing song
# ${rhythmbox-client --print-playing-format}
# Print formatted details of the song
# *** PARAMETERS ***
# %at Album title
# %aT Album title in lowercase
# %aa Album artist
# %aA Album artist in lowercase
# %ay Release year of album
# %an Album disc number
# %aN Album disc number with leading zero
# %ag Album genre
# %aG Album genre in lowercase
# %tt Track title
# %tT Track title in lowercase
# %ta Track artist
# %tA Track artist in lowercase
# %tn Track number
# %tN Track number with leading zero
# %td Track duration
# %te Elapsed time of track
# Variables can be combined using quotes. For example "%tn %aa %tt", will
# print the track number followed by the artist and the title of the
# track.
# stuff after 'TEXT' will be formatted on screen
TEXT
${color white}${font OpenLogos:size=14}T u ${font}${font Vera:size=8}$alignr ${time %a } ${time %e %B %G} | ${time %I:%M %P}${font}
${color #5da5d3}User ${hr 1}
${color #e5e5e5}${execi 30 whoami} @ $nodename $alignr $sysname $machine $kernel
${color #e5e5e5}${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'} ${color #CCCCCC}$alignr${freq_g} GHz
${color #e5e5e5}uptime $alignr $uptime_short
${color #5da5d3}System ${hr 1}
${color #e5e5e5}cpu usage $color $alignr $cpu%
${color #e5e5e5}load $alignr $loadavg
${color #5da5d3}Processes ${hr 1}
${color #e5e5e5}total $alignr $processes
${color #e5e5e5}running $alignr $running_processes
${color #5da5d3}Memory ${hr 1}
${color #e5e5e5}total $alignr ${memmax}
${color #e5e5e5}used $alignr $memperc% $mem
${color #5da5d3}Wireless (${color #ff9900}${addr eth1}${color #5da5d3}) ${hr 1}
${color e5e5e5}ssid ${wireless_essid eth1} $alignr ${wireless_ap eth1}
${color e5e5e5}mode ${wireless_mode eth1} $alignr Bitrate: ${wireless_bitrate eth1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth1} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #0000ff}${upspeedf eth1} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth1} $alignr total up: ${totalup eth1}
${color #5da5d3}Wired (${color #ff9900}${addr eth0}${color #5da5d3}) ${hr 1}
${color e5e5e5}down ${color #ff9900}${downspeedf eth0} ${color e5e5e5}k/s ${alignr}${color e5e5e5}up ${color #0000ff}${upspeedf eth0} ${color e5e5e5}k/s
${color e5e5e5}total down: ${totaldown eth0} $alignr total up: ${totalup eth0}
${color #5da5d3}File Systems ${hr 1}
${color #e5e5e5}root ${color white}${fs_free /} (${fs_free_perc /}%) ${color #e5e5e5}free of ${fs_size /}
${fs_bar /}
${color #e5e5e5}vista ${color white}${fs_free /media/sda3} (${fs_free_perc /media/sda3}%) ${color #e5e5e5}free of ${fs_size /media/sda3}
${fs_bar /media/sda3}
${if_mounted /media/SCOTT4GB} ${color #e5e5e5}usb ${color white}${fs_free /media/SCOTT4GB} (${fs_free_perc /media/SCOTT4GB}%) ${color #e5e5e5}free of ${fs_size /media/SCOTT4GB}
${fs_bar /media/SCOTT4GB}${else} usb not mounted${endif}
${color #5da5d3}Music ${hr 1}
${color #e5e5e5}title ${exec rhythmbox-client --print-playing-format "%aA - %tT"}
${color #e5e5e5}album ${exec rhythmbox-client --print-playing-format "%aT (%ay)"} $alignr track ${exec rhythmbox-client --print-playing-format "%tn"}
${color #e5e5e5}time ${exec rhythmbox-client --print-playing-format "%te / %td"}
Explanation of segments:
Segment 1 - User Information
Segment 2 - System Info
Segment 3 - Process Info
Segment 4 - Memory Info
Segment 5 - Wireless Info
- Displays IP info, essid, mode, wireless AP MAC and dn/up
Segment 6 - Wired Info
- Displays IP info and dn/up
Segment 7 - File Systems
- Displays sizes and graphs for root and vista partitions
- Displays information about my USB drive when it is mounted. When not mounted, "usb not mounted" appears.
Segment 8 - Music
- Integrates with Rhythmbox to display artist, title, album, album year, track #, and elapsed time / total time of currently playing track.
Be brutal, it's my first go-round. I got the basic layout from one of the users on (I think) page 94, and as soon as I find his name I'll credit the layout in the config file.
-Tristam
Bookmarks