X-Git-Url: http://vcs.maemo.org/git/?a=blobdiff_plain;f=data%2Fconky.conf;h=610540bfacb6ec0657d98e141cb73737b81ab1de;hb=bd8c0fc134e004eebb40d6b0e74c2c860c24fb91;hp=ff650e6f5fd34e070d2265e8203559f2b87466c4;hpb=2d2a163728283108eb78c11d7b02bf5c54d88ea4;p=monky diff --git a/data/conky.conf b/data/conky.conf index ff650e6..610540b 100644 --- a/data/conky.conf +++ b/data/conky.conf @@ -1,18 +1,15 @@ -# cpu red > white -# memory blue > white -# disk green > white -# -# -# -# cool blue > cyan: 0000ff 00FFFF -# +#don't modify this file directly because an update could overwrite your changes! +#copy any files you modify to /home/user/MyDocs and update the path below and also in the loadAll.lua file +#conky will load the .conf file from there unless you are using mass storage usb at that moment + +lua_load /etc/conky/LoadAll.lua +lua_draw_hook_pre main alignment top_left background no -maximum_width 800 +maximum_width 854 border_width 1 cpu_avg_samples 2 -default_color white default_outline_color white default_shade_color white diskio_avg_samples 10 @@ -31,7 +28,7 @@ own_window yes own_window_class Conky own_window_type normal own_window_transparent no -own_window_hints undecorated +own_window_hints fullscreen #own_window_colour ff0000 override_utf8_locale yes show_graph_scale no @@ -44,51 +41,34 @@ update_interval_on_battery 4 uppercase no use_spacer none use_xft yes -xftfont Droid Sans Mono:size=11 +xftfont Nokia Pure:size=11 xftalpha 0.8 +default_color FFFFFF + TEXT -${color }$alignr$sysname $kernel on $machine ${color 4072a5}Uptime:$color $uptime -${color }$alignr${color #4072a5}Battery: ${color}${battery_short} ${battery_temp}°C ${battery_volts}mV -${color }$alignr${color #4072a5}Cell Radio: $color ${cell_radio_dbm}dBm ${cell_radio_percent}% -${color 4072a5}CPU:${goto 45}${color red}${voffset 2}${cpubar cpu0 14,240}${goto 300}${color 4072a5}Load 1/5/15:$color $loadavg $alignr ${color 4072a5}Processes:$color $processes ${color 4072a5}Running:$color $running_processes -${color }${alignr 460}${voffset -20}$cpu%${voffset 0}#can't alignr two things on the same line. alignr is the only way to get the % symbol to stay lined up. it will move if you use goto -${color }${goto 119}$freq MHz -${color 4072a5}CPU:${color black}${cpugraph 16,240 ffffff ff0000 -t}${color 4072a5}${goto 300}Load1 avg:${color black}${loadgraph 16,105 ffffff ff0000 -t -1}${color 4072a5} Dio:${color black}${diskiograph /dev/mmcblk0 16,105 ffffff 00ff00 -t -1}${color 4072a5} Mem:${color black}${memgraph 16,105 ffffff 0000ff -t} -${color 4072a5}RAM:${goto 47}${color blue}${voffset 2}${membar 16,240} -${color }${voffset -20}${goto 110}$mem${goto 160}/ $memmax -${color }${alignr 525}${voffset -18}$memperc% -${color 4072a5}${voffset -18}${goto 315} Top I/O ${goto 480}READ ${goto 550}WRITE ${goto 630}% -${color 4072a5}Swap:${goto 48}${color green}${swapbar 16,240} -${color }${voffset -19}${goto 110}$swap${goto 160}/ $swapmax -${color }${alignr 525}${voffset -18}$swapperc% -${color red}${voffset -18}${goto 315} ${top_io name 1} ${goto 480}${top_io io_read 1}${goto 550}${top_io io_write 1}${goto 610}${top_io io_perc 1} -${color 4072a5}rootfs:${goto 70}${color darkgreen}${fs_bar 16,240 /} -${color }${voffset -18}${goto 110}${fs_used /}${goto 160}/ ${fs_size /} -${color }${alignr 490}${voffset -20}(${fs_free /}) -${color }${voffset -18}${goto 315} ${top_io name 2} ${goto 480}${top_io io_read 2}${goto 550}${top_io io_write 2}${goto 610}${top_io io_perc 2} -${color 4072a5}home:${goto 70}${color darkgreen}${fs_bar 16,240 /home} -${color }${voffset -19}${goto 110}${fs_used /home}${goto 160}/ ${fs_size /home} -${color }${alignr 490}${voffset -20}(${fs_free /home}) -${color }${voffset -18}${goto 315} ${top_io name 3} ${goto 480}${top_io io_read 3}${goto 550}${top_io io_write 3}${goto 610}${top_io io_perc 3} -${voffset 1}${if_mounted /home/user/MyDocs}${color 4072a5}MyDocs:${goto 70}${color darkgreen}${fs_bar 16,240 /home/user/MyDocs} -${color }${voffset -19}${goto 110}${fs_used /home/user/MyDocs}${goto 160}/ ${fs_size /home/user/MyDocs} -${color }${alignr 490}${voffset -19}(${fs_free /home/user/MyDocs})$endif -${if_mounted /media/mmc1}${color 4072a5}MicroSD:${goto 70}${color darkgreen}${fs_bar 16,240 /media/mmc1} -${color }${voffset -18}${goto 110}${fs_used /media/mmc1}${goto 160}/ ${fs_size /media/mmc1} -${color }${alignr 490}${voffset -20}(${fs_free /media/mmc1})$endif -${if_up gprs0}${color 4072a5}gprs0: ${color 4072a5}Up:$color ${upspeed gprs0}/s ${color 4072a5}Down:$color ${downspeed gprs0}/s -${color 4072a5}gprs0 Up: ${color black}${upspeedgraph gprs0 20,290 ff0000 00ff00}$alignr${color 4072a5}gprs0 Down: ${color black}${downspeedgraph gprs0 20,290 00ff0000 ff0000}$else${if_empty ${wireless_essid wlan0}}$else${color #4072a5}wlan0 ESSID: $color${wireless_essid wlan0} ${color #4072a5}Rate: ${color}${wireless_bitrate wlan0} ${color #4072a5}Connection Quality: $color${wireless_link_qual_perc wlan0}% ${color #4072a5}Up:$color ${upspeed wlan0}/s ${color grey} ${color #4072a5}Down:$color ${downspeed wlan0}/s -${color 4072a5}wlan0 Up: ${color black}${upspeedgraph wlan0 20,290 00ff00 ff0000}$alignr${color 4072a5}wlan0 Down: ${color black}${downspeedgraph wlan0 20,290 ff0000 00ff00}$endif$endif -${color 4072a5}CONNECTIONS [$color${tcp_portmon 1 65535 count}${color 4072a5}] (lport:rservice:rport):$color ${goto 405}${tcp_portmon 1 65535 lservice 0}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 0}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 0}} +${image /etc/conky/n950-kobol.jpg} + + +${goto 265}${color 4072a5}Load1 avg: ${goto 517}${color 4072a5}Processes:$color $processes +${color 4072a5}${goto 265}Load 1/5/15: $color$loadavg${goto 517}${color 4072a5}Running:${goto 620}$color$running_processes +${voffset -10} +${color 4072a5}${goto 315} Top I/O READ WRITE % +${color red} ${goto 315} ${lua_parse top_io_colour 1} +${color }${goto 315} ${lua_parse top_io_colour 2} +${color }${goto 315} ${lua_parse top_io_colour 3} + + +${voffset 10} +${color 33cc99}CONNECTIONS [$color${tcp_portmon 1 65535 count}${color 33cc99}] (lport:rservice:rport):$color ${goto 405}${tcp_portmon 1 65535 lservice 0}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 0}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 0}} $color${tcp_portmon 1 65535 lservice 1}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 1}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 1}}${goto 405}${tcp_portmon 1 65535 lservice 2}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 2}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 2}} $color${tcp_portmon 1 65535 lservice 3}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 3}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 3}}${goto 405}${tcp_portmon 1 65535 lservice 4}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 4}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 4}} $color${tcp_portmon 1 65535 lservice 5}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 5}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 5}}${goto 405}${tcp_portmon 1 65535 lservice 6}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 6}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 6}} $color${tcp_portmon 1 65535 lservice 7}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 7}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 7}}${goto 405}${tcp_portmon 1 65535 lservice 8}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 8}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 8}} -${color 4072a5}Top CPU% CPU% MEM% ${goto 257}${color 4072a5} | ${color 4072a5}Top Total Memory RAM VM ${goto 555}${color 4072a5}| ${color 4072a5}Top CPU TIME MM:SS.cs -${color red}${top name 1}${top cpu 1}${top mem 1} ${goto 257}${color 4072a5} | ${color red}${top_mem name 1}${top_mem mem_res 1} ${top_mem mem_vsize 1} ${goto 555}${color 4072a5}| ${color red}${top_time name 1}${top_time time 1} ${top_time cpu 1} -$color${top name 2}${top cpu 2}${top mem 2} ${goto 257}${color 4072a5} | ${color }${top_mem name 2}${top_mem mem_res 2} ${top_mem mem_vsize 2} ${goto 555}${color 4072a5}| ${color }${top_time name 2}${top_time time 2} ${top_time cpu 2} -$color${top name 3}${top cpu 3}${top mem 3} ${goto 257}${color 4072a5} | ${color }${top_mem name 3}${top_mem mem_res 3} ${top_mem mem_vsize 3} ${goto 555}${color 4072a5}| ${color }${top_time name 3}${top_time time 3} ${top_time cpu 3} -$color${top name 4}${top cpu 4}${top mem 4} ${goto 257}${color 4072a5} | ${color }${top_mem name 4}${top_mem mem_res 4} ${top_mem mem_vsize 4} ${goto 555}${color 4072a5}| ${color }${top_time name 4}${top_time time 4} ${top_time cpu 4} -$color---------1---------2---------3---------4---------5---------6---------7---------8---------9---------0---------1 -#imagetest: ${image /home/user/image-test.png -p 100,410} +$color${tcp_portmon 1 65535 lservice 9}${goto 50}:${scroll 32 5${tcp_portmon 1 65535 rhost 9}}${goto 345}:${scroll 5 2${tcp_portmon 1 65535 rservice 9}}${goto 405}${tcp_portmon 1 65535 lservice 10}${goto 450}:${scroll 32 5${tcp_portmon 1 65535 rhost 10}}${goto 744}:${scroll 5 1 ${tcp_portmon 1 65535 rservice 10}} +${voffset 10}${color 4072a5}Top CPU% CPU% MEM% ${goto 257}${color 4072a5} | ${color 4072a5}Top Total Memory RAM VM ${goto 555}${color 4072a5}| ${color 4072a5}Top CPU TIME MM:SS.cs +${lua_parse top_cpu_colour 1} ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 1} ${goto 555}${color 4072a5}| ${color }${top_time name 1}${top_time time 1} ${top_time cpu 1} +$color${top name 2}${top cpu 2}${top mem 2} ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 2} ${goto 555}${color 4072a5}| ${color }${top_time name 2}${top_time time 2} ${top_time cpu 2} +$color${top name 3}${top cpu 3}${top mem 3} ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 3} ${goto 555}${color 4072a5}| ${color }${top_time name 3}${top_time time 3} ${top_time cpu 3} +$color${top name 4}${top cpu 4}${top mem 4} ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 4} ${goto 555}${color 4072a5}| ${color }${top_time name 4}${top_time time 4} ${top_time cpu 4} +$color${top name 5}${top cpu 5}${top mem 5} ${goto 257}${color 4072a5} | ${lua_parse top_mem_colour 5} ${goto 555}${color 4072a5}| ${color }${top_time name 5}${top_time time 5} ${top_time cpu 5}