Re: My Conky Config
^Nice looking. ![]()
Also know as ultraturquoise online / #! last.fm / #! DeviantART / U / Q
CrunchBang Linux Forums » Tips, Tricks & Scripts » My Conky Config
^Nice looking. ![]()
@Hanna: Thanks, and thank you for where to find the weather info.

http://crunchbanglinux.org/pastebin/57
I use the AccuWeather for weather (the script I found from Gnome-look.org http://gnome-look.org/content/show.php/
nt=94467).
Music: ConkyExaile (http://www.kaivalagi.com/node/12)
hello there...
it's my first posting and this is my desktop:
All scripts are used with these conkies i will also post when someones want it ![]()
@Hanna: I see why you are Conky Queen! I'll have to try that when I come back to home. ![]()
@escapado Do you use Kaivalagi's conkyPidgin script? (http://www.kaivalagi.com/node/14)
@escapado
can you post your menu.xml please ??
here we go ![]()
@escapado Do you use Kaivalagi's conkyPidgin script? (http://www.kaivalagi.com/node/14)
yes i do - here is my conkypidgin.template
the script to show the sender of the last message is a little modification of those one
Last edited by ESCAPADO (2009-01-07 17:38:07)
^Thank you very much ![]()
thanks escapado ... i guess you're musicien..... maybe could we listen to something of you somewhere ??
No, I'm only a big fan of the german hardcore/screamo band ESCAPADO ![]()
because i hate spamming here are my used scripts:
~/scripts/cal => http://yourpaste.net/1499
~/scripts/conkyForecast.py => http://pastebin.com/f4c3118e9
~/scripts/sensors.sh => http://pastebin.com/f69767ad2
~/scripts/ipcheck.sh => http://pastebin.com/f325d0dd3
~/scripts/rs-points.sh => http://pastebin.com/f30439ad1
~/scripts/rs-files.sh => http://pastebin.com/f3da59df
Last edited by ESCAPADO (2009-01-07 18:28:33)
@Hanna - That's a great looking config.
@ESCAPADO - Didn't even realize that there was a pidgin script for conky. Might come in handy. ![]()
I am indebted to Hanna's original for my beautiful Conky setup, and to everybody here for their tips and advice (despite my low resolution photo wallpaper, but I wanted a slideshow of rotated images from my photo collection), and here it is: I couldn't find a command called 'ip' so I deleted the line with the Public IP. It's not of major importance to me anyway.
I'm particularly fond of the weather segment. ![]()
# .conkyrc by fabsh <fabsh@lamerk.org>
# Based on ideas and code from the CunchBang Linux forums at http://crunchbanglinux.org
# v. 1.0
# Use Xft?
use_xft yes
xftfont DejaVu Sans:size=6
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
own_window yes
own_window_transparent yes
#own_window_type override
own_window_type desktop
#own_window_type normal #use this if you want a nice shadow to appear around conky
# If own_window is yes, these window manager hints may be used
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 0
#maximum_width 200
# Draw shades?
draw_shades yes
# 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 grey
#default_shade_color black
#default_outline_color grey
own_window_colour grey
# 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 12
gap_y 8
# 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
DATE ${hr 2}
${alignc 29}${font Arial Black:size=18}${time %_I.%M%P}${font}
${voffset 2}${alignc}${time %A, %d %B %Y}
SYSTEM ${hr 2}
${alignc 19}${font Arial Black:size=16}${nodename}${font}
${alignc -4}DESKTOP
${voffset 2}${font Arial Black:style=Bold:size=12}#!${font} CrunchBang Linux ${alignr}8.10.1
${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU: ${cpu cpu1}% ${alignr}${cpubar cpu1 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 StyleBats:size=16}q${font} Uptime: ${alignr}${uptime_short}
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${font Trebuchet MS:style=Bold:size=10}${execi 600 conkyForecast --location=UKXX0083 -d CN}, ${execi 600 conkyForecast --location=UKXX0083 -d CO}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0083 --datatype=WF}${font}
${alignr}${font}${execi 600 conkyForecast --location=UKXX0083 -d CT}
${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=UKXX0083 --datatype=HT}${font}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=UKXX0083 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=UKXX0083 --hideunits --datatype=WD}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=UKXX0083 --datatype=SR} ~ ${execi 600 conkyForecast --location=UKXX0083 --datatype=SS}
${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=UKXX0083 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=UKXX0083 --datatype=MF}${font}
${else}${if_existing /proc/net/route eth0}
${font Trebuchet MS:style=Bold:size=10}${execi 600 conkyForecast --location=UKXX0083 -d CN}, ${execi 600 conkyForecast --location=UKXX0083 -d CO}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=UKXX0083 --datatype=WF}${font}
${alignr}${font}${execi 600 conkyForecast --location=UKXX0083 -d CT}
${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=UKXX0083 --datatype=HT}${font}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=UKXX0083 --hideunits --datatype=WS} km/h ${execi 600 conkyForecast --location=UKXX0083 --hideunits --datatype=WD}
${voffset 0}Daylight: ${alignr}${execi 600 conkyForecast --location=UKXX0083 --datatype=SR} ~ ${execi 600 conkyForecast --location=UKXX0083 --datatype=SS}
${font Trebuchet MS:size=12}${execi 600 conkyForecast --location=UKXX0083 --datatype=MP}
${voffset -30}${alignr 42}${font MoonPhases:size=28}${execi 600 conkyForecast --location=UKXX0083 --datatype=MF}${font}
${else}
${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
${endif}
${voffset -10}DISK USAGE${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:${alignr}${fs_free_perc /}% free
${alignr}${fs_bar 8,60 /}
${if_mounted /media/Max}${font Pie charts for maps:size=14}7${font} ${voffset -5}Max:${alignr}${fs_free_perc /media/Max}% free
${alignr}${fs_bar 8,60 /media/Max}
${endif}${if_mounted /media/Tor}${font Pie charts for maps:size=14}7${font} ${voffset -5}Tor:${alignr}${fs_free_perc /media/Tor}% free
${alignr}${fs_bar 8,60 /media/Tor}
${endif}
NETWORK ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 BEBEBE BEBEBE}
${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}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Local IP: ${alignr}${addr wlan0}
${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 789E2D A7CC5C}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60 789E2D A7CC5C}
${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}b${font} Local IP: ${alignr}${addr eth0}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Network Unavailable
${endif}
E-MAIL${hr 2}
${if_existing /proc/net/route wlan0}${voffset -6}${font Martin Vogel's Symbols:size=18}k${font} GMail inbox has ${texeci 60 perl ~/gmail.pl n} unread e-mails.
${texeci 60 perl ~/gmail.pl s}${else}${if_existing /proc/net/route eth0}${voffset -6}${font Martin Vogel's Symbols:size=18}k${font} GMail inbox has ${texeci 60 perl ~/gmail.pl n} unread e-mails.
${texeci 60 perl ~/gmail.pl s}${endif}${else}
${font PizzaDude Bullets:size=14}4${font} E-mail Unavailable
${endif}
MUSIC${hr 2}
${font Arial Black:size=14}♫${font} ${if_running banshee-1}${exec banshee --query-title | cut -f2- -d" "}${font}
${offset 31}by ${exec banshee --query-artist | cut -f2- -d" "}
${offset 31}${font}from ${exec banshee --query-album | cut -f2- -d" "}${font}${else}Not Playing${endif}
Wow all you guys have really done something nice with your configs.
This means I have to start working on mine as well. Lets see what I'll be able to cook up.
# 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_hints undecorated,below,sticky,skip_taskbar,skip_pager
# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes
# Minimum size of text area
minimum_size 180 0
#maximum_width 200
# 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 white
#default_shade_color black
#default_outline_color white
own_window_colour white
# 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 30
gap_y 30
# 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 1
# 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
SISTEMA ${hr 2}
${alignc 19}${font Arial Black:size=16}${nodename}${font}
${alignc -4}AthlonXP 1800+
${voffset 2}${font Arial Black:style=Bold:size=12}#!${font} CrunchBang Linux ${alignr}08.10.01
${voffset 2}${font OpenLogos:size=16}u${font} Kernel: ${alignr}${kernel}
${font StyleBats:size=16}A${font} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 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 StyleBats:size=16}q${font} Ligado: ${alignr}${uptime}
DATA ${hr 2}
${alignc 35}${font Arial Black:size=26}${time %H:%M}${font}
${alignc}${time %A %d %Y}
HD ${hr 2}
${voffset 4}${font Pie charts for maps:size=14}7${font} ${voffset -5}Root:
${voffset 4}${fs_used /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
${font Pie charts for maps:size=14}7${font} ${voffset -5}Home:
${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
REDE ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -6}${font PizzaDude Bullets:size=14}O${font} Up: ${upspeed wlan0} kb/s ${alignr}${upspeedgraph wlan0 8,60 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed wlan0} kb/s ${alignr}${downspeedgraph wlan0 8,60 3465A4 729FCF}
${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} Sinal: ${wireless_link_qual wlan0}% ${alignr}${wireless_link_bar 8,60 wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}a${font} Ip Local: ${alignr}${addr wlan0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${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} Ip Local: ${alignr}${addr eth0}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${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 3465A4 729FCF}
${voffset 4}${font PizzaDude Bullets:size=14}U${font} Down: ${downspeed eth1} kb/s ${alignr}${downspeedgraph eth1 8,60 3465A4 729FCF}
${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} Ip Local: ${alignr}${addr eth1}
${voffset 4}${font PizzaDude Bullets:size=14}b${font} Ip Externo: ${alignr}${execi 1 ~/.scripts/ip.sh}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Rede indisponível
${endif}
This is a great thread. I'm impressed by everyone's work! I'm new to #! and Conky. I seem to be having a bit of trouble with my config. What I want to do is show any inbound connections but only if they exist so something like the following:
${if_empty (tcp_portmon 1 32767 rhost 0)}$else ${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}${endif}The problem is the if_empty bit. I don't really understand what it does but the tcp_portmon seems to always be false. Thus in the absence of a connection I end up with a blank line. Any suggestions?
Unfortunately, I think you'll have to find another way. The $if_empty clause checks to see of a conky variable is empty. As far as I know, tcp_portmon will always return some value. For example, I currently have no inbound connections, yet in conky, it's showing as 0.
Hope this helped.
Unfortunately, I think you'll have to find another way. The $if_empty clause checks to see of a conky variable is empty. As far as I know, tcp_portmon will always return some value. For example, I currently have no inbound connections, yet in conky, it's showing as 0.
Thanks for confirming what I suspected. Any suggestions on what else I might try?
I'm also trying to get conkyForecast(.py) setup. I've got it installed and working but I'm getting these uppercase As with a little ^ like hat on top of them. This screen shot http://images.maketecheasier.com/2008/1 -small.jpg shows the A-hat thing just like mine right after the number and before the unit. Taking out the unit and degree sign doesn't suppress the problem. Has someone else solved this problem?
pulled from the forecast examples:
${font Bitstream Vera Sans Mono:size=14}${execi 1800 conkyForecast --location=USNY0996 --datatype=CT -i} ${font}
${font ConkyWeather:style=Bold:size=40}${execi 1800 conkyForecast --location=USNY0996 --datatype=WF -i} ${font ConkyWindNESW:size=40}${execi 1800 conkyForecast --location=USNY0996 --datatype=BS -i}${font}
${execi 1800 conkyForecast --location=USNY0996 --datatype=HT -i --centeredwidth=4}/${execi 1800 conkyForecast --location=USNY0996 --datatype=LT --centeredwidth=4 -i} ${execi 1800 conkyForecast --location=USNY0996 --datatype=WS --imperial} - ${execi 1800 conkyForecast --location=USNY0996 --datatype=WD -i}To fix the A's w/ the ^ on them, put this line in before TEXT
override_utf8_locale yesAs for you're other problem, I tried using tcp_portmon's other commands (rport, lservice, etc) but all of them produced some sort of output when Incoming Connections was 0. I'd say you're best bet is by taking a look at your ports through some scripting language (bash, python, perl, awk, etc...)
However, is it really that big of a problem for it to show 0 for incoming connections?
[Edit]: Unless someone here knows how to use ${if_empty} properly (w/ tcp_portmon)
Last edited by ZeroTruths (2009-01-14 03:09:05)
.conkyrc QUESTION:
Disk usage /:$alignr${fs_used /} / ${fs_size /}
${if_existing /mnt/win_c}/mnt/win_c:$alignr${fs_used /mnt/win_c} / ${fs_size /mnt/win_c}$endif
${if_existing /mnt/win_d}/mnt/win_d:$alignr${fs_used /mnt/win_d} / ${fs_size /mnt/win_d}$endif
${if_existing /mnt/hda6}/mnt/hda6:$alignr${fs_used /mnt/hda6} / ${fs_size /mnt/hda6}$endif
${if_existing /mnt/hda8}/mnt/hda8:$alignr${fs_used /mnt/hda8} / ${fs_size /mnt/hda8}$endif
${if_existing /mnt/hda9}/mnt/hda9:$alignr${fs_used /mnt/hda9} / ${fs_size /mnt/hda9}$endifWhen using conky conditional if statements, how do I prevent a "blank line" if condition is not met?
Good question! I use an ugly hack: cancel out the blank line by inserting a negative vertical offset if the condition is not met. So your example above might look like this:
Disk usage /:$alignr${fs_used /} / ${fs_size /}
${if_existing /mnt/win_c}/mnt/win_c:$alignr${fs_used /mnt/win_c} / ${fs_size /mnt/win_c}$else ${voffset -15} $endif
${if_existing /mnt/win_d}/mnt/win_d:$alignr${fs_used /mnt/win_d} / ${fs_size /mnt/win_d}$else ${voffset -15} $endif
${if_existing /mnt/hda6}/mnt/hda6:$alignr${fs_used /mnt/hda6} / ${fs_size /mnt/hda6}$else ${voffset -15} $endif
${if_existing /mnt/hda8}/mnt/hda8:$alignr${fs_used /mnt/hda8} / ${fs_size /mnt/hda8}$else ${voffset -15} $endif
${if_existing /mnt/hda9}/mnt/hda9:$alignr${fs_used /mnt/hda9} / ${fs_size /mnt/hda9}$else ${voffset -15} $endif
You'll probably need to adjust the value of -15 to match the height of a blank line in your chosen font. As I say, it's ugly, but it works!
Does anyone have a more elegant solution?
Fairly basic and functional:
alignment top_right
background yes
use_xft yes
xftfont bitstream vera:size=10
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_type desktop
own_window_colour 0000cc
own_window_transparent no
double_buffer yes
minimum_size 250
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
border_width 2
border_margin 6
draw_graph_borders no
default_color f0f0f0
color1 dd6655
color2 ff2244
color3 yellow
no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
short_units yes
gap_x 16
gap_y 16
TEXT
${font Georgia:bold:size=12}${color3}$alignc $sysname $kernel ${color}${font}
${offset 48}${font OpenLogos:size=96}v${font}
Uptime $alignr $uptime
${color2}Download $alignr ${totaldown wlan0} (${downspeed wlan0} kb/s)
${downspeedgraph wlan0}
Upload $alignr ${totalup wlan0} (${upspeed wlan0} kb/s)
${upspeedgraph wlan0}${color}
$processes processes ($running_processes running)
${voffset 8}CPU $alignr ${cpu cpu0}%
${cpubar cpu0}
${color3}MEM $alignc $mem / $memmax $alignr $memperc%
$membar
swap $alignc $swap / $swapmax $alignr $swapperc%
${swapbar}${color}
${if_mounted /XP}/XP $alignc ${fs_used /XP} / ${fs_size /XP} $alignr ${fs_used_perc /XP}%
${fs_bar /XP}$else ${voffset -15} $endif
${if_mounted /x750}/x750 $alignc ${fs_used /x750} / ${fs_size /x750} $alignr ${fs_used_perc /x750}%
${fs_bar /x750}$else ${voffset -15} $endif
${if_mounted /data}/data $alignc ${fs_used /data} / ${fs_size /data} $alignr ${fs_used_perc /data}%
${fs_bar /data}$else ${color2}Warning: /data not mounted!${color}$endif
${if_mounted /arch}/arch $alignc ${fs_used /arch} / ${fs_size /arch} $alignr ${fs_used_perc /arch}%
${fs_bar /arch}$else ${voffset -15} $endif
${if_mounted /suse}/suse $alignc ${fs_used /suse} / ${fs_size /suse} $alignr ${fs_used_perc /suse}%
${fs_bar /suse}$else ${voffset -15} $endif
/ $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
${fs_bar /}
${font Georgia:bold:size=11}${color3}$alignc PROCESSES ${color}${font}
${voffset -8} ${hr}
${font bitstream vera:bold:size=10}${color1}NAME ${alignr}MEM%${color}${font}
${top_mem name 1} ${alignr}${top_mem mem 1}
${top_mem name 2} ${alignr}${top_mem mem 2}
${top_mem name 3} ${alignr}${top_mem mem 3}
${top_mem name 4} ${alignr}${top_mem mem 4}
${top_mem name 5} ${alignr}${top_mem mem 5}
${top_mem name 6} ${alignr}${top_mem mem 6}
${top_mem name 7} ${alignr}${top_mem mem 7}
${top_mem name 8} ${alignr}${top_mem mem 8}
${top_mem name 9} ${alignr}${top_mem mem 9}
${top_mem name 10} ${alignr}${top_mem mem 10}
${font bitstream vera:bold:size=10}${color1}NAME ${alignr}CPU%${color}${font}
${top name 1} ${alignr}${top cpu 1}
${top name 2} ${alignr}${top cpu 2}
${top name 3} ${alignr}${top cpu 3}And it looks something like this:

The only notable point is the use of negative vertical offsets in the conditional "if_mounted" statements. These offsets are there to cancel out the blank line that Conky inserts if the partition is not mounted; see the previous post. ![]()
Posts [ 101 to 125 of 2,565 ]
CrunchBang Linux Forums » Tips, Tricks & Scripts » My Conky Config
Forums powered by PunBB. Hosted by Linode.
Copyright © CrunchBang Linux.
Proudly powered by Debian GNU/Linux.
Debian is a registered trademark of Software in the Public Interest, Inc.