Re: My Conky Config

Slipshot.....

That's gorgeous....

I really am a nice person until you ask the police.
The first link is to a forum for a kick-ass MMORPG to be
The second is a blog for anyone with an opinion.
|The Hallow Life|DigiMantis|

827

Re: My Conky Config

^ nice work slipshot! big_smile

I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

828

Re: My Conky Config

slipshot wrote:

Just toying around and thought it looked cool

NO KIDDING!!!!!!!!!!

1. I want that wallpaper.
2. I would like to put that up on Conky HardCore!

- I'd need:

conky file(s)
scripts
list of fonts
(screenshot I have now)

see #1  smile

Have a nice day (looks like you are thinking about it)
Bruce

Re: My Conky Config

@ slipshot - very nice synergy of wallpaper and conky.  excellent work!

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

Re: My Conky Config

here is the beginnings of a conky (just tinkering to get some inspiration)
see it working:  http://blip.tv/file/3123912
its a bit jumpy with record my desktop running... text skips every so slightly to the left every now and again even though everything should be set to goto 0...fiddling with the minimum width and height seems to get rid of the skipping
the hard part was working out the logistics of what goes where when
adding other information should be relatively easy, although gets harder once you want to expand the vertical "scroll" length

heres how i got it working (now with memory and HDD usage)

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 1500000
background no
use_xft yes
#xftfont Mono:size=10
xftalpha 1
update_interval .5
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 300 100
maximum_width 300
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_middle
gap_x 20
gap_y 20
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale yes
color1 86acad #darker blue
color2 b1c9c9 #lighter blue
text_buffer_size 100000
##############################################
#  Output
##############################################

TEXT
${font White Rabbit:size=10}${color white}
${goto 0}${if_updatenr 01}${goto 0}${voffset 25}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${else}\
${goto 0}${if_updatenr 02}${goto 0}${voffset 30}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${else}\
${goto 0}${if_updatenr 03}${goto 0}${voffset 35}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${else}\
${goto 0}${if_updatenr 04}${goto 0}${voffset 40}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${else}\
${goto 0}${if_updatenr 05}${goto 0}${voffset 45}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${else}\
${goto 0}${if_updatenr 06}${goto 0}${voffset 25}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${else}\
${goto 0}${if_updatenr 07}${goto 0}${voffset 30}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${else}\
${goto 0}${if_updatenr 08}${goto 0}${voffset 35}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${else}\
${goto 0}${if_updatenr 09}${goto 0}${voffset 40}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${else}\
${goto 0}${if_updatenr 10}${goto 0}${voffset 45}TIME ${time %H:%M}${goto 0}${voffset -25}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${else}\
${goto 0}${if_updatenr 11}${goto 0}${voffset 25}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${else}\
${goto 0}${if_updatenr 12}${goto 0}${voffset 30}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${else}\
${goto 0}${if_updatenr 13}${goto 0}${voffset 35}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${else}\
${goto 0}${if_updatenr 14}${goto 0}${voffset 40}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${else}\
${goto 0}${if_updatenr 15}${goto 0}${voffset 45}DATE ${time %m/%d/%g}${goto 0}${voffset -25}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${else}\
${goto 0}${if_updatenr 16}${goto 0}${voffset 25}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${else}\
${goto 0}${if_updatenr 17}${goto 0}${voffset 30}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${else}\
${goto 0}${if_updatenr 18}${goto 0}${voffset 35}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${else}\
${goto 0}${if_updatenr 19}${goto 0}${voffset 40}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${else}\
${goto 0}${if_updatenr 20}${goto 0}${voffset 45}CPU ${cpu}% CAPACITY${goto 0}${voffset -25}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${else}\
${goto 0}${if_updatenr 21}${goto 0}${goto 0}${voffset 25}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${else}\
${goto 0}${if_updatenr 22}${goto 0}${goto 0}${voffset 30}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${else}\
${goto 0}${if_updatenr 23}${goto 0}${goto 0}${voffset 35}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${else}\
${goto 0}${if_updatenr 24}${goto 0}${goto 0}${voffset 40}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${else}\
${goto 0}${if_updatenr 25}${goto 0}${goto 0}${voffset 45}MEM ${memperc}% IN USE${goto 0}${voffset -25}HDD ${fs_used_perc /}% FULL${goto 0}${voffset -25}TIME ${time %H:%M}${else}\
${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}${endif}

EDIT i've been wanting to construct a scrolling conky for a while, but im not satisfied with the conky scroll function
not sure this one will stand the test of time though, might give you a headache looking at it too long smile

Last edited by mrpeachy (2010-01-23 22:59:46)

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

Re: My Conky Config

Here is all the stuff you should need for the Conky complete with the conkystart.sh, Font, Wallpaper, Etc......

http://omploader.org/vM2M2eQ

Bruce Wrote:

NO KIDDING!!!!!!!!!!

1. I want that wallpaper.
2. I would like to put that up on Conky HardCore!

- I'd need:

conky file(s)
scripts
list of fonts
(screenshot I have now)

see #1  smile

Have a nice day (looks like you are thinking about it)

It would be an honor to be on Conky Hardcore! Thankyou big_smile
And Thank you all it is #! and everyone in this community that inspires me

Re: My Conky Config

http://omploader.org/tM2NkaA

TEXT
${voffset 20}${font White Rabbit:bold:pixelsize=280}${execi 1 /home/mcdowall/scripts/hourminvertical.sh}
${voffset -855}${goto 0} ${if_match ${memperc} <=09}00${memperc}${else}${if_match ${memperc} <=99}0${memperc}${else}100${endif}${endif}${time %m%d}2
${goto 0} ${execi 60 /home/mcdowall/scripts/uthour.sh}${exec /home/mcdowall/scripts/mv1.sh}${execi 600 /home/mcdowall/scripts/hddv1.sh}${if_match ${cpu} <=09}00${cpu}${else}${if_match ${cpu} <=99}0${cpu}${else}100${endif}${endif}0
${goto 0} ${execi 60 /home/mcdowall/scripts/utmin.sh}${exec /home/mcdowall/scripts/mv2.sh}${execi 600 /home/mcdowall/scripts/hddv2.sh}${time %a}1
${goto 0} ${time %S}${exec /home/mcdowall/scripts/mv3.sh}${execi 600 /home/mcdowall/scripts/hddv3.sh}${if_match ${swapperc} <=09}00${swapperc}${else}${if_match ${swapperc} <=99}0${swapperc}${else}100${endif}${endif}0

scripts are all pretty basic

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

833

Re: My Conky Config

slipshot wrote:

Here is all the stuff you should need for the Conky complete with the conkystart.sh, Font, Wallpaper, Etc......

It would be an honor to be on Conky Hardcore! Thankyou big_smile
And Thank you all it is #! and everyone in this community that inspires me

I have another 2 to do first and have been busy, BUT I will let you know as soon as it is done!

Late tonight or tomorrow.

Have a nice day.
Bruce

Re: My Conky Config

new wallpaper conky
http://omploader.org/tM2N0dQ

if only cpu usage were a little lower then this would be a definite keeper on my computer!

the problem isnt only with conky however... top says tells me that this conky runs around 9-10% which is still a tad high, but ok... the problem is that its making xorg work harder for some reason ... xorg is running at 6-9%.... so cpu is running 16-20% constant

I have a basic idea of what xorg is, but why would this conky cause it trouble?

##############################################
#  Settings
##############################################
max_specials 10000
max_user_text 1500000
background no
use_xft yes
#xftfont White Rabbit:bold:pixelsize=228
xftalpha 1
update_interval 1
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 10 10
maximum_width 1440
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes
default_color white
default_shade_color black
default_outline_color white
alignment top_left
gap_x 0
gap_y 0
no_buffers yes
uppercase yes
cpu_avg_samples 2
override_utf8_locale yes
color1 86acad #darker blue
color2 b1c9c9 #lighter blue
text_buffer_size 100000
short_units yes
#use_spacer
#pad_percents
color1 191919 #${color1}
color2 262626 #${color2}
color3 333333 #${color3}
color4 404040 #${color4}
##############################################
#  Output
##############################################

TEXT
${voffset 10}${font White Rabbit:bold:pixelsize=228}${color3}${if_match ${fs_used_perc /} <=09}00${fs_used_perc /}${else}${if_match ${fs_used_perc /} <=99}0${fs_used_perc /}${else}100${endif}${endif}${color1}${time %H%M}${color4}${if_match ${swapperc} <=09}00${swapperc}${else}${if_match ${swapperc} <=99}0${swapperc}${else}100${endif}${endif}${color2}L
${goto 0}${color1}20${color2}${time %b}${color1}${time %S}${color3}${if_match ${memperc} <=09}00${memperc}${else}${if_match ${memperc} <=99}0${memperc}${else}100${endif}${endif}${color2}I
${goto 0}${color1}${time %y}${color3}${execi 60 /home/mcdowall/scripts/uthour.sh}${color4}${time %m%d}${color grey}  ${color2}N
${goto 0}${color2}${if_match ${cpu} <=09}00${cpu}${else}${if_match ${cpu} <=99}0${cpu}${else}100${endif}${endif}${color3}${execi 60 /home/mcdowall/scripts/utmin.sh}${color2}${time %a}${color grey}  ${color2}U
${goto 0}${color1}${exec $echo uname -r | sed -e 's/generic//' | sed -e 's/[-.]//g'}${color4}${execi 600 /home/mcdowall/scripts/temp.sh}${color2}X${image /home/mcdowall/images/conkyfiles/whitezero.png -p 1046,349 -s 176x172}${image /home/mcdowall/images/conkyfiles/whitezero.png -p 1176,349 -s 176x172}${image /home/mcdowall/images/conkyfiles/whitezero.png -p 1046,523 -s 176x172}${image /home/mcdowall/images/conkyfiles/whitezero.png -p 1176,523 -s 176x172}

Last edited by mrpeachy (2010-01-26 05:29:24)

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

835

Re: My Conky Config

http://omploader.org/tM2N4bQ

http://omploader.org/tM2N4bA

Animated pie charts for all info, some color changes too, various scripts and 'fortunes' text.

#  Settings
##############################################
# Use XftD
use_xft yes
xftfont Bauhaus Md BT:size=8
xftalpha 1.0
text_buffer_size 2048
if_up_strictness address

# 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 no
own_window_transparent yes
own_window_type normal
#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 1280
#maximum_width 350

# Draw shadesD
draw_shades no

# Draw outlinesD
draw_outline no

# Draw borders around text
draw_borders no

# Stippled bordersD
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color FFFFDD
color1 1994d1
color2 FFFFDD
color3 a90100
#default_shade_color 888888
#default_outline_color 888888
own_window_colour 000000

# Text alignment, other possible values are commented
alignment tl

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 24
gap_y 0

# Subtract file system buffers from used memoryD
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 UTF8D note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving aboutD  This only affects certain objects.
use_spacer none

TEXT

${offset 10}${color1}${font Radio space:size=52}${time %I:%M}${font Radio space:size=22}${time %P}${font}
${offset 15}${font Jura:size=14}${time %A %e %B}${font}${color}











 ${voffset 4}${font StyleBats:size=22}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_match ${battery_percent BAT0} >= 99}${color2}I${else}${color1}O${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${battery_percent BAT0} >=90}8${else}${if_match ${battery_percent BAT0} >=60}m${else}${if_match ${battery_percent BAT0} >=40}l${else}${if_match ${battery_percent BAT0} >=20}k${else}j${endif}${endif}${endif}${endif}${alignr}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${wireless_link_qual wlan0} >= 80}8${else}${if_match ${wireless_link_qual wlan0} >= 60}m${else}${if_match ${wireless_link_qual wlan0} >= 40}l${else}${if_match ${wireless_link_qual wlan0} >= 20}k${else}j${endif}${endif}${endif}${endif}${font}  ${voffset -12}${font pizzadude bullets:size=20}${color1}:${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 4}${font StyleBats:size=22}${if_match ${acpitemp} >= 70}${color3}p${else}${if_match ${acpitemp} >= 60}${color2}p${else}${color1}p${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${acpitemp} >=70}8${else}${if_match ${acpitemp} >=60}m${else}${if_match ${acpitemp} >=50}l${else}${if_match ${acpitemp} >=40}k${else}j${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${upspeedf wlan0 wlan0} >= 80}8${else}${if_match ${upspeedf wlan0 wlan0} >= 40}m${else}${if_match ${upspeedf wlan0 wlan0} >= 10}l${else}${if_match ${upspeedf wlan0 wlan0} >= 4}k${else}j${endif}${endif}${endif}${endif}${color1}${font}  ${voffset -12}${font pizzadude bullets:size=20}${if_match ${upspeedf wlan0} >= 2}${color2}w${else}${color1}v${endif}${color1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 4}${font StyleBats:size=22}${if_match ${cpu cpu1} >= 90}${color3}a${else}${if_match ${cpu cpu1} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${cpu cpu1} >=90}8${else}${if_match ${cpu cpu1} >=60}m${else}${if_match ${cpu cpu1} >=30}l${else}${if_match ${cpu cpu1} >=10}k${else}j${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${downspeedf wlan0} >= 80}8${else}${if_match ${downspeedf wlan0} >= 40}m${else}${if_match ${downspeedf wlan0} >= 10}l${else}${if_match ${downspeedf wlan0} >= 4}k${else}j${endif}${endif}${endif}${endif}${color}${font}  ${voffset -12}${font pizzadude bullets:size=20}${if_match ${downspeedf wlan0} >= 2}${color2}s${else}${color1}r${endif}${color1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 4}${font StyleBats:size=22}${if_match ${cpu cpu2} >= 90}${color3}a${else}${if_match ${cpu cpu2} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${cpu cpu2} >=90}8${else}${if_match ${cpu cpu2} >=60}m${else}${if_match ${cpu cpu2} >=30}l${else}${if_match ${cpu cpu2} >=10}k${else}j${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset 0}${voffset -7}${font Rebecca:size=32}U${font}  ${offset 4}${voffset -18}${font pizzadude bullets:size=20}${execi 5000 ~/mybin/tawan-check-updates}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 3}${font StyleBats:size=22}${if_match ${memperc} >= 80}${color3}y${else}${color1}y${endif}${color1}${font}${voffset -18}  ${offset -2}${font pizzadude bullets:size=20}${if_match ${memperc} >=90}8${else}${if_match ${memperc} >=60}m${else}${if_match ${memperc} >=30}l${else}${if_match ${memperc} >=10}k${else}j${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset 0}${voffset -6}${font Rebecca:size=32}T${font}  ${offset 4}${voffset -15}${font pizzadude bullets:size=20}${execi 600 ~/mybin/tawan-timed-torrent}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 0}${font StyleBats:size=22}${if_match ${fs_used_perc /home/tawan/Data} >= 80}${color3}8${else}${if_match ${diskio /dev/sda} >= 20}${color1}8${else}${color2}8${endif}${endif}${color1}${font}  ${voffset -18}${offset 2}${font pizzadude bullets:size=20}${if_match ${fs_used_perc /home/tawan/Data} >=80}8${else}${if_match ${fs_used_perc /home/tawan/Data} >=60}m${else}${if_match ${fs_used_perc /home/tawan/Data} >=30}l${else}${if_match ${fs_used_perc /home/tawan/Data} >=10}k${else}j${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset -29}${voffset -6}${font Rebecca:size=32}M${font} ${voffset -30}${offset 4}${font Rebecca:size=36}${execpi 900 python ~/.conky/gmail_parser.py NAME PASSWORD 1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}







${offset 15}${color2}${font Courier New:size=9}${execi 30 fortune -s -n320}${font}${color}


















${if_existing /sys/class/power_supply/ACAD/online 0}${if_match ${battery_percent BAT0} <= 11}${if_match ${battery_percent BAT0} > 8}${execi 300 ~/mybin/tawan-warn-shutdown}${endif}${endif}${if_match ${battery_percent BAT0} <= 8}${execi 200 ~/mybin/tawan-shutdown-now}${endif}${endif}
I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

836

Re: My Conky Config

For those of you wanting an intelligent battery conky...

(where color3 is an alarm color e.g. red)

${font StyleBats:size=22}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_existing /sys/class/power_supply/ACAD/online 1}${color2}I${else}${color1}O${endif}${endif}

This shows a red symbol when battery low. More importantly it can instantly tell if the power cable is in or out so the icon changes the moment power is lost or plugged in.

You can of course use the same idea to call useful scripts e.g. shutdown warning on low power AND NO cable. But avoid the warning if you have low power AND cable.

(this is not new but I only just started using it myself in that last day or so - it works very well so I'm re-sharing)

I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

837

Re: My Conky Config

http://omploader.org/tM2Q3YQ
All

http://omploader.org/tM2Q3Yg
With no internet detected or key-combo pressed the internet related info goes off

#  Settings
##############################################
# Use XftD
use_xft yes
xftfont Bauhaus Md BT:size=8
xftalpha 1.0
text_buffer_size 2048
if_up_strictness address

# 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 no
own_window_transparent yes
own_window_type normal
#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 350
#maximum_width 350

# Draw shadesD
draw_shades no

# Draw outlinesD
draw_outline no

# Draw borders around text
draw_borders no

# Stippled bordersD
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color FFFFDD
color1 1994d1
color2 FFFFDD
color3 a90100
#default_shade_color 888888
#default_outline_color 888888
own_window_colour 000000

# Text alignment, other possible values are commented
alignment tl

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 80
gap_y 380

# Subtract file system buffers from used memoryD
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 UTF8D note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving aboutD  This only affects certain objects.
use_spacer none

TEXT
${offset 10}${color1}${font Radio space:size=52}${time %I:%M}${font Radio space:size=22}${time %P}${font}
${offset 15}${font Jura:size=14}${time %A %e %B}${font}${color}

 ${voffset 0}${font StyleBats:size=22}${if_match ${fs_used_perc /home/tawan/Data} >= 80}${color3}8${else}${if_match ${diskio /dev/sda} >= 20}${color1}8${else}${color2}8${endif}${endif}${color1}${font}  ${voffset -18}${offset 2}${font pizzadude bullets:size=20}${if_match ${fs_used_perc /home/tawan/Data} >=80}f${else}${if_match ${fs_used_perc /home/tawan/Data} >=60}g${else}${if_match ${fs_used_perc /home/tawan/Data} >=30}q${else}${if_match ${fs_used_perc /home/tawan/Data} >=10}i${else}  ${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset -82}${voffset -13}${font Rebecca:size=36}${execpi 900 python ~/.conky/gmail_parser.py NAME PASSWORD 1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 3}${font StyleBats:size=22}${if_match ${memperc} >= 80}${color3}y${else}${color1}y${endif}${color1}${font}${voffset -18}  ${offset -2}${font pizzadude bullets:size=20}${if_match ${memperc} >=90}f${else}${if_match ${memperc} >=60}g${else}${if_match ${memperc} >=30}q${else}${if_match ${memperc} >=10}i${else}  ${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset -81}${voffset 0}${font pizzadude bullets:size=20}${execi 600 ~/mybin/tawan-timed-torrent}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}

 ${voffset 4}${font StyleBats:size=22}${if_match ${cpu cpu1} >= 90}${color3}a${else}${if_match ${cpu cpu1} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${cpu cpu1} >=90}f${else}${if_match ${cpu cpu1} >=60}g${else}${if_match ${cpu cpu1} >=30}q${else}${if_match ${cpu cpu1} >=10}i${else}  ${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${upspeedf wlan0 wlan0} >= 80}f${else}${if_match ${upspeedf wlan0 wlan0} >= 40}g${else}${if_match ${upspeedf wlan0 wlan0} >= 10}q${else}${if_match ${upspeedf wlan0 wlan0} >= 4}i${else}  ${endif}${endif}${endif}${endif}${color1}${font}  ${voffset -12}${font pizzadude bullets:size=20}${if_match ${upspeedf wlan0} >= 2}${color2}w${else}${color1}v${endif}${color1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 4}${font StyleBats:size=22}${if_match ${cpu cpu2} >= 90}${color3}a${else}${if_match ${cpu cpu2} >= 40}${color2}a${else}${color1}a${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${cpu cpu2} >=90}f${else}${if_match ${cpu cpu2} >=60}g${else}${if_match ${cpu cpu2} >=30}q${else}${if_match ${cpu cpu2} >=10}i${else}  ${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${downspeedf wlan0} >= 80}f${else}${if_match ${downspeedf wlan0} >= 40}g${else}${if_match ${downspeedf wlan0} >= 10}q${else}${if_match ${downspeedf wlan0} >= 4}i${else}  ${endif}${endif}${endif}${endif}${color}${font}  ${voffset -12}${font pizzadude bullets:size=20}${if_match ${downspeedf wlan0} >= 2}${color2}s${else}${color1}r${endif}${color1}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}

 ${voffset 4}${font StyleBats:size=22}${if_match ${acpitemp} >= 70}${color3}p${else}${if_match ${acpitemp} >= 60}${color2}p${else}${color1}p${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${acpitemp} >=70}f${else}${if_match ${acpitemp} >=60}g${else}${if_match ${acpitemp} >=50}q${else}${if_match ${acpitemp} >=40}i${else}  ${endif}${endif}${endif}${endif}${alignr}${color1}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${offset -81}${voffset 0}${font pizzadude bullets:size=20}${execi 5000 ~/mybin/tawan-check-updates}${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}
 ${voffset 4}${font StyleBats:size=22}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_existing /sys/class/power_supply/ACAD/online 1}${color2}I${else}${color1}O${endif}${endif}${color1}${font}  ${voffset -18}${font pizzadude bullets:size=20}${if_match ${battery_percent BAT0} >=90}f${else}${if_match ${battery_percent BAT0} >=60}g${else}${if_match ${battery_percent BAT0} >=40}q${else}${if_match ${battery_percent BAT0} >=20}i${else}  ${endif}${endif}${endif}${endif}${alignr}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${wireless_link_qual wlan0} >= 80}f${else}${if_match ${wireless_link_qual wlan0} >= 60}g${else}${if_match ${wireless_link_qual wlan0} >= 40}q${else}${if_match ${wireless_link_qual wlan0} >= 20}i${else}  ${endif}${endif}${endif}${endif}${font}  ${voffset -12}${font pizzadude bullets:size=20}${color1}:${font}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}${else}${color1}f${font}  ${voffset -12}${font pizzadude bullets:size=20}9${font}${endif}




























${if_existing /sys/class/power_supply/ACAD/online 0}${if_match ${battery_percent BAT0} <= 11}${if_match ${battery_percent BAT0} > 8}${execi 300 ~/mybin/tawan-warn-shutdown}${endif}${endif}${if_match ${battery_percent BAT0} <= 8}${execi 200 ~/mybin/tawan-shutdown-now}${endif}${endif}
I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

Re: My Conky Config

My uber minimalist config.

# Settings
background yes
use_xft yes
xftfont Sans:size=7
xftalpha 1
update_interval 1.0
total_run_times 0
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 100 100
maximum_width 100
draw_shades yes
draw_outline no
draw_borders no
draw_graph_borders no
default_color white
default_shade_color black
default_outline_color white
alignment top_right
gap_x 0
gap_y 0
no_buffers yes
uppercase no
cpu_avg_samples 100
override_utf8_locale no

# Output
TEXT
RAM:$alignr$mem
CPU0:$alignr${cpu cpu0}%
CPU1:$alignr${cpu cpu1}%
BAT:$alignr${battery_percent BAT0}%

http://i438.photobucket.com/albums/qq107/deerdance22/uberminconky.png

I really am a nice person until you ask the police.
The first link is to a forum for a kick-ass MMORPG to be
The second is a blog for anyone with an opinion.
|The Hallow Life|DigiMantis|

839

Re: My Conky Config

tawan wrote:

For those of you wanting an intelligent battery conky...

(where color3 is an alarm color e.g. red)

${font StyleBats:size=22}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_existing /sys/class/power_supply/ACAD/online 1}${color2}I${else}${color1}O${endif}${endif}

This shows a red symbol when battery low. More importantly it can instantly tell if the power cable is in or out so the icon changes the moment power is lost or plugged in.

You can of course use the same idea to call useful scripts e.g. shutdown warning on low power AND NO cable. But avoid the warning if you have low power AND cable.

(this is not new but I only just started using it myself in that last day or so - it works very well so I'm re-sharing)

Hi tawan

I don't have a laptop, but I can see that adapted to other uses.  Really nice idea.
I have to play with it.

Have a nice day.
Bruce

840

Re: My Conky Config

EDIT: double post

It's a heat thing 09:30, and TV says 27°C  and feels like 30°!

My thermometer says 35°C I dare NOT put it in the sun!

Have a cool day - send ICE
Bruce

Last edited by Bruce (2010-01-27 12:56:11)

Re: My Conky Config

@Bruce - I have nothing Conky related to post, but I'll trade you your Celsius temperatures for my Fahrenheit.  Similar numbers.

while ( ! ( succeed = try() ) );

842

Re: My Conky Config

pvsage wrote:

@Bruce - I have nothing Conky related to post, but I'll trade you your Celsius temperatures for my Fahrenheit.  Similar numbers.


I have a saying I've used for years, and it fits perfectly right here:

I would if I could,
but I can't so I won't!

It's pretty bad when one hears his fridge gasping for cool air!

hmmmmmmmm:

${execpi fridge temp control -30°C}${if temp house=>30° open fridge door 15}
${else}Eat Ice Cream!

Have a nice day.
Bruce

Re: My Conky Config

my very first lua cairo thingy in conky!

http://omploader.org/tM2R0aQ

red is cpu
green is mem
blue is filesystem used

i have included angled text labels:
http://omploader.org/tM2R0cQ

and here is the lua script i used

--[[rgb diagonal bars by mrpeachy (2010)]]
require 'cairo'
function conky_draw_lines()
 local updates=conky_parse('${updates}')
update_num=tonumber(updates)
if update_num > 5 then
if conky_window==nil then return end
local w=conky_window.width
local h=conky_window.height
local cs=cairo_xlib_surface_create(conky_window.display, conky_window.drawable, conky_window.visual, w, h)
cr=cairo_create(cs)
cairo_select_font_face (cr, "White Rabbit", CAIRO_FONT_SLANT_NORMAL, CAIRO_FONT_WEIGHT_NORMAL);
cairo_set_font_size (cr, 12.0);

--Line 1 settings
local a_arg=conky_parse('${cpu}')
local a_thick=10
local a_red=1
local a_green=0
local a_blue=0
local a_alpha=1
local a_start=10
--line 1 settings end  
local a_num=tonumber(a_arg)
--line 1 background
cairo_set_source_rgba (cr, a_red, a_green, a_blue, 0.5);
cairo_set_line_width (cr, a_thick);
cairo_move_to (cr, a_start, a_start);
cairo_rel_line_to (cr, 100, 100);
cairo_stroke (cr);
--line 1 indicator
cairo_set_source_rgba (cr, a_red, a_green, a_blue, a_alpha);
cairo_set_line_width (cr, a_thick);
cairo_move_to (cr, a_start, a_thick);
cairo_rel_line_to (cr, a_num, a_num);
cairo_stroke (cr);
--line 1 title
cairo_set_source_rgba (cr, a_red, a_green, a_blue, a_alpha);
cairo_move_to (cr, a_start+a_thick, a_thick);
cairo_rotate (cr, 45*math.pi/180)
cairo_show_text (cr, "CPU");
cairo_rotate (cr, -45*math.pi/180)
--Line 2 settings
local b_arg=conky_parse('${memperc}')
local b_thick=10
local b_red=0
local b_green=1
local b_blue=0
local b_alpha=1
local b_start=45
--line 2 settings end  
local b_num=tonumber(b_arg)
--line 2 background
cairo_set_source_rgba (cr, b_red, b_green, b_blue, 0.5);
cairo_set_line_width (cr, b_thick);
cairo_move_to (cr, b_start, b_thick);
cairo_rel_line_to (cr, 100, 100);
cairo_stroke (cr);
--line 2 indicator
cairo_set_source_rgba (cr, b_red, b_green, b_blue, b_alpha);
cairo_set_line_width (cr, b_thick);
cairo_move_to (cr, b_start, b_thick);
cairo_rel_line_to (cr, b_num, b_num);
cairo_stroke (cr);
--line 2 title
cairo_set_source_rgba (cr, b_red, b_green, b_blue, b_alpha);
cairo_move_to (cr, b_start+b_thick, b_thick);
cairo_rotate (cr, 45*math.pi/180)
cairo_show_text (cr, "MEMORY");
cairo_rotate (cr, -45*math.pi/180)
--Line 3 settings
local c_arg=conky_parse('${fs_used_perc /}')
local c_thick=10
local c_red=0
local c_green=0
local c_blue=1
local c_alpha=1
local c_start=80
--Line 3 settings end  
local c_num=tonumber(c_arg)
--Line 3 background
cairo_set_source_rgba (cr, c_red, c_green, c_blue, 0.5);
cairo_set_line_width (cr, c_thick);
cairo_move_to (cr, c_start, c_thick);
cairo_rel_line_to (cr, 100, 100);
cairo_stroke (cr);
--Line 3 indicator
cairo_set_source_rgba (cr, c_red, c_green, c_blue, c_alpha);
cairo_set_line_width (cr, c_thick);
cairo_move_to (cr, c_start, c_thick);
cairo_rel_line_to (cr, c_num, c_num);
cairo_stroke (cr);
--line 3 title
cairo_set_source_rgba (cr, c_red, c_green, c_blue, c_alpha);
cairo_move_to (cr, c_start+c_thick, c_thick);
cairo_rotate (cr, 45*math.pi/180)
cairo_show_text (cr, "FILESYSTEM USED");
cairo_rotate (cr, -45*math.pi/180)
end
end

and in conky

lua_load /home/mcdowall/documents/conky/screen.lua
lua_draw_hook_pre draw_lines
TEXT

Last edited by mrpeachy (2010-02-23 05:02:43)

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

844

Re: My Conky Config

mrpeachy wrote:

my very first lua cairo thingy in conky!

http://omploader.org/tM2R0aQ

red is cpu
green is mem
blue is filesystem used

i have included angled text labels:
http://omploader.org/tM2R0cQ

and here is the lua script i used

Well, I just looked that that with my copy/paste eyes. roll

You have been C-4'd  cool

That is one very nice, minimalistic conky with class and beauty!

Have a great day.
Bruce

Last edited by Bruce (2010-01-29 02:50:34)

Re: My Conky Config

@ Bruce
thank you for your kind words smile

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.

846

Re: My Conky Config

mrpeachy wrote:

@ Bruce
thank you for your kind words smile

You earned it, not often one finds "minimalistic" with class and beauty in a conky.

You done did it!  wink

Re: My Conky Config

looks nice. I knew you had it in you to start branching out with other languages big_smile

I say never be complete, I say stop being perfect, I say lets evolve, let the chips fall where they may.

848

Re: My Conky Config

Cool Peachy smile

My latest is a clean up and simplification of an ongoing iconification of conky metamporphasization

http://omploader.org/tM2R3Zg

http://omploader.org/tM2R3Zw

#  Settings
##############################################
# Use XftD
use_xft yes
xftfont Bauhaus Md BT:size=8
xftalpha 1.0
text_buffer_size 2048
if_up_strictness address

# 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 no
own_window_transparent yes
own_window_type normal
#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 350
#maximum_width 350

# Draw shadesD
draw_shades no

# Draw outlinesD
draw_outline no

# Draw borders around text
draw_borders no

# Stippled bordersD
stippled_borders 0

# border margins
border_margin 5

# border width
border_width 1

# Default colors and also border colors
default_color FFFFDD
#good blue 1994d1
color1 303030
color2 1994d1
color3 a90100
#default_shade_color 888888
#default_outline_color 888888
own_window_colour 000000

# Text alignment, other possible values are commented
alignment tl

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 0
gap_y 0

# Subtract file system buffers from used memoryD
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 UTF8D note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving aboutD  This only affects certain objects.
use_spacer none

TEXT


${goto 20}${color2}${font Radio space:size=52}${time %l:%M}${font Radio space:size=22}${time %P}${font}
${goto 25}${color1}${font Jura:size=14}${time %A %e %B}${font}${color}
















































${goto 90}${color1}${voffset -15}${font Rebecca:size=36}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${execpi 900 python ~/.conky/gmail_parser.py NAME PASSWORD 1}${else}0${endif}${else}0${endif}${font}    ${goto 120}${voffset -14}${font StyleBats:size=22}${if_match ${fs_used_perc /home/tawan/Data} >= 80}${color3}${else}${if_match ${diskio /dev/sda} >= 1}${color2}${else}${color1}${endif}8${endif}${color1}    ${goto 150}${voffset 2}${if_match ${memperc} >= 80}${color3}${else}${if_match ${memperc} >= 40}${color2}${else}${color1}${endif}${endif}y${color1}    ${goto 180}${voffset -2}${if_match ${cpu cpu1} >= 90}${color3}${else}${if_match ${cpu cpu1} >= 40}${color2}${else}${color1}${endif}${endif}a${color1}    ${goto 210}${if_match ${cpu cpu2} >= 90}${color3}${else}${if_match ${cpu cpu2} >= 40}${color2}${else}${color1}${endif}${endif}a${color1}    ${goto 240}${voffset -4}${font pizzadude bullets:size=20}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${upspeedf wlan0} >= 20}${color2}w${else}${if_match ${upspeedf wlan0} >= 2}${color2}v${else}${color1}v${endif}${endif}${else}9${endif}${else}9${endif}${color1}    ${goto 270}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${if_match ${downspeedf wlan0} >= 40}${color2}s${else}${if_match ${downspeedf wlan0} >= 2}${color2}r${else}${color1}r${endif}${endif}${else}9${endif}${else}9${endif}${color1}    ${goto 300}${if_up wlan0}${if_existing /home/tawan/mybin/conky-on}${execi 5000 ~/mybin/tawan-check-updates}${else}9${endif}${else}9${endif}    ${goto 330}${voffset 1}${font StyleBats:size=22}${if_match ${acpitemp} >= 70}${color3}${else}${if_match ${acpitemp} >= 60}${color2}${else}${color1}${endif}${endif}p${color1}    ${goto 360}${if_match ${battery_percent BAT0} <= 20}${color3}O${else}${if_existing /sys/class/power_supply/ACAD/online 1}${color1}I${else}${color2}O${endif}${endif}















































${if_existing /sys/class/power_supply/ACAD/online 0}${if_match ${battery_percent BAT0} <= 11}${if_match ${battery_percent BAT0} > 8}${execi 300 ~/mybin/tawan-warn-shutdown}${endif}${endif}${if_match ${battery_percent BAT0} <= 8}${execi 200 ~/mybin/tawan-shutdown-now}${endif}${endif}
I blog too much....       geek stuff LinuxMintDebian | linux noob stuff LinuxMintNoob | spiritual stuff Daily Cup of Tao

849

Re: My Conky Config

my first horizontal-ish conky
http://omploader.org/tM2VlcA

background yes
use_xft yes
xftfont Fontin SmallCaps:size=8
xftalpha 0.5
update_interval 1.0
total_run_times 0
own_window yes
own_window_type desktop
own_window_transparent yes
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
double_buffer yes
minimum_size 200 5
maximum_width 1024
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders no
default_color 9A9A9A
default_shade_color black
default_outline_color black
alignment top_left
gap_x 2
gap_y 430
no_buffers yes
uppercase no
cpu_avg_samples 2
override_utf8_locale no

TEXT
${rss http://news.google.nl/news?pz=1&cf= … output=rss 05 item_titles 3}
${hr 1}
now: ${Time %H:%M:%S  %m.%d} | up: $uptime | in: ${acpitemp}C | out: ${execi 600 ~/.scripts/cweather.sh "EUR|PL|PL001|WROCLAW"} | @ 1: ${execi 60 perl ~/.scripts/gmail1.pl n} | 2: ${execi 60 perl ~/.scripts/gmail2.pl n} | 3: ${execi 60 perl ~/.scripts/gmail3.pl n} | wan: ${wireless_link_qual ra0}%  | d: ${downspeed ra0}kb/s ${totaldown ra0} | root: ${fs_used_perc /}% | bat: ${battery} | top:${top mem 1} %  ${top_mem name 1}
${hr 1}
${rss http://news.google.be/news?pz=1&cf= … output=rss 05 item_titles 3}

I've been wondering- is there a way to have both feeds columns next to eachother?

Re: My Conky Config

awg wrote:

I've been wondering- is there a way to have both feeds columns next to eachother?

if you use ${goto x} to position the second column should work... but you might have to text wrap the columns so that they don't overlap...
i dont know how to do that with an rss feed...
| fold -sw X    at the end (where X is the length of the line before the fold)
works when you exec a function... but then it would shift everything down if it had to wrap

i couldnt access those rss feeds, so i couldnt test it out

Last edited by mrpeachy (2010-01-31 01:46:18)

It's hard to find something if you don't know what you're looking for.
I have a blog, it's mostly about conky and lua stuff... go here.