Δημοσιεύτηκε: 10 Ιαν 2011, 18:04
από Qdata
Off topic:
Βγήκε η νέα έκδοση(v.2) vagrale13_conky!Αποκλειστικά για notebook,laptops! :D :angel: :D
Μου άρεσε το conky του vagrale13 και επειδή δεν χώραγε στην οθόνη του notebook το άλλαξα(μίκρυνα,αφαίρεσα) κάποια πράγματα και έγινε ιδανικό(για μικρές οθόνες)!
Κώδικας: Επιλογή όλων
alignment top_right
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints below,sticky
double_buffer yes
use_xft yes
update_interval 3.0
minimum_size 180
maximum_width 250
draw_shades no
draw_outline no
draw_borders no
font arial:size=8
uppercase no
default_color green
own_window_colour black

gap_x 35
gap_y 35

TEXT
${font Monospace:size=8}${color #FF8000}$nodename: kernel~$kernel on $machine
${color red}CPU ${hr 2} $color
${color blue}CPU0: ${cpu cpu0}% ${alignc}${cpubar cpu0 8,185 ff0000 ff8d2a} ${alignr}${color red}${freq 0} GHz
${color blue}CPU1: ${cpu cpu1}% ${alignc}${cpubar cpu1 8,185 ff0000 ff8d2a} ${alignr}${color red}${freq 1} GHz
${color}Name                                       PID                                CPU%
${font Monospace:size=8}${color lightgrey}${top name 1}       ${top pid 1}              ${if_match ${top cpu 1} >=30}${color red}${top cpu 1}$else${if_match ${top cpu 1} >=20}${color orange}${top cpu 1}$else${if_match ${top cpu 1} >=10}${color yellow}${top cpu 1}$else${top cpu 1}$endif$endif$endif
${color lightgrey}${top name 2}       ${top pid 2}              ${if_match ${top cpu 2} >=30}${color red}${top cpu 2}$else${if_match ${top cpu 2} >=20}${color orange}${top cpu 2}$else${if_match ${top cpu 2} >=10}${color yellow}${top cpu 2}$else${top cpu 2}$endif$endif$endif
${color lightgrey}${top name 3}       ${top pid 3}              ${if_match ${top cpu 3} >=30}${color red}${top cpu 3}$else${if_match ${top cpu 3} >=20}${color orange}${top cpu 3}$else${if_match ${top cpu 3} >=10}${color yellow}${top cpu 3}$else${top cpu 3}$endif$endif$endif

${color red}RAM ${hr 2} $color
$font${color blue}RAM: $memperc%${alignr}Used: $mem/$memmax
${color}Name                                       PID                                MEM%
${font Monospace:size=8}${color lightgrey}${top_mem name 1}       ${top_mem pid 1}              ${if_match ${top_mem mem 1} >=25}${color red}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=18}${color orange}${top_mem mem 1}$else${if_match ${top_mem mem 1} >=10}${color yellow}${top_mem mem 1}$else${top_mem mem 1}$endif$endif$endif
${color lightgrey}${top_mem name 2}       ${top_mem pid 2}              ${if_match ${top_mem mem 2} >=25}${color red}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=18}${color orange}${top_mem mem 2}$else${if_match ${top_mem mem 2} >=10}${color yellow}${top_mem mem 2}$else${top_mem mem 2}$endif$endif$endif
${color lightgrey}${top_mem name 3}       ${top_mem pid 3}              ${if_match ${top_mem mem 3} >=25}${color red}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=18}${color orange}${top_mem mem 3}$else${if_match ${top_mem mem 3} >=10}${color yellow}${top_mem mem 3}$else${top_mem mem 3}$endif$endif$endif

${color red}MAIL ${hr 2} $color
${color #009bf9}Gmail : ${color yellow}${texeci 300 perl ~/.scripts/gmail.pl n} ${color red}new mails ${alignr}${color #009bf9}Trash: ${color yellow}${exec find ~/.local/share/Trash /media/Disk/.Trash-1000 /media/Backup/.Trash-1000 -type f | wc -l} ${color red}Files
${color #009bf9}Hotmail: ${color yellow} ${execi 300 conkyEmail --servertype=POP --ssl --servername=pop3.live.com --folder=Inbox --username=xxxxxxx@hotmail.com --password=xxxxxxxxx} ${color red}new mails ${alignr}${color #009bf9}UpTime: ${color orange}$uptime

${color red}FILE SYSTEM ${hr 2} $color
${color #00CD63}/root:  ${color lightgrey}${fs_used /}/${fs_size /} - ${fs_type /} ${color #8370FF}${fs_bar /}
${color #00CD63}/home:  ${color lightgrey}${fs_used /home}/${fs_size /home} - ${fs_type /home} ${color #8370FF}${fs_bar /home}
${color #00CD63}Swap: ${color lightgrey}$swap/$swapmax  ${color #009bf9}$swapperc% $swapbar

${color red}CONNECTIOS ${hr 2} $color
$font${color #009bf9}Connections${alignr}${color #009bf9}In:$color ${tcp_portmon 1 32767 count}  ${color #009bf9}Out:$color ${tcp_portmon 32768 61000 count}   ${color #009bf9}ALL:$color ${tcp_portmon 1 65535 count}
${color lightgrey}Down: ${downspeed eth1} k/s ${offset 80} ${alignr}Up: ${upspeed eth1} k/s
${downspeedgraph eth1 20,120 009bf9 ffffff} ${alignr} ${upspeedgraph eth1 20,120 009bf9 ffffff}
${color #00CD63}Local IP: $alignr ${color #009bf9}${addr eth0}
${color #00CD63}Public IP: $alignr ${color #009bf9}${execi 300 wget -O - http://ip.tupeux.com | tail}

${color red}dmesg ${hr 2} $color
${color #009bf9}dmesg :
${color #00CD63}${execi 300 dmesg | tail -n 4}


Το αποτέλεσμα είναι: