Advertisement
Guest User

Untitled

a guest
Apr 7th, 2010
600
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 3.93 KB | None | 0 0
  1. # set to yes if you want Conky to be forked in the background
  2. background yes
  3.  
  4. cpu_avg_samples 1
  5. net_avg_samples 2
  6.  
  7. out_to_console no
  8.  
  9. # Use Xft?
  10. use_xft yes
  11.  
  12. # Xft font when Xft is enabled
  13. xftfont  Monospace:size=7
  14. #xftfont Sans:size=8
  15.  
  16. # Create own window instead of drawing to desktop.
  17. own_window yes
  18. own_window_transparent yes
  19. own_window_colour navyblue
  20. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  21. own_window_type normal
  22.  
  23. # Text alpha when using Xft
  24. xftalpha 0.8
  25.  
  26. wm_class_name Conky
  27.  
  28. # mail spool
  29. #mail_spool $MAIL
  30.  
  31. # Update interval in seconds
  32. update_interval 5
  33.  
  34. # Use double buffering (reduces flicker, may not work for everyone)
  35. double_buffer yes
  36.  
  37. # Minimum size of text area
  38. minimum_size 245 10
  39. maximum_width 245
  40.  
  41. # Draw shades?
  42. draw_shades yes
  43.  
  44. # Draw outlines?
  45. draw_outline no
  46.  
  47. # Draw borders around text
  48. draw_borders no
  49.  
  50. # Stippled borders?
  51. stippled_borders 2
  52.  
  53. # border margins
  54. #border_margin 4
  55.  
  56. # border width
  57. border_width 0
  58.  
  59. # Default colors and also border colors
  60. default_color white
  61. default_shade_color black
  62. default_outline_color white
  63.  
  64. # Text alignment, other possible values are commented
  65. #minimum_size 10 10
  66. gap_x 15
  67. gap_y 30
  68. #alignment top_left
  69. #alignment top_right
  70. #alignment bottom_left
  71. alignment top_right
  72.  
  73. # Gap between borders of screen and text
  74.  
  75. # Add spaces to keep things from moving about?  This only affects certain objects.
  76. use_spacer yes
  77.  
  78. # Subtract file system buffers from used memory?
  79. no_buffers yes
  80.  
  81. # set to yes if you want all text to be in uppercase
  82. uppercase no
  83.  
  84. # drawn 1 pixel border around graphs or not
  85. draw_graph_borders no
  86.  
  87. # Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
  88. #min_port_monitors 8
  89.  
  90. # Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
  91. #min_port_monitor_connections 64
  92.  
  93. # none, xmms, bmp, audacious, infopipe (default is none)
  94. #xmms_player none
  95.  
  96. TEXT
  97. #${color #0077ff}Время:$color ${time %a %d %k:%M}${alignr}${color grey}  
  98. ${color #0077ff}Uptime:$color $uptime           Gmail - ${color grey}${execi 1000 python ~/gmail.py} ${color grey}
  99. ${if_running mpd}$stippled_hr${color 989898}
  100. ${color #0077ff}MPD: $alignc${color #fafafa}$mpd_artist${color 989898}
  101. $alignc$mpd_title
  102. ${color grey}$stippled_hr
  103. ${color #0077ff}CPU: $color${cpu cpu1}${color #0077ff} %, temp.:${color #0077ff} $color${execi 10 cat /proc/acpi/thermal_zone/THRM/temperature | cut -b26-27}${color #0077ff} °C
  104. ${color black}${cpugraph 15, 235 104E8B 4daaf8}
  105. #${color #0077ff}CPU Temp: $color${execi 10 cat /proc/acpi/thermal_zone/THRM/temperature | cut -b26-27}${color #0077ff} °C
  106. ${color grey}$stippled_hr
  107. ${color #0077ff}RAM : $color $mem / $memmax - $memperc % ${color #0077ff}
  108. ${color grey}$stippled_hr
  109. ${color #0077ff}Download:$color ${downspeed ppp0} ${color #0077ff}      Upload:$color ${upspeed ppp0} ${color grey}
  110. ${color #0077ff}Traffic: $color ${totaldown ppp0}              $color ${totalup ppp0}
  111. ${color grey}$stippled_hr
  112. ${color #0077ff}HDD usage:
  113. ${color black} ${diskiograph 15, 235 104E8B 4daaf8}${color lightgrey}
  114. ${color grey}$stippled_hr
  115. ${color #0077ff} Name               PID    CPU %  MEM %
  116.  $color ${top name 1}  ${top pid 1} ${top cpu 1} ${top mem 1}
  117.  $color ${top name 2}  ${top pid 2} ${top cpu 2} ${top mem 2}
  118.  $color ${top name 3}  ${top pid 3} ${top cpu 3} ${top mem 3}
  119.  $color ${top name 4}  ${top pid 4} ${top cpu 4} ${top mem 4}
  120.  $color ${top name 5}  ${top pid 5} ${top cpu 5} ${top mem 5}
  121.  
  122. ${color #0077ff} Mem usage
  123.  $color ${top_mem name 1}  ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  124.  $color ${top_mem name 2}  ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  125.  $color ${top_mem name 3}  ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  126.  $color ${top_mem name 4}  ${top_mem pid 4} ${top_mem cpu 4} ${top_mem mem 4}
  127.  $color ${top_mem name 5}  ${top_mem pid 5} ${top_mem cpu 5} ${top_mem mem 5}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement