Want more features on Pastebin? Sign Up, it's FREE!
Guest

conkyrc

By: a guest on Feb 5th, 2014  |  syntax: None  |  size: 16.98 KB  |  views: 130  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # conky configuration
  2. # edited by darcon@gmail.com
  3. # edited more by unrulypainter
  4. # set to yes if you want Conky to be forked in the background
  5. background no
  6.  
  7. # X font when Xft is disabled, you can pick one with program xfontsel
  8. #font 5x7
  9. #font 6x10
  10. #font 7x13
  11. #font 8x13
  12. #font 9x15
  13. #font *mintsmild.se*
  14. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  15.  
  16.  
  17. # Use Xft?
  18. use_xft yes
  19.  
  20. # Xft font when Xft is enabled
  21. xftfont Source Code Pro:pixelsize=12
  22. #xftfont Terminus:size=8
  23.  
  24. # Text alpha when using Xft
  25. xftalpha 0.8
  26.  
  27. # Print everything to console?
  28. # out_to_console no
  29.  
  30. # mail spool
  31. #mail_spool $MAIL
  32.  
  33. # Update interval in seconds
  34. update_interval 5.0
  35.  
  36. # This is the number of times Conky will update before quitting.
  37. # Set to zero to run forever.
  38. total_run_times 0
  39.  
  40. # Create own window instead of using desktop (required in nautilus)
  41. own_window yes
  42.  
  43. # Use double buffering (reduces flicker, may not work for everyone)
  44. double_buffer yes
  45.  
  46. # Minimum size of text area
  47. minimum_size 400 1000
  48.  
  49. # Draw shades?
  50. #draw_shades yes
  51.  
  52. # Draw outlines?
  53. draw_outline no
  54.  
  55. # Draw borders around text
  56. draw_borders no
  57. draw_graph_borders no
  58. # Stippled borders?
  59. #stippled_borders 8
  60.  
  61. # border margins
  62. border_margin 4
  63.  
  64. # border width
  65. border_width 1
  66.  
  67. # Default colors and also border colors
  68. default_color white
  69. default_shade_color black
  70. default_outline_color white
  71. default_bar_size 160 5
  72.  
  73. # Text alignment, other possible values are commented
  74. alignment top_left
  75. #alignment top_right
  76. #alignment bottom_left
  77. #alignment bottom_right
  78.  
  79. # Gap between borders of screen and text
  80. # same thing as passing -x at command line
  81. gap_x 0
  82. gap_y 0
  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. # number of cpu samples to average
  91. # set to 1 to disable averaging
  92. cpu_avg_samples 2
  93.  
  94. # number of net samples to average
  95. # set to 1 to disable averaging
  96. net_avg_samples 2
  97.  
  98. # Force UTF8? note that UTF8 support required XFT
  99. override_utf8_locale yes
  100.  
  101.  
  102. # Add spaces to keep things from moving about?  This only affects certain objects.
  103. #use_spacer yes
  104. #Note: doesn't work in conky 1.2 =(
  105.  
  106. #   mldonkey_hostname     Hostname for mldonkey stuff, defaults to localhost
  107. #   mldonkey_port         Mldonkey port, 4001 default
  108. #   mldonkey_login        Mldonkey login, default none
  109. #   mldonkey_password     Mldonkey password, default none
  110.  
  111.  
  112. # Possible variables to be used:
  113. #
  114. #      Variable         Arguments                  Description                
  115.  
  116. #       addr              (interface)   IP address for an interface
  117. #       acpiacadapter                   ACPI ac adapter state.                  
  118. #       acpifan                         ACPI fan state                          
  119. #       acpitemp                        ACPI temperature.                        
  120. #       adt746xcpu                      CPU temperature from therm_adt746x      
  121. #       adt746xfan                      Fan speed from therm_adt746x            
  122. #       alignr            (num)         Right-justify text, with space of N
  123. #       alignc                          Align text to centre
  124. #       battery           (num)         Remaining capasity in ACPI or APM        
  125. #                                       battery. ACPI battery number can be      
  126. #                                       given as argument (default is BAT0).    
  127. #       buffers                         Amount of memory buffered                
  128. #       cached                          Amount of memory cached                  
  129. #       color             (color)       Change drawing color to color            
  130. #       cpu                             CPU usage in percents                    
  131. #       cpubar            (height)      Bar that shows CPU usage, height is      
  132. #                                       bar's height in pixels                
  133. #       cpugraph          (height),(width) (gradient colour 1) (gradient colour 2)
  134. #                                       CPU usage graph, with optional colours in hex,
  135. #                                       minus the #.
  136. #       downspeed         net           Download speed in kilobytes              
  137. #       downspeedf        net           Download speed in kilobytes with one    
  138. #                                       decimal                                  
  139. #       downspeedgraph    net (height),(width) (gradient colour 1) (gradient colour 2)
  140. #                                       Download speed graph, colours defined in
  141. #                                       hex, minus the #.
  142. #       exec              shell command Executes a shell command and displays    
  143. #                                       the output in conky. warning: this      
  144. #                                       takes a lot more resources than other    
  145. #                                       variables. I'd recommend coding wanted  
  146. #                                       behaviour in C and posting a patch :-).  
  147. #       execbar           shell command Same as exec, except if the first value
  148. #                                       return is a value between 0-100, it
  149. #                                       will use that number for a bar.
  150. #                                       The size for the bar is currently fixed,
  151. #                                       but that may change in the future.
  152. #       execgraph         shell command Same as execbar, but graphs values
  153. #       execi             interval, shell command
  154. #                                       Same as exec but with specific interval.
  155. #                                       Interval can't be less than              
  156. #                                       update_interval in configuration.        
  157. #       font              font          Specify a different font.  Only applies
  158. #                                       to one line.
  159. #       fs_bar            (height), (fs)Bar that shows how much space is used on
  160. #                                       a file system. height is the height in  
  161. #                                       pixels. fs is any file on that file      
  162. #                                       system.                                  
  163. #       fs_free           (fs)          Free space on a file system available    
  164. #                                       for users.                              
  165. #       fs_free_perc      (fs)          Free percentage of space on a file      
  166. #                                       system available for users.              
  167. #       fs_size           (fs)          File system size                        
  168. #       fs_used           (fs)          File system used space                  
  169. #       hr                (height)      Horizontal line, height is the height in
  170. #                                       pixels                                  
  171. #       i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev  
  172. #                                       may be omitted if you have only one I2C  
  173. #                                       device. type is either in (or vol)      
  174. #                                       meaning voltage, fan meaning fan or
  175. #                                       temp/tempf (first in C, second in F)
  176. #                                       meaning temperature. n is number of the  
  177. #                                       sensor. See /sys/bus/i2c/devices/ on    
  178. #                                       your local computer.                    
  179. #       if_running        (process)     if PROCESS is running, display
  180. #                                       everything if_running and the matching $endif
  181. #       if_existing       (file)        if FILE exists, display everything between
  182. #                                       if_existing and the matching $endif
  183. #       if_mounted        (mountpoint)  if MOUNTPOINT is mounted, display everything between
  184. #                                       if_mounted and the matching $endif
  185. #       else                            Text to show if any of the above are not true
  186. #       kernel                          Kernel version                          
  187. #       linkstatus        (interface)   Get the link status for wireless connections
  188. #       loadavg           (1), (2), (3) System load average, 1 is for past 1    
  189. #                                       minute, 2 for past 5 minutes and 3 for  
  190. #                                       past 15 minutes.                        
  191. #       machine                         Machine, i686 for example                
  192. #       mails                           Mail count in mail spool. You can use    
  193. #                                       program like fetchmail to get mails from
  194. #                                       some server using your favourite        
  195. #                                       protocol. See also new_mails.            
  196. #       mem                             Amount of memory in use                  
  197. #       membar            (height)      Bar that shows amount of memory in use  
  198. #       memmax                          Total amount of memory                  
  199. #       memperc                         Percentage of memory in use
  200. #      
  201. #       metar_ob_time
  202. #       metar_temp
  203. #       metar_tempf                     Temp in F
  204. #       metar_windchill
  205. #       metar_dew_point                 There are a bunch of these
  206. #       metar_rh                        and they are self-explanatory
  207. #       metar_windspeed
  208. #       metar_winddir
  209. #       metar_swinddir
  210. #       metar_cloud
  211. #       metar_u2d_time
  212. #      
  213. #       ml_upload_counter               total session upload in mb
  214. #       ml_download_counter             total session download in mb
  215. #       ml_nshared_files                number of shared files
  216. #       ml_shared_counter               total session shared in mb, buggy
  217. #                                       in some mldonkey versions
  218. #       ml_tcp_upload_rate              tcp upload rate in kb/s
  219. #       ml_tcp_download_rate            tcp download rate in kb/s
  220. #       ml_udp_upload_rate              udp upload rate in kb/s
  221. #       ml_udp_download_rate            udp download rate in kb/s
  222. #       ml_ndownloaded_files            number of completed files
  223. #       ml_ndownloading_files           number of downloading files
  224. #      
  225. #       mpd_artist                      Artist in current MPD song
  226. #                                       (must be enabled at compile)
  227. #       mpd_album                       Album in current MPD song
  228. #       mpd_bar           (height)      Bar of mpd's progress
  229. #       mpd_bitrate                     Bitrate of current song
  230. #       mpd_status                      Playing, stopped, et cetera.
  231. #       mpd_title                       Title of current MPD song
  232. #       mpd_vol                         MPD's volume
  233. #       mpd_elapsed                     Song's elapsed time
  234. #       mpd_length                      Song's length
  235. #       mpd_percent                     Percent of song's progress
  236. #       new_mails                       Unread mail count in mail spool.        
  237. #       nodename                        Hostname                                
  238. #       outlinecolor      (color)       Change outline color                    
  239. #       pre_exec          shell command Executes a shell command one time before
  240. #                                       conky displays anything and puts output
  241. #                                       as text.                                
  242. #       processes                       Total processes (sleeping and running)  
  243. #       running_processes               Running processes (not sleeping),        
  244. #                                       requires Linux 2.6                      
  245. #       shadecolor        (color)       Change shading color                    
  246. #       stippled_hr       (space),      Stippled (dashed) horizontal line        
  247. #                       (height)        
  248. #       swapbar           (height)      Bar that shows amount of swap in use    
  249. #       swap                            Amount of swap in use                    
  250. #       swapmax                         Total amount of swap                    
  251. #       swapperc                        Percentage of swap in use                
  252. #       sysname                         System name, Linux for example          
  253. #       offset            pixels        Move text over by N pixels
  254. #       tail              logfile, lines (interval)
  255. #                                       Displays last N lines of supplied text
  256. #                                       text file.  If interval is not supplied,
  257. #                                       Conky assumes 2x Conky's interval.
  258. #                                       Max of 30 lines.
  259. #                                       Max of 30 lines can be displayed.
  260. #       time              (format)      Local time, see man strftime to get more
  261. #                                       information about format                
  262. #       totaldown         net           Total download, overflows at 4 GB on    
  263. #                                       Linux with 32-bit arch and there doesn't
  264. #                                       seem to be a way to know how many times  
  265. #                                       it has already done that before conky  
  266. #                                       has started.                            
  267. #       top               type, num     This takes arguments in the form:
  268. #                                       top <name> <number>
  269. #                                       Basically, processes are ranked from
  270. #                                       highest to lowest in terms of cpu
  271. #                                       usage, which is what <num> represents.
  272. #                                       The types are: "name", "pid", "cpu", and
  273. #                                       "mem".
  274. #                                       There can be a max of 10 processes listed.
  275. #       top_mem           type, num     Same as top, except sorted by mem usage
  276. #                                       instead of cpu
  277. #       totalup           net           Total upload, this one too, may overflow
  278. #       updates                         Number of updates (for debugging)        
  279. #       upspeed           net           Upload speed in kilobytes                
  280. #       upspeedf          net           Upload speed in kilobytes with one      
  281. #                                       decimal                                  
  282. #       upspeedgraph      net (height),(width)  (gradient colour 1) (gradient colour 2)
  283. #                                       Upload speed graph, colours defined in
  284. #                                       hex, minus the #.
  285. #       uptime                          Uptime                                  
  286. #       uptime_short                    Uptime in a shorter format              
  287. #      
  288. #       seti_prog                       Seti@home current progress
  289. #       seti_progbar      (height)      Seti@home current progress bar
  290. #       seti_credit                     Seti@hoome total user credit
  291.  
  292.  
  293. # variable is given either in format $variable or in ${variable}. Latter
  294. # allows characters right after the variable and must be used in network
  295. # stuff because of an argument
  296.  
  297. # stuff after 'TEXT' will be formatted on screen
  298.  
  299. TEXT
  300. ${offset 5}${font Source Code Pro:light:pixelsize=54}${color slate grey}${time %H:%M} ${color}${font}
  301.  
  302. ${offset 5}${color slate grey}Host ${color }$nodename
  303. ${offset 5}${color slate grey}UpTime ${color }$uptime
  304. ${offset 5}${color slate grey}Kern ${color }$kernel
  305. ${offset 5}${color slate grey}Processes ${color }$processes
  306. ${offset 5}${color slate grey}CPU ${color }$cpu%
  307. ${offset 5}${cpugraph cpu1 20,160 DDAA00 DDAA00 -t}
  308.  
  309. ${voffset -200}
  310. ${offset 200}${color slate grey}Highest CPU
  311. ${offset 200}${color #ddaa00} ${top name 1}${top_mem cpu 1}
  312. ${offset 200}${color lightgrey} ${top name 2}${top cpu 2}
  313. ${offset 200}${color lightgrey} ${top name 3}${top cpu 3}
  314.  
  315. ${offset 200}${color slate grey}Highest MEM
  316. ${offset 200}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
  317. ${offset 200}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
  318. ${offset 200}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
  319.  
  320. ${voffset -176}
  321. ${offset 400}${color slate grey}RAM ${color } $mem/$memmax
  322. ${offset 400}${membar 5,160} $memperc%
  323.  
  324. ${offset 400}${color slate grey}/ ${color }${fs_free /}/${fs_size /}
  325. ${offset 400}${fs_bar 5,160 /} ${fs_used_perc /}%
  326.  
  327. ${offset 400}${color slate grey}/home ${color }${fs_free /home}/${fs_size /home}
  328. ${offset 400}${fs_bar 5,160 /home} ${fs_used_perc /home}%
  329.  
  330. ${voffset -162}
  331. ${offset 600}${color slate grey}Upload ${color }${upspeed enp5s0}${color}
  332. ${offset 600}${upspeedgraph enp5s0 20,160 DDAA00 DDAA00}
  333. ${offset 600}${color slate grey}Download ${color }${downspeed enp5s0}${color}
  334. ${offset 600}${downspeedgraph enp5s0 20,160 DDAA00 DDAA00}
  335. ${offset 600}${color slate grey}MPD${color}
  336. ${offset 600}${color lightgrey} ${mpd_artist}
  337. ${offset 600}${color lightgrey} ${mpd_title}
  338. ${offset 600}${mpd_bar 5,160}
clone this paste RAW Paste Data