Advertisement
Guest User

Untitled

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