Δημοσιεύτηκε: 14 Ιαν 2011, 21:59
Και απο μενα, μετα απο 2,5 χρονια λινουξ.. πρωτη φορα αυτο το μηνα εκανα τον κοπο μου να φτιαξω Conky.
Φυσικα και απο σας εμαθα κατι. Και σας ευχαριστω πολυ.


ααα.. και ενα site πολυ χρησιμο που δειχνει τα δικα τους conky:
http://crunchbanglinux.org/forums/topic/59/my-conky-config/
Φυσικα και απο σας εμαθα κατι. Και σας ευχαριστω πολυ.

- Κώδικας: Επιλογή όλων
TEXT
$font${voffset -6}${color white}${hr 2}
${font ubuntu:style=Bold:size=12}${color #AAAAAA}${alignc}${time %A,}
${font ubuntu:style=Bold:size=12}${color #AAAAAA}${alignc}${time %d %B %Y}
${voffset -10}
${alignc}${font digiface:style=Bold:size=30}${color #AAAAAA}${time %H}${voffset -14}${font digiface:style=Bold:size=15}${color #AAAAAA}${time : %M}${voffset 0}${font digiface:style=Bold:size=8}${color lightgray}${time : %S}
${voffset 6}
$font${color white}ΔΙΑΝΟΜΗ: ${hr 2}
$font${color orange}Distro: ${color yellow} ${pre_exec cat /etc/issue.net}
$font${color orange}Kernel: ${color yellow}$kernel - $machine
${voffset -10}
$font${color white}ΣΥΣΤΗΜΑ ${hr 2}
$font${color #467DFF}INTEL Core 2 Duo @1.60 Ghz - T5200
${color #467DFF}Core: ${color lightblue}${freq}Mhz ${goto 110}${color #467DFF}Cache: ${color lightblue}${execi 3 ~/.scripts/cache.sh}
$font${color #467DFF}CPU 1: ${color red}${cpu cpu1}% ${goto 110}${color #467DFF}CPU 2: ${color red}${cpu cpu2}%
${color #467DFF}${cpubar cpu1 7,95} ${alignr}${cpubar cpu2 7,95}
${color #0032FF}${alignc}CPU 0: ${color red}$cpu%
${color #0032FF}${cpugraph 15,200 467DFF 467DFF}
$font${color lightblue}Battery: ${alignr}${if_match ${battery_percent C1AC} >=85}${color lightblue}${battery_percent C1AC}%$else ${if_match ${battery_percent C1AC} >=50}${color yellow}${battery_percent C1AC}%$else ${if_match ${battery_percent C1AC} >=15}${color orange}${battery_percent C1AC}%$else ${if_match ${battery_percent C1AC} >=5}${color red}${battery_percent C1AC}%$else ${if_match ${battery_percent C1AC} =0}${color lightblue}N/A$endif$endif$endif$endif$endif
${battery_bar C1AC 7}
${voffset -10}
$font${color white}ΜΝΗΜΗ: ${hr 2}
$font${color green}RAM: ${color red}$memperc% ${alignr}${color green}$mem / $memmax
${membar 7}
${color #00A000}Swap: ${color red}$swapperc% ${alignr}${color #00A000}$swap / $swapmax
${swapbar 7}
${voffset -10}
$font${color white}ΣΚΛΗΡΟΙ ΔΙΣΚΟΙ: ${hr 2}
$font${color orange}Writes: ${color red}${diskio_write /dev/sda} ${goto 110}${color lightblue}Reads: ${color red}${diskio_read /dev/sda}
${color yellow}${diskiograph_write 15,95 FF0000 FF0000} ${alignr}${diskiograph_read 15,95 00FF00 00FF00}
$font${color #AAAA00}Root: ${alignr}${fs_used /} / ${fs_size /}
${fs_bar /}
${color yellow}Home: ${alignr}${fs_used /home} / ${fs_size /home}
${fs_bar /home}
${color #FFB41E}Seagate: ${alignr}${fs_used /media/FreeAgent Drive} / ${fs_size /media/FreeAgent Drive}
${fs_bar /media/FreeAgent Drive}
${voffset -10}
$font${color white}ΔΙΑΔΥΚΤΙΟ: ${hr 2}
$font${color #FF2D2D}Downloads: ${downspeed eth0}/s ${alignr}${color #FF5050}${totaldown eth0}
${color}${downspeedgraph eth0 20,200 e1ff00 ff0000}
${color #32C832}Uploads: ${upspeed eth0}/s ${alignr}${color #50FF50}${totalup eth0}
${color}${upspeedgraph eth0 20,200 00ffdc 00ff00}
$font${voffset -10}${color white}${hr 2}

- Κώδικας: Επιλογή όλων
TEXT
${color white}Θερμοκρασιες: ${hr 2}
$font${color #3CC3FF}ACPI: ${color red}${acpitemp}°C $alignr${color #3CC3FF}HDD: ${color red}${hddtemp}°C ${color #3CC3FF}CPU: ${color red}${hwmon temp 1}°C
${color white}Ping IP: ${hr 2}
${color #B900A5}Locale IP: ${alignr}${addr eth0}
${color oragle}External IP: ${alignr}${execi 300 wget -O - http://ip.tupeux.com | tail}
${color white}Processes: ${hr 2}
${color #467DFF}NAME ${goto 110}PID ${goto 150}CPU%
${color lightblue}${top name 1} ${goto 100}${top pid 1} ${goto 150}${if_match ${top cpu 1} >=30}${color red}${top cpu 1}$else${if_match ${top cpu 1} >=15}${color orange}${top cpu 1}$else${if_match ${top cpu 1} >=5}${color yellow}${top cpu 1}$else${top cpu 1}$endif$endif$endif
${color white}${top name 2} ${goto 100}${top pid 2} ${goto 150}${if_match ${top cpu 2} >=30}${color red}${top cpu 2}$else${if_match ${top cpu 2} >=15}${color orange}${top cpu 2}$else${if_match ${top cpu 2} >=5}${color yellow}${top cpu 2}$else${top cpu 2}$endif$endif$endif
${color lightblue}${top name 3} ${goto 100}${top pid 3} ${goto 150}${if_match ${top cpu 3} >=30}${color red}${top cpu 3}$else${if_match ${top cpu 3} >=15}${color orange}${top cpu 3}$else${if_match ${top cpu 3} >=5}${color yellow}${top cpu 3}$else${top cpu 3}$endif$endif$endif
${color white}${top name 4} ${goto 100}${top pid 4} ${goto 150}${if_match ${top cpu 4} >=30}${color red}${top cpu 4}$else${if_match ${top cpu 4} >=15}${color orange}${top cpu 4}$else${if_match ${top cpu 4} >=5}${color yellow}${top cpu 4}$else${top cpu 4}$endif$endif$endif
${color lightblue}${top name 5} ${goto 100}${top pid 5} ${goto 150}${if_match ${top cpu 5} >=30}${color red}${top cpu 5}$else${if_match ${top cpu 5} >=15}${color orange}${top cpu 5}$else${if_match ${top cpu 5} >=5}${color yellow}${top cpu 5}$else${top cpu 5}$endif$endif$endif
${color gray}$stippled_hr
${color #1EE61E}NAME ${goto 110}PID ${goto 146}MEM%
${color lightgreen}${top_mem name 1} ${goto 100}${top_mem pid 1} ${goto 150}${if_match ${top_mem mem 1} >=25}${color red}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=15}${color orange}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=5}${color yellow}${top_mem mem 1}$else${top_mem mem 1}$endif$endif$endif
${color white}${top_mem name 2} ${goto 100}${top_mem pid 2} ${goto 150}${if_match ${top_mem mem 2} >=25}${color red}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=15}${color orange}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=5}${color yellow}${top_mem mem 2}$else${top_mem mem 2}$endif$endif$endif
${color lightgreen}${top_mem name 3} ${goto 100}${top_mem pid 3} ${goto 150}${if_match ${top_mem mem 3} >=25}${color red}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=15}${color orange}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=5}${color yellow}${top_mem mem 3}$else${top_mem mem 3}$endif$endif$endif
${color white}${top_mem name 4} ${goto 100}${top_mem pid 4} ${goto 150}${if_match ${top_mem mem 4} >=25}${color red}${top_mem mem 4}$else${if_match ${top_mem mem 4} >=15}${color orange}${top_mem mem 4}$else${if_match ${top_mem mem 4} >=5}${color yellow}${top_mem mem 4}$else${top_mem mem 4}$endif$endif$endif
${color lightgreen}${top_mem name 5} ${goto 100}${top_mem pid 5} ${goto 150}${if_match ${top_mem mem 5} >=25}${color red}${top_mem mem 5}$else${if_match ${top_mem mem 5} >=15}${color orange}${top_mem mem 5}$else${if_match ${top_mem mem 5} >=5}${color yellow}${top_mem mem 5}$else${top_mem mem 5}$endif$endif$endif
${color white}${hr 2}
ααα.. και ενα site πολυ χρησιμο που δειχνει τα δικα τους conky:
http://crunchbanglinux.org/forums/topic/59/my-conky-config/