SHARE
TWEET

Untitled

a guest Jun 27th, 2019 92 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. conky.config = {
  2. -- set to yes if you want Conky to be forked in the background
  3.     background = true,
  4.  
  5.     short_units = true,
  6.  
  7.     cpu_avg_samples = 1,
  8.     net_avg_samples = 1,
  9.  
  10.     out_to_console = false,
  11.  
  12. -- X font when Xft is disabled, you can pick one with program xfontsel
  13. --font 7x12
  14. --font 6x10
  15. --font 7x13
  16.     font = '8x12',
  17. --font 7x12
  18. --font *mintsmild.se*
  19. --font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  20. --font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  21.  
  22. -- Use Xft?
  23.     use_xft = true,
  24.  
  25. -- Xft font when Xft is enabled
  26. --xftfont gentium:size=12
  27. --ftfont DejaVu Sans:size=10
  28.     font = 'DejaVu Sans:bold:size=9',
  29. --xftfont DejaVu Sans:size=9
  30.  
  31. -- Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
  32.     own_window = true,
  33.     own_window_title = 'conky',
  34.     own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  35.     own_window_argb_visual = true,
  36.     own_window_argb_value = 0,
  37.     own_window_type = 'normal',
  38.  
  39. -- Text alpha when using Xft
  40.     xftalpha = 1.0,
  41.  
  42.     on_bottom = 'yes',
  43.  
  44. -- mail spool
  45.     mail_spool = '$MAIL',
  46.  
  47. -- Update interval in seconds
  48.     update_interval = 1,
  49.  
  50. -- Use double buffering (reduces flicker, may not work for everyone)
  51.     double_buffer = true,
  52.  
  53. -- Minimum size of text area
  54.     minimum_width = 5, minimum_height = 5,
  55.     maximum_width = 180,
  56.  
  57. -- Draw shades?
  58.     draw_shades = false,
  59.  
  60. -- Draw outlines?
  61.     draw_outline = false,
  62.  
  63. -- Draw borders around text
  64.     draw_borders = false,
  65.  
  66. -- Stippled borders?
  67.     stippled_borders = 0,
  68.  
  69. -- border margins
  70. --border_margin 10
  71.  
  72. -- border width
  73.     border_width = 2,
  74.  
  75. -- Default colors and also border colors
  76.     default_color = 'white',
  77.     default_shade_color = 'white',
  78.     default_outline_color = 'white',
  79.  
  80.     color2 = '#ffffff',
  81.     color3 = '#ffffff',
  82.     color4 = 'yellow',
  83.     color8 = '#77ccff',
  84.     color9 = '#5599cc',
  85.  
  86. -- Text alignment, other possible values are commented
  87. -- alignment top_left
  88.     alignment = 'top_right',
  89. --alignment bottom_left
  90. --alignment bottom_right
  91.  
  92. -- Gap between borders of screen and text
  93.  
  94.     gap_x = 10,
  95.     gap_y = 50,
  96.  
  97. -- Add spaces to keep things from moving about?  This only affects certain objects.
  98.     use_spacer = 'right',
  99.  
  100. -- Subtract file system buffers from used memory?
  101.     no_buffers = true,
  102.  
  103. -- if_up_strictness link:  up | link | address
  104.     if_up_strictness = 'address',
  105.  
  106. -- set to yes if you want all text to be in uppercase
  107.     uppercase = false,
  108.  
  109. -- boinc (seti) dir
  110. -- seti_dir /opt/seti
  111.  
  112. -- Possible variables to be used:
  113.  
  114. --      Variable         Arguments                  Description                
  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. --  battery           (num)           Remaining capasity in ACPI or APM        
  121. --                                    battery. ACPI battery number can be      
  122. --                                    given as argument (default is BAT0).    
  123. --  buffers                           Amount of memory buffered                
  124. --  cached                            Amount of memory cached                  
  125. --  color             (color)         Change drawing color to color            
  126. --  cpu                               CPU usage in percents                    
  127. --  cpubar            (height)        Bar that shows CPU usage, height is      
  128. --                                    bar's height in pixels                  
  129. --  downspeed         net             Download speed in kilobytes              
  130. --  downspeedf        net             Download speed in kilobytes with one    
  131. --                                    decimal                                  
  132. --  exec              shell command   Executes a shell command and displays    
  133. --                                    the output in torsmo. warning: this      
  134. --                                    takes a lot more resources than other    
  135. --                                    variables. I'd recommend coding wanted  
  136. --                                    behaviour in C and posting a patch :-).  
  137. --  execi             interval, shell Same as exec but with specific interval.
  138. --                    command         Interval can't be less than              
  139. --                                    update_interval in configuration.        
  140. --  fs_bar            (height), (fs)  Bar that shows how much space is used on
  141. --                                    a file system. height is the height in  
  142. --                                    pixels. fs is any file on that file      
  143. --                                    system.                                  
  144. --  fs_free           (fs)            Free space on a file system available    
  145. --                                    for users.                              
  146. --  fs_free_perc      (fs)            Free percentage of space on a file      
  147. --                                    system available for users.              
  148. --  fs_size           (fs)            File system size                        
  149. --  fs_used           (fs)            File system used space                  
  150. --  hr                (height)        Horizontal line, height is the height in
  151. --                                    pixels                                  
  152. --  i2c               (dev), type, n  I2C sensor from sysfs (Linux 2.6). dev  
  153. --                                    may be omitted if you have only one I2C  
  154. --                                    device. type is either in (or vol)      
  155. --                                    meaning voltage, fan meaning fan or temp
  156. --                                    meaning temperature. n is number of the  
  157. --                                    sensor. See /sys/bus/i2c/devices/ on    
  158. --                                    your local computer.                    
  159. --  kernel                            Kernel version                          
  160. --  loadavg           (1), (2), (3)   System load average, 1 is for past 1    
  161. --                                    minute, 2 for past 5 minutes and 3 for  
  162. --                                    past 15 minutes.                        
  163. --  machine                           Machine, i686 for example                
  164. --  mails                             Mail count in mail spool. You can use    
  165. --                                    program like fetchmail to get mails from
  166. --                                    some server using your favourite        
  167. --                                    protocol. See also new_mails.            
  168. --  mem                               Amount of memory in use                  
  169. --  membar            (height)        Bar that shows amount of memory in use  
  170. --  memmax                            Total amount of memory                  
  171. --  memperc                           Percentage of memory in use              
  172. --  new_mails                         Unread mail count in mail spool.        
  173. --  nodename                          Hostname                                
  174. --  outlinecolor      (color)         Change outline color                    
  175. --  pre_exec          shell command   Executes a shell command one time before
  176. --                                    torsmo displays anything and puts output
  177. --                                    as text.                                
  178. --  processes                         Total processes (sleeping and running)  
  179. --  running_processes                 Running processes (not sleeping),        
  180. --                                    requires Linux 2.6                      
  181. --  shadecolor        (color)         Change shading color                    
  182. --  stippled_hr       (space),        Stippled (dashed) horizontal line        
  183. --                    (height)        
  184. --  swapbar           (height)        Bar that shows amount of swap in use    
  185. --  swap                              Amount of swap in use                    
  186. --  swapmax                           Total amount of swap                    
  187. --  swapperc                          Percentage of swap in use                
  188. --  sysname                           System name, Linux for example          
  189. --  time              (format)        Local time, see man strftime to get more
  190. --                                    information about format                
  191. --  totaldown         net             Total download, overflows at 4 GB on    
  192. --                                    Linux with 32-bit arch and there doesn't
  193. --                                    seem to be a way to know how many times  
  194. --                                    it has already done that before torsmo  
  195. --                                    has started.                            
  196. --  totalup           net             Total upload, this one too, may overflow
  197. --  updates                           Number of updates (for debugging)        
  198. --  upspeed           net             Upload speed in kilobytes                
  199. --  upspeedf          net             Upload speed in kilobytes with one      
  200. --                                    decimal                                  
  201. --  uptime                            Uptime                                  
  202. --  uptime_short                      Uptime in a shorter format              
  203.  
  204. --  seti_prog                         Seti@home current progress
  205. --  seti_progbar      (height)        Seti@home current progress bar
  206. --  seti_credit                       Seti@hoome total user credit
  207.  
  208.  
  209. --# antiX additives examples. Add below Text##
  210. --#Battery examples##
  211. --#${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}%
  212. --#${color}battery:${color} ${battery}
  213. --${color}ACPI Battery: ${color}$battery
  214. --${battery_bar 11,0}
  215. --#Wireless example##
  216. --${color}Wireless:
  217. --${color}essid: ${wireless_essid eth0}
  218. --${color}IP:${color} ${addr eth0}
  219. --${color}speed: ${color} ${wireless_bitrate eth0}
  220. --${color}link strength: ${color} ${wireless_link_bar 7,50 eth0}
  221.  
  222. -- stuff after 'TEXT' will be formatted on screen
  223.  
  224. };
  225.  
  226. conky.text = [[
  227. ${goto 1075}${font DejaVu Sans Mono:size=44}${time %H}${font DejaVu Sans Mono:size=20}${voffset -25}'${time %M}${font DejaVu Sans Mono:size=8}${voffset -12}${time %S}
  228. ${goto 1150}${voffset 10}${font :size=8}${time %A}
  229. ${goto 1150}${voffset 1}${font :size=8}${time %d %B %Y}
  230.  
  231.  
  232.  
  233. ${font sans-serif:bold:size=8}PCLinuxOS-KDE ${hr 2}
  234. ${font sans-serif:normal:size=8}$sysname $kernel $alignr on $machine
  235. Hostname $alignr $nodename
  236. Uptime $alignr $uptime
  237. CPU freq @ $alignr${freq}MHz
  238.  
  239.  
  240.  
  241. CPU:$alignr${cpu cpu0}%
  242. ${cpugraph cpu0}
  243.  
  244. CPU 1:  ${cpu cpu1}% ${cpubar cpu1}
  245. CPU 2:  ${cpu cpu2}% ${cpubar cpu2}
  246. CPU 3:  ${cpu cpu3}% ${cpubar cpu3}
  247. CPU 4:  ${cpu cpu4}% ${cpubar cpu4}
  248.  
  249.  
  250.  
  251. RAM: ${font sans-serif:normal:size=8}$alignc $mem / $memmax $alignr $memperc%
  252. $membar
  253.  
  254. Swap $alignc $swap / $swapmax $alignr $swapperc%
  255. ${swapbar}
  256.  
  257. Root $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_free_perc /}%
  258. ${fs_bar /}
  259.  
  260.  
  261.  
  262. ${font sans-serif:bold:size=8}INTERNET ${hr 2}
  263.  
  264.  
  265. ${downspeedgraph eth0}
  266. DLS:${downspeed eth0} kb/s $alignr total: ${totaldown eth0}
  267. ${upspeedgraph eth0}
  268. ULS:${upspeed eth0} kb/s $alignr total: ${totalup eth0}
  269.  
  270.  
  271. ${font sans-serif:bold:size=8}PROCESOS ${hr 2}
  272.  
  273. ${font sans-serif:normal:size=8}NAME $alignr PID    CPU
  274. ${top name 1} $alignr ${top pid 1} ${top cpu 1}
  275. ${top name 2} $alignr ${top pid 2} ${top cpu 2}
  276. ${top name 3} $alignr ${top pid 3} ${top cpu 3}
  277. ${top name 4} $alignr ${top pid 4} ${top cpu 4}
  278. ${top name 5} $alignr ${top pid 5} ${top cpu 5}
  279. ${top name 6} $alignr ${top pid 6} ${top cpu 6}
  280. ${top name 7} $alignr ${top pid 7} ${top cpu 7}
  281. ${top name 8} $alignr ${top pid 8} ${top cpu 8}
  282. ]];
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top