conkyrc

From marc, 4 Years ago, written in Plain Text, viewed 3'088 times.
URL http://bin.flmt.es/view/b6b6872c Embed
Download Paste or View Raw
  1. # set to yes if you want Conky to be forked in the background
  2. background no
  3.  
  4. cpu_avg_samples 2
  5. net_avg_samples 2
  6.  
  7. out_to_console no
  8.  
  9. # X font when Xft is disabled, you can pick one with program xfontsel
  10. #font 7x12
  11. #font 6x10
  12. #font 7x13
  13. #font 8x13
  14. #font 7x12
  15. #font *mintsmild.se*
  16. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  17. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  18.  
  19. # Use Xft?
  20. use_xft yes
  21.  
  22. # Xft font when Xft is enabled
  23. xftfont Bitstream Vera Sans Mono:size=8
  24.  
  25. # Text alpha when using Xft
  26. xftalpha 0.8
  27.  
  28. on_bottom yes
  29.  
  30. # mail spool
  31. mail_spool $MAIL
  32.  
  33. # Update interval in seconds
  34. update_interval 5
  35. # Create own window instead of using desktop (required in nautilus)
  36. own_window yes
  37. own_window_transparent yes
  38. own_window_type desktop
  39.  
  40. # Use double buffering (reduces flicker, may not work for everyone)
  41. double_buffer yes
  42.  
  43. # Minimum size of text area
  44. minimum_size 350 5
  45. maximum_width 220
  46.  
  47. # Draw shades?
  48. draw_shades no
  49.  
  50. # Draw outlines?
  51. draw_outline no
  52.  
  53. # Draw borders around text
  54. draw_borders no
  55.  
  56. # Stippled borders?
  57. stippled_borders 10
  58.  
  59. # border margins
  60. border_margin 4
  61.  
  62. # border width
  63. border_width 1
  64.  
  65. # Default colors and also border colors
  66. default_color white
  67. default_shade_color white
  68. default_outline_color white
  69.  
  70. # Text alignment, other possible values are commented
  71. #alignment top_left
  72. #minimum_size 10 10
  73. gap_x 10
  74. gap_y 25
  75. alignment top_right
  76. #alignment bottom_left
  77. #alignment bottom_right
  78.  
  79. # Gap between borders of screen and text
  80.  
  81. # Add spaces to keep things from moving about?  This only affects certain objects.
  82. use_spacer no
  83.  
  84. # Subtract file system buffers from used memory?
  85. no_buffers yes
  86.  
  87. # set to yes if you want all text to be in uppercase
  88. uppercase no
  89.  
  90. # boinc (seti) dir
  91. # seti_dir /opt/seti
  92.  
  93. # Possible variables to be used:
  94. #
  95. #      Variable         Arguments                  Description                
  96. #  acpiacadapter                     ACPI ac adapter state.                  
  97. #  acpifan                           ACPI fan state                          
  98. #  acpitemp                          ACPI temperature.                        
  99. #  adt746xcpu                        CPU temperature from therm_adt746x      
  100. #  adt746xfan                        Fan speed from therm_adt746x            
  101. #  battery           (num)           Remaining capasity in ACPI or APM        
  102. #                                    battery. ACPI battery number can be      
  103. #                                    given as argument (default is BAT0).    
  104. #  buffers                           Amount of memory buffered                
  105. #  cached                            Amount of memory cached                  
  106. #  color             (color)         Change drawing color to color            
  107. #  cpu                               CPU usage in percents                    
  108. #  cpubar            (height)        Bar that shows CPU usage, height is      
  109. #                                    bar's height in pixels                  
  110. #  downspeed         net             Down speed in kilobytes              
  111. #  downspeedf        net             Download speed in kilobytes with one    
  112. #                                    decimal                                  
  113. #  exec              shell command   Executes a shell command and displays    
  114. #                                    the output in torsmo. warning: this      
  115. #                                    takes a lot more resources than other    
  116. #                                    variables. I'd recommend coding wanted  
  117. #                                    behaviour in C and posting a patch :-).  
  118. #  execi             interval, shell Same as exec but with specific interval.
  119. #                    command         Interval can't be less than              
  120. #                                    update_interval in configuration.        
  121. #  fs_bar            (height), (fs)  Bar that shows how much space is used on
  122. #                                    a file system. height is the height in  
  123. #                                    pixels. fs is any file on that file      
  124. #                                    system.                                  
  125. #  fs_free           (fs)            Free space on a file system available    
  126. #                                    for users.                              
  127. #  fs_free_perc      (fs)            Free percentage of space on a file      
  128. #                                    system available for users.              
  129. #  fs_size           (fs)            File system size                        
  130. #  fs_used           (fs)            File system used space                  
  131. #  hr                (height)        Horizontal line, height is the height in
  132. #                                    pixels                                  
  133. #  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev  
  134. #                                    may be omitted if you have only one I2C  
  135. #                                    device. type is either in (or vol)      
  136. #                                    meaning voltage, fan meaning fan or temp
  137. #                                    meaning temperature. n is number of the  
  138. #                                    sensor. See /sys/bus/i2c/devices/ on    
  139. #                                    your local computer.                    
  140. #  kernel                            Kernel version                          
  141. #  loadavg           (1), (2), (3)   System load average, 1 is for past 1    
  142. #                                    minute, 2 for past 5 minutes and 3 for  
  143. #                                    past 15 minutes.                        
  144. #  machine                           Machine, i686 for example                
  145. #  mails                             Mail count in mail spool. You can use    
  146. #                                    program like fetchmail to get mails from
  147. #                                    some server using your favourite        
  148. #                                    protocol. See also new_mails.            
  149. #  mem                               Amount of memory in use                  
  150. #  membar            (height)        Bar that shows amount of memory in use  
  151. #  memmax                            Total amount of memory                  
  152. #  memperc                           Percentage of memory in use              
  153. #  new_mails                         Unread mail count in mail spool.        
  154. #  nodename                          Hostname                                
  155. #  outlinecolor      (color)         Change outline color                    
  156. #  pre_exec          shell command   Executes a shell command one time before
  157. #                                    torsmo displays anything and puts output
  158. #                                    as text.                                
  159. #  processes                         Total processes (sleeping and running)  
  160. #  running_processes                 Running processes (not sleeping),        
  161. #                                    requires Linux 2.6                      
  162. #  shadecolor        (color)         Change shading color                    
  163. #  stippled_hr       (space),        Stippled (dashed) horizontal line        
  164. #                    (height)        
  165. #  swapbar           (height)        Bar that shows amount of swap in use    
  166. #  swap                              Amount of swap in use                    
  167. #  swapmax                           Total amount of swap                    
  168. #  swapperc                          Percentage of swap in use                
  169. #  sysname                           System name, Linux for example          
  170. #  time              (format)        Local time, see man strftime to get more
  171. #                                    information about format                
  172. #  totaldown         net             Total download, overflows at 4 GB on    
  173. #                                    Linux with 32-bit arch and there doesn't
  174. #                                    seem to be a way to know how many times  
  175. #                                    it has already done that before torsmo  
  176. #                                    has started.                            
  177. #  totalup           net             Total upload, this one too, may overflow
  178. #  updates                           Number of updates (for debugging)        
  179. #  upspeed           net             Upload speed in kilobytes                
  180. #  upspeedf          net             Upload speed in kilobytes with one      
  181. #                                    decimal                                  
  182. #  uptime                            Uptime                                  
  183. #  uptime_short                      Uptime in a shorter format              
  184. #
  185. #  seti_prog                         Seti@home current progress
  186. #  seti_progbar      (height)        Seti@home current progress bar
  187. #  seti_credit                       Seti@hoome total user credit
  188.  
  189.  
  190. # variable is given either in format $variable or in ${variable}. Latter
  191. # allows characters right after the variable and must be used in network
  192. # stuff because of an argument
  193. #${font Dungeon:style=Bold:pixelsize=10}I can change the font as well
  194. #${font Verdana:size=10}as many times as I choose
  195. #${font Perry:size=10}Including UTF-8,
  196. #${font Luxi Mono:size=10}justo como este texto que o google traduz fêz o português
  197. # stuff after 'TEXT' will be formatted on screen
  198. #${font Grunge:size=12}${time %a  %b  %d}${alignr -25}${time %k:%M}
  199.  
  200. TEXT
  201. $nodename${alignr}$sysname
  202. $kernel${alignr}$machine
  203. $stippled_hr
  204. ${color lightgrey}Uptime:$color $uptime
  205. ${color lightgrey}Load:$color $loadavg
  206. ${color lightgrey}CPU: ${cpu}% ${cpubar}
  207. ${color black}${cpugraph 000000 5000a0}
  208. ${color lightgrey}FREQ: $alignr${freq 0} ${freq 1} ${freq 2} ${freq 3} MHz
  209. ${color lightgrey}RAM Usage:$color $mem/$memmax
  210. ${color lightgrey}$memperc% $membar
  211. ${color lightgrey}Swap Usage:$color $swap/$swapmax
  212. ${color lightgrey}$swapperc% ${swapbar}
  213. ${color lightgrey}Processes:$color $processes  ${color grey}Running:$color $running_processes
  214. $color$stippled_hr
  215. ${color lightgrey}Networking:
  216. ${alignc}${color lightgrey}ETH0
  217. Down:${color #8844ee} ${downspeed eth0} k/s${color lightgrey} ${offset 70}
  218. ${color black}${downspeedgraph eth0 32,220 ff0000 0000ff}
  219. Up:${color #22ccff} ${upspeed eth0} k/s
  220. ${color black}${upspeedgraph eth0 32,220 0000ff ff0000}
  221. ${alignc}${color lightgrey}WLAN0
  222. Down:${color #8844ee} ${downspeed wlan0} k/s${color lightgrey} ${offset 70}
  223. ${color black}${downspeedgraph wlan0 32,220 ff0000 0000ff}
  224. Up:${color #22ccff} ${upspeed wlan0} k/s
  225. ${color black}${upspeedgraph wlan0 32,220 0000ff ff0000}
  226. ${color lightgrey}File systems:
  227.  / $color${fs_used /}/${fs_size /}
  228.  ${fs_bar /}
  229.  /tmp $color${fs_used /tmp}/${fs_size /tmp}
  230.  ${fs_bar /tmp}
  231.  /home $color${fs_used /home}/${fs_size /home}
  232.  ${fs_bar /home}
  233.  /disk $color${fs_used /disk}/${fs_size /disk}
  234.  ${fs_bar /disk}
  235. ${color lightgrey}Temperatures:
  236.  CPU:$color ${i2c temp 2}C${color grey} - MB:$color ${i2c temp 1}C
  237. ${color}Name              PID     CPU%   MEM%
  238. ${color #ddaa00} ${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  239. ${color lightgrey} ${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  240. ${color lightgrey} ${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  241. ${color}Mem usage
  242. ${color #ddaa00} ${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  243. ${color lightgrey} ${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  244. ${color lightgrey} ${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  245. #${exec task conky}
  246.  

Reply to "conkyrc"

Here you can reply to the paste above