En wie weet brengt dit anderen weer op ideeën, om een nog mooiere conky in elkaar te knutselen.
Het enige wat er bij mij nog niet werkt is het weer, ik krijg dit nog niet voor elkaar.
![Afbeelding](http://img695.imageshack.us/img695/9614/conkye.th.png)
Code: Selecteer alles
# LMDE-CONKY
# A comprehensive conky script, configured for use on
# Debian Gnome, without the need for any external scripts.
#
# Based on conky-jc and the default .conkyrc.
# INCLUDES:
# - tail of /var/log/messages
# - netstat connections to your computer
#
# -- Pengo (conky@pengo.us)
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 desktop
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
# 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
own_window_colour white
# Text alignment, other possible values are commented
alignment top_right
# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 35
gap_y 50
# 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
TIME & DATE ${hr 2}
${alignc 35}${font Trebuchet MS:size=26}${time %H:%M}${font}
${alignc}${time %a %d %b %Y}
SYSTEM ${hr 2}
Kernel: ${alignr}${kernel}
RAM: $memperc% ${alignr}${membar 8,60}
Uptime: ${alignr}${uptime}
Processor info: ${hr 2}
${image ~/.conky/images/processor.png -p 13,190 -s 48x48}
${voffset 10}${goto 60}${freq}MHz Load: ${color #88ECE0}${loadavg}${color}
${goto 60}Core 1 Usage:${color} ${color #DFEC88}${cpu cpu1}% ${color} ${cpubar cpu1}
${goto 60}Core 2 Usage:${color} ${color #DFEC88}${cpu cpu2}% ${color} ${cpubar cpu2}
${goto 60}CPU Temp: ${color #88ECE0}${acpitemp}° F${color}
HD ${hr 2}
Home:
${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
Root:
${fs_free /root}/${fs_size /root} ${alignr}${fs_bar 8,60 /root}
SWAP:
${swap}/${swapmax}${alignr}${swapperc}%${swapbar 8,60}
Network info
${image ~/.conky/images/network.png -p 5,415 -s 36x36}
${image ~/.conky/images/wireless.png -p 20,435 -s 36x36}
${if_up wlan0}${voffset -20}${goto 60}${font size=12}D-Link Wireless${font}
${goto 60}Internal IP: ${addr wlan0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph wlan0 25,100 110000 520000 -t} ${upspeedgraph wlan0 25,100 001100 005200 -t}
${voffset -40}${goto 60} Down ${downspeedf wlan0}${alignr}Total Dn ${totaldown wlan0}
${goto 60} UP ${upspeedf wlan0}${alignr}Total UP ${totalup wlan0}
${else}${if_up eth0}${voffset -20}${goto 60}${font style=bold}${font}
${goto 60}Internal IP: ${addr eth0}
${goto 60}External IP: ${exec wget -q -O - checkip.dyndns.org | sed -e 's/.*Current IP Address: //' -e 's/<.*$//'}
${goto 60}${downspeedgraph eth0 25,100 110000 520000 -t} ${upspeedgraph eth0 25,100 001100 005200 -t}
${voffset -40}${goto 60}Down ${downspeedf eth0}${alignr}Total Dn ${totaldown eth0}
${goto 60}UP ${upspeedf eth0}${alignr}Total UP ${totalup eth0}${endif}${endif}
WEATHER ${hr 2}
${if_existing /proc/net/route wlan0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${else}${if_existing /proc/net/route eth0}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${endif}${else}${if_existing /proc/net/route eth1}
${voffset -8}${alignr 56}${font ConkyWeather:style=Bold:size=40}${execi 600 conkyForecast --location=NLXX0007 --datatype=WF}${font}
${voffset -52}${font Weather:size=40}y${font} ${voffset -38}${font Trebuchet MS:size=26}${execi 600 conkyForecast --location=NLXX0007 --datatype=HT}${font}
${voffset 0}Humidity: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=HM}
${voffset 0}Moon Phase: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=MP}
${voffset 0}${font}Wind Speed: ${alignr}${execi 600 conkyForecast --location=NLXX0007 --datatype=WS}
${endif}${else}
${font PizzaDude Bullets:size=14}4${font} Weather Unavailable
${endif}