Advertisement
Guest User

Untitled

a guest
Jun 24th, 2017
510
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 17.35 KB | None | 0 0
  1. # conky configuration
  2. # edited by darcon@gmail.com
  3.  
  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 Bitstream Vera Sans Mono:size=8
  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 2.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 no
  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 1000 5
  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.  
  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.  
  72. # Text alignment, other possible values are commented
  73. alignment top_left
  74. #alignment top_right
  75. #alignment bottom_left
  76. #alignment bottom_right
  77.  
  78. # Gap between borders of screen and text
  79. # same thing as passing -x at command line
  80. gap_x 450
  81. gap_y 1
  82.  
  83. # Subtract file system buffers from used memory?
  84. no_buffers yes
  85.  
  86. # set to yes if you want all text to be in uppercase
  87. uppercase no
  88.  
  89. # number of cpu samples to average
  90. # set to 1 to disable averaging
  91. cpu_avg_samples 2
  92.  
  93. # number of net samples to average
  94. # set to 1 to disable averaging
  95. net_avg_samples 2
  96.  
  97. # Force UTF8? note that UTF8 support required XFT
  98. override_utf8_locale no
  99.  
  100.  
  101. # Add spaces to keep things from moving about? This only affects certain objects.
  102. use_spacer yes
  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.  
  111. # Possible variables to be used:
  112. #
  113. # Variable Arguments Description
  114.  
  115. # addr (interface) IP address for an interface
  116. # acpiacadapter ACPI ac adapter state.
  117. # acpifan ACPI fan state
  118. # acpitemp ACPI temperature.
  119. # adt746xcpu CPU temperature from therm_adt746x
  120. # adt746xfan Fan speed from therm_adt746x
  121. # alignr (num) Right-justify text, with space of N
  122. # alignc Align text to centre
  123. # battery (num) Remaining capasity in ACPI or APM
  124. # battery. ACPI battery number can be
  125. # given as argument (default is BAT0).
  126. # buffers Amount of memory buffered
  127. # cached Amount of memory cached
  128. # color (color) Change drawing color to color
  129. # cpu CPU usage in percents
  130. # cpubar (height) Bar that shows CPU usage, height is
  131. # bar's height in pixels
  132. # cpugraph (height),(width) (gradient colour 1) (gradient colour 2)
  133. # CPU usage graph, with optional colours in hex,
  134. # minus the #.
  135. # downspeed net Download speed in kilobytes
  136. # downspeedf net Download speed in kilobytes with one
  137. # decimal
  138. # downspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
  139. # Download speed graph, colours defined in
  140. # hex, minus the #.
  141. # exec shell command Executes a shell command and displays
  142. # the output in conky. warning: this
  143. # takes a lot more resources than other
  144. # variables. I'd recommend coding wanted
  145. # behaviour in C and posting a patch :-).
  146. # execbar shell command Same as exec, except if the first value
  147. # return is a value between 0-100, it
  148. # will use that number for a bar.
  149. # The size for the bar is currently fixed,
  150. # but that may change in the future.
  151. # execgraph shell command Same as execbar, but graphs values
  152. # execi interval, shell command
  153. # Same as exec but with specific interval.
  154. # Interval can't be less than
  155. # update_interval in configuration.
  156. # font font Specify a different font. Only applies
  157. # to one line.
  158. # fs_bar (height), (fs)Bar that shows how much space is used on
  159. # a file system. height is the height in
  160. # pixels. fs is any file on that file
  161. # system.
  162. # fs_free (fs) Free space on a file system available
  163. # for users.
  164. # fs_free_perc (fs) Free percentage of space on a file
  165. # system available for users.
  166. # fs_size (fs) File system size
  167. # fs_used (fs) File system used space
  168. # hr (height) Horizontal line, height is the height in
  169. # pixels
  170. # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
  171. # may be omitted if you have only one I2C
  172. # device. type is either in (or vol)
  173. # meaning voltage, fan meaning fan or
  174. # temp/tempf (first in C, second in F)
  175. # meaning temperature. n is number of the
  176. # sensor. See /sys/bus/i2c/devices/ on
  177. # your local computer.
  178. # if_running (process) if PROCESS is running, display
  179. # everything if_running and the matching $endif
  180. # if_existing (file) if FILE exists, display everything between
  181. # if_existing and the matching $endif
  182. # if_mounted (mountpoint) if MOUNTPOINT is mounted, display everything between
  183. # if_mounted and the matching $endif
  184. # else Text to show if any of the above are not true
  185. # kernel Kernel version
  186. # linkstatus (interface) Get the link status for wireless connections
  187. # loadavg (1), (2), (3) System load average, 1 is for past 1
  188. # minute, 2 for past 5 minutes and 3 for
  189. # past 15 minutes.
  190. # machine Machine, i686 for example
  191. # mails Mail count in mail spool. You can use
  192. # program like fetchmail to get mails from
  193. # some server using your favourite
  194. # protocol. See also new_mails.
  195. # mem Amount of memory in use
  196. # membar (height) Bar that shows amount of memory in use
  197. # memmax Total amount of memory
  198. # memperc Percentage of memory in use
  199. #
  200. # metar_ob_time
  201. # metar_temp
  202. # metar_tempf Temp in F
  203. # metar_windchill
  204. # metar_dew_point There are a bunch of these
  205. # metar_rh and they are self-explanatory
  206. # metar_windspeed
  207. # metar_winddir
  208. # metar_swinddir
  209. # metar_cloud
  210. # metar_u2d_time
  211. #
  212. # ml_upload_counter total session upload in mb
  213. # ml_download_counter total session download in mb
  214. # ml_nshared_files number of shared files
  215. # ml_shared_counter total session shared in mb, buggy
  216. # in some mldonkey versions
  217. # ml_tcp_upload_rate tcp upload rate in kb/s
  218. # ml_tcp_download_rate tcp download rate in kb/s
  219. # ml_udp_upload_rate udp upload rate in kb/s
  220. # ml_udp_download_rate udp download rate in kb/s
  221. # ml_ndownloaded_files number of completed files
  222. # ml_ndownloading_files number of downloading files
  223. #
  224. # mpd_artist Artist in current MPD song
  225. # (must be enabled at compile)
  226. # mpd_album Album in current MPD song
  227. # mpd_bar (height) Bar of mpd's progress
  228. # mpd_bitrate Bitrate of current song
  229. # mpd_status Playing, stopped, et cetera.
  230. # mpd_title Title of current MPD song
  231. # mpd_vol MPD's volume
  232. # mpd_elapsed Song's elapsed time
  233. # mpd_length Song's length
  234. # mpd_percent Percent of song's progress
  235. # new_mails Unread mail count in mail spool.
  236. # nodename Hostname
  237. # outlinecolor (color) Change outline color
  238. # pre_exec shell command Executes a shell command one time before
  239. # conky displays anything and puts output
  240. # as text.
  241. # processes Total processes (sleeping and running)
  242. # running_processes Running processes (not sleeping),
  243. # requires Linux 2.6
  244. # shadecolor (color) Change shading color
  245. # stippled_hr (space), Stippled (dashed) horizontal line
  246. # (height)
  247. # swapbar (height) Bar that shows amount of swap in use
  248. # swap Amount of swap in use
  249. # swapmax Total amount of swap
  250. # swapperc Percentage of swap in use
  251. # sysname System name, Linux for example
  252. # offset pixels Move text over by N pixels
  253. # tail logfile, lines (interval)
  254. # Displays last N lines of supplied text
  255. # text file. If interval is not supplied,
  256. # Conky assumes 2x Conky's interval.
  257. # Max of 30 lines.
  258. # Max of 30 lines can be displayed.
  259. # time (format) Local time, see man strftime to get more
  260. # information about format
  261. # totaldown net Total download, overflows at 4 GB on
  262. # Linux with 32-bit arch and there doesn't
  263. # seem to be a way to know how many times
  264. # it has already done that before conky
  265. # has started.
  266. # top type, num This takes arguments in the form:
  267. # top <name> <number>
  268. # Basically, processes are ranked from
  269. # highest to lowest in terms of cpu
  270. # usage, which is what <num> represents.
  271. # The types are: "name", "pid", "cpu", and
  272. # "mem".
  273. # There can be a max of 10 processes listed.
  274. # top_mem type, num Same as top, except sorted by mem usage
  275. # instead of cpu
  276. # totalup net Total upload, this one too, may overflow
  277. # updates Number of updates (for debugging)
  278. # upspeed net Upload speed in kilobytes
  279. # upspeedf net Upload speed in kilobytes with one
  280. # decimal
  281. # upspeedgraph net (height),(width) (gradient colour 1) (gradient colour 2)
  282. # Upload speed graph, colours defined in
  283. # hex, minus the #.
  284. # uptime Uptime
  285. # uptime_short Uptime in a shorter format
  286. #
  287. # seti_prog Seti@home current progress
  288. # seti_progbar (height) Seti@home current progress bar
  289. # seti_credit Seti@hoome total user credit
  290.  
  291.  
  292. # variable is given either in format $variable or in ${variable}. Latter
  293. # allows characters right after the variable and must be used in network
  294. # stuff because of an argument
  295.  
  296. # stuff after 'TEXT' will be formatted on screen
  297.  
  298. TEXT
  299.  
  300.  
  301.  
  302. ${offset 240}${color slate grey}${time %a, } ${color }${time %e %B %G}
  303. ${offset 240}${color slate grey}${time %Z, }${color }${time %H:%M:%S}
  304. ${offset 240}${color slate grey}UpTime: ${color }$uptime
  305. ${offset 240}${color slate grey}Kern:${color }$kernel
  306. ${offset 240}${color slate grey}CPU:${color } $cpu% ${acpitemp}C
  307. ${offset 240}${cpugraph 20,130 000000 ffffff}
  308. ${offset 240}${color slate grey}Load: ${color }$loadavg
  309. ${offset 240}${color slate grey}Processes: ${color }$processes
  310. ${offset 240}${color slate grey}Running: ${color }$running_processes
  311.  
  312. ${offset 240}${color slate grey}Highest CPU:
  313. ${offset 240}${color #ddaa00} ${top name 1}${top_mem cpu 1}
  314. ${offset 240}${color lightgrey} ${top name 2}${top cpu 2}
  315. ${offset 240}${color lightgrey} ${top name 3}${top cpu 3}
  316. ${offset 240}${color lightgrey} ${top name 4}${top cpu 4}
  317.  
  318. ${offset 240}${color slate grey}Highest MEM:
  319. ${offset 240}${color #ddaa00} ${top_mem name 1}${top_mem mem 1}
  320. ${offset 240}${color lightgrey} ${top_mem name 2}${top_mem mem 2}
  321. ${offset 240}${color lightgrey} ${top_mem name 3}${top_mem mem 3}
  322. ${offset 240}${color lightgrey} ${top_mem name 4}${top_mem mem 4}
  323.  
  324. ${offset 240}${color slate grey}MEM: ${color } $memperc% $mem/$memmax
  325. ${offset 240}${membar 3,100}
  326. ${offset 240}${color slate grey}SWAP: ${color }$swapperc% $swap/$swapmax
  327. ${offset 240}${swapbar 3,100}
  328.  
  329. ${offset 240}${color slate grey}ROOT: ${color }${fs_free /}/${fs_size /}
  330. ${offset 240}${fs_bar 3,100 /}
  331. ${offset 240}${color slate grey}HOME: ${color }${fs_free /home}/${fs_size /home}
  332. ${offset 240}${fs_bar 3,100 /home}
  333. ${offset 240}${color slate grey}SLACK: ${color }${fs_free /mnt/slack}/${fs_size /mnt/slack}
  334. ${offset 240}${fs_bar 3,100 /mnt/slack}
  335. ${offset 240}${color slate grey}NET:
  336. ${offset 240}${color}Up: ${color }${upspeed eth0} k/s
  337. ${offset 240}${upspeedgraph eth0 20,130 000000 ffffff}
  338. ${offset 240}${color}Down: ${color }${downspeed eth0}k/s${color}
  339. ${offset 240}${downspeedgraph eth0 20,130 000000 ffffff}
  340. ${color slate grey}/var/log/messages:
  341. ${color}${exec tail -n20 /var/log/messages}
  342. ${execbar expr 100 \* $(expr $(nvidia-settings -q XVideoTextureBrightness -t) + 1000) \/ 2000}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement