Guest User

Conky Lua

a guest
Sep 23rd, 2011
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.79 KB | None | 0 0
  1. #==============================================================================
  2. # conkyrc_grey
  3. #
  4. # author : SLK
  5. # version : v2011011601
  6. # license : Distributed under the terms of GNU GPL version 2 or later
  7. #
  8. #==============================================================================
  9.  
  10. background yes
  11. update_interval 0.5
  12.  
  13. cpu_avg_samples 2
  14. net_avg_samples 2
  15. temperature_unit celsius
  16.  
  17. double_buffer yes
  18. no_buffers yes
  19. text_buffer_size 2048
  20.  
  21. gap_x 10
  22. gap_y 30
  23. minimum_size 190 450
  24. maximum_width 190
  25. own_window yes
  26. own_window_type normal
  27. own_window_transparent yes
  28. own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
  29. own_window_argb_visual yes
  30. border_inner_margin 0
  31. border_outer_margin 0
  32. alignment tr
  33.  
  34. draw_shades no
  35. draw_outline no
  36. draw_borders no
  37. draw_graph_borders no
  38.  
  39. override_utf8_locale yes
  40. use_xft yes
  41. xftfont caviar dreams:size=8
  42. xftalpha 0.5
  43. uppercase no
  44.  
  45. default_color FFFFFF
  46. color1 DDDDDD
  47. color2 AAAAAA
  48. color3 888888
  49. color4 666666
  50.  
  51. lua_load ~/.lua/conky_grey.lua
  52. lua_draw_hook_post main
  53.  
  54. TEXT
  55. ${voffset 35}
  56. ${goto 95}${color4}${font ubuntu:size=22}${time %e}${color1}${offset -50}${font ubuntu:size=10}${time %A}
  57. ${goto 85}${color2}${voffset -2}${font ubuntu:size=9}${time %b}${voffset -2} ${color3}${font ubuntu:size=12}${time %Y}${font}
  58.  
  59. ${voffset 80}
  60. ${goto 90}${font Ubuntu:size=7,weight:bold}${color}CPU
  61. ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top name 1}${alignr}${top cpu 1}%
  62. ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top name 2}${alignr}${top cpu 2}%
  63. ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top name 3}${alignr}${top cpu 3}%
  64. ${goto 90}${cpugraph 10,100 666666 666666}
  65. ${goto 90}${voffset -10}${font Ubuntu:size=7,weight:normal}${color}${threads} process
  66.  
  67. ${voffset 20}
  68. ${goto 90}${font Ubuntu:size=7,weight:bold}${color}MEM
  69. ${goto 90}${font Ubuntu:size=7,weight:normal}${color1}${top_mem name 1}${alignr}${top_mem mem 1}%
  70. ${goto 90}${font Ubuntu:size=7,weight:normal}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
  71. ${goto 90}${font Ubuntu:size=7,weight:normal}${color3}${top_mem name 3}${alignr}${top_mem mem 3}%
  72.  
  73. ${voffset 27}
  74. ${goto 90}${font Ubuntu:size=7,weight:bold}${color}DISKS
  75. ${goto 90}${diskiograph 30,100 666666 666666}${voffset -30}
  76. ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_used /home} /home
  77. ${goto 90}${font Ubuntu:size=7,weight:normal}${color}used: ${fs_free /} /
  78.  
  79. ${goto 50}${font Ubuntu:size=10,weight:bold}NET${alignr}${color2}${font Ubuntu:size=7,weight:bold}${color1}${if_up eth0}
  80.  
  81. ${goto 50}Upload: ${alignr}${upspeed eth0}$color
  82. ${voffset -15}${goto 50}${upspeedgraph eth0 666666 666666}
  83. ${goto 50}Download: ${alignr}${downspeed eth0}$color
  84. ${voffset -15}${goto 50}${color3}${downspeedgraph eth0 666666 666666}
Advertisement
Add Comment
Please, Sign In to add comment