Advertisement
Guest User

Conky Config

a guest
Mar 15th, 2012
756
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.83 KB | None | 0 0
  1. # Use Xft?
  2. use_xft yes
  3. xftfont DejaVu Sans:size=8
  4. xftalpha 0.8
  5. text_buffer_size 2048
  6.  
  7. # Update interval in seconds
  8. update_interval 1
  9.  
  10. # set to yes if you want Conky to be forked in the background
  11. background yes
  12.  
  13. # This is the number of times Conky will update before quitting.
  14. # Set to zero to run forever.
  15. total_run_times 0
  16.  
  17. # Create own window instead of using desktop (required in nautilus)
  18. own_window yes
  19. own_window_transparent yes
  20. own_window_type override
  21. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  22. ##############################################
  23. # Compositing tips:
  24. # Conky can play strangely when used with
  25. # different compositors. I have found the
  26. # following to work well, but your mileage
  27. # may vary. Comment/uncomment to suit.
  28. ##############################################
  29. ## no compositor
  30. #own_window_type override
  31. #own_window_argb_visual no
  32.  
  33. ## xcompmgr
  34. #own_window_type override
  35. #own_window_argb_visual yes
  36.  
  37. ## cairo-compmgr
  38. own_window_type desktop
  39. own_window_argb_visual yes
  40. #####################################
  41. # Use double buffering (reduces flicker, may not work for everyone)
  42. double_buffer yes
  43.  
  44. # Minimum size of text area
  45. minimum_size 180 0
  46. #maximum_width 200
  47.  
  48. # Draw shades?
  49. draw_shades no
  50.  
  51. # Draw outlines?
  52. draw_outline no
  53.  
  54. # Draw borders around text
  55. draw_borders no
  56.  
  57. # Stippled borders?
  58. stippled_borders 0
  59.  
  60. # border margins
  61. border_inner_margin 5
  62.  
  63. # border width
  64. border_width 1
  65.  
  66. # Default colors and also border colors
  67. default_color black
  68. own_window_colour black
  69.  
  70. # Text alignment, other possible values are commented
  71. #alignment top_left
  72. alignment top_right
  73. #alignment bottom_left
  74. #alignment bottom_right
  75.  
  76. # Gap between borders of screen and text
  77. # same thing as passing -x at command line
  78. gap_x 30
  79. gap_y 40
  80.  
  81. # Subtract file system buffers from used memory?
  82. no_buffers yes
  83.  
  84. # set to yes if you want all text to be in uppercase
  85. uppercase no
  86.  
  87. # number of cpu samples to average
  88. # set to 1 to disable averaging
  89. cpu_avg_samples 2
  90.  
  91. # number of net samples to average
  92. # set to 1 to disable averaging
  93. net_avg_samples 2
  94.  
  95. # Force UTF8? note that UTF8 support required XFT
  96. override_utf8_locale yes
  97.  
  98. # Add spaces to keep things from moving about? This only affects certain objects.
  99. use_spacer none
  100.  
  101. TEXT
  102. ${if_match ${desktop}==1}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}•${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}•${color}
  103. # ${if_match ${desktop}==1}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}${execbar echo 100}${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}${execbar echo 100}${color}
  104. # ${if_match ${desktop}==1}${color1}${endif}1${color}${offset 10}${if_match ${desktop}==2}${color1}${endif}2${color}${offset 10}${if_match ${desktop}==3}${color1}${endif}3${color}${offset 10}${if_match ${desktop}==4}${color1}${endif}4${color}
  105.  
  106. SYSTEM ${hr 2}
  107.  
  108. ${voffset 4} System: ${alignr}Crunchbang 10 Statler
  109. ${voffset 4} Kernel: ${alignr}${kernel}
  110. ${voffset 4} Uptime: ${alignr}${uptime}
  111.  
  112. ${voffset 6} CPU: ${cpu cpu0}% ${alignr}${cpubar cpu0 8,60}
  113. ${voffset 4} CPU1: ${cpu cpu1}% ${alignr}${cpubar cpu1 8,60}
  114. ${voffset 4} CPU2: ${cpu cpu2}% ${alignr}${cpubar cpu2 8,60}
  115. ${voffset 4} CPU3: ${cpu cpu3}% ${alignr}${cpubar cpu3 8,60}
  116. ${voffset 4} CPU4: ${cpu cpu4}% ${alignr}${cpubar cpu4 8,60}
  117. ${voffset 6} RAM: $memperc% ${alignr}${membar 8,60}
  118. ${voffset 4} SWAP: $swapperc% ${alignr}${swapbar 8,60}
  119.  
  120. CPU USAGE ${hr 2}
  121. ${voffset 4} ${top name 1}${alignr} ${top pid 1} ${top cpu 1}
  122. ${voffset 4} ${top name 2}${alignr} ${top pid 2} ${top cpu 2}
  123. ${voffset 4} ${top name 3}${alignr} ${top pid 3} ${top cpu 3}
  124.  
  125. MEM USAGE ${hr 2}
  126. ${voffset 4} ${top_mem name 1}${alignr} ${top_mem pid 1} ${top_mem mem 1}
  127. ${voffset 4} ${top_mem name 2}${alignr} ${top_mem pid 2} ${top_mem mem 2}
  128. ${voffset 4} ${top_mem name 3}${alignr} ${top_mem pid 3} ${top_mem mem 3}
  129.  
  130. CURRENTLY PLAYING ${hr 2}
  131.  
  132. ${voffset 4} ${if_mpd_playing}${font size=11}${mpd_artist}${font}
  133. ${voffset 4} ${mpd_title}
  134. ${voffset 4} ${mpd_bar 5,170}${endif}
  135.  
  136. HD ${hr 2}
  137.  
  138. ${voffset 4}Root:
  139. ${voffset 4}${fs_free /}/${fs_size /} ${alignr}${fs_bar 8,60 /}
  140.  
  141. ${voffset 4}Home:
  142. ${voffset 4}${fs_free /home}/${fs_size /home} ${alignr}${fs_bar 8,60 /home}
  143.  
  144. NETWORK ${hr 2}
  145.  
  146. ${voffset 4} Up: ${upspeed eth0} kb/s ${alignr}${upspeedgraph eth0 8,60}
  147. ${voffset 4} Upload: ${alignr}${totalup eth0}
  148. ${voffset 4} Down: ${downspeed eth0} kb/s ${alignr}${downspeedgraph eth0 8,60}
  149. ${voffset 4} Download: ${alignr}${totaldown eth0}
  150.  
  151. WEATHER ${hr 2}
  152.  
  153. ${voffset 8}${font Arial Black:size=10}${alignc}${execi 900 ~/.scripts/weather.sh "Knoxville,TN"}${font}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement