Advertisement
mrneilypops

antiX-conkyrc-11-11-18

Nov 11th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.06 KB | None | 0 0
  1. # Standard antiX .conkyrc file
  2. #
  3. # Note: delete the line above to disable automatic scaling with DPI
  4. # on the live system.
  5.  
  6. # set to yes if you want Conky to be forked in the background
  7. background yes
  8.  
  9. short_units yes
  10.  
  11. cpu_avg_samples 1
  12. net_avg_samples 1
  13.  
  14. out_to_console no
  15.  
  16. # X font when Xft is disabled, you can pick one with program xfontsel
  17. #font 7x12
  18. #font 6x10
  19. #font 7x13
  20. font 8x12
  21. #font 7x12
  22. #font *mintsmild.se*
  23. #font -*-*-*-*-*-*-34-*-*-*-*-*-*-*
  24. #font -artwiz-snap-normal-r-normal-*-*-100-*-*-p-*-iso8859-1
  25.  
  26. # Use Xft?
  27. use_xft yes
  28.  
  29. # Xft font when Xft is enabled
  30. #xftfont gentium:size=12
  31. #ftfont DejaVu Sans:size=10
  32. xftfont ohsnap:size=8
  33. #xftfont DejaVu Sans:size=9
  34.  
  35. # Create own window instead of using desktop (required in nautilus, pcmanfm and rox desktops)
  36. own_window yes
  37. own_window_transparent yes
  38. own_window_hints undecorated,sticky,skip_taskbar
  39.  
  40. # Text alpha when using Xft
  41. xftalpha 1.0
  42.  
  43. #on_bottom no
  44.  
  45. # mail spool
  46. mail_spool $MAIL
  47.  
  48. # Update interval in seconds
  49. update_interval 1
  50.  
  51. # Use double buffering (reduces flicker, may not work for everyone)
  52. double_buffer yes
  53.  
  54. # Minimum size of text area
  55. minimum_size 5 5
  56. maximum_width 160
  57.  
  58. # Draw shades?
  59. draw_shades no
  60.  
  61. # Draw outlines?
  62. draw_outline no
  63.  
  64. # Draw borders around text
  65. draw_borders no
  66.  
  67. # Stippled borders?
  68. stippled_borders 0
  69.  
  70. # border margins
  71. #border_margin 10
  72.  
  73. # border width
  74. border_width 2
  75.  
  76. # Default colors and also border colors
  77. default_color white
  78. default_shade_color white
  79. default_outline_color white
  80.  
  81. color1 767B87
  82. color2 ffffff
  83. color3 ffffff
  84. color4 yellow
  85. color8 77ccff
  86. color9 5599cc
  87.  
  88. # Text alignment, other possible values are commented
  89. # alignment top_left
  90. alignment top_right
  91. #alignment bottom_left
  92. #alignment bottom_right
  93.  
  94. # Gap between borders of screen and text
  95.  
  96. gap_x 10
  97. gap_y 10
  98.  
  99. # Add spaces to keep things from moving about? This only affects certain objects.
  100. use_spacer right
  101.  
  102. # Subtract file system buffers from used memory?
  103. no_buffers yes
  104.  
  105. # if_up_strictness link: up | link | address
  106. if_up_strictness address
  107.  
  108. # set to yes if you want all text to be in uppercase
  109. uppercase no
  110.  
  111. # boinc (seti) dir
  112. # seti_dir /opt/seti
  113.  
  114. # Possible variables to be used:
  115. #
  116. # Variable Arguments Description
  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. # 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. # downspeed net Download speed in kilobytes
  132. # downspeedf net Download speed in kilobytes with one
  133. # decimal
  134. # exec shell command Executes a shell command and displays
  135. # the output in torsmo. warning: this
  136. # takes a lot more resources than other
  137. # variables. I'd recommend coding wanted
  138. # behaviour in C and posting a patch :-).
  139. # execi interval, shell Same as exec but with specific interval.
  140. # command Interval can't be less than
  141. # update_interval in configuration.
  142. # fs_bar (height), (fs) Bar that shows how much space is used on
  143. # a file system. height is the height in
  144. # pixels. fs is any file on that file
  145. # system.
  146. # fs_free (fs) Free space on a file system available
  147. # for users.
  148. # fs_free_perc (fs) Free percentage of space on a file
  149. # system available for users.
  150. # fs_size (fs) File system size
  151. # fs_used (fs) File system used space
  152. # hr (height) Horizontal line, height is the height in
  153. # pixels
  154. # i2c (dev), type, n I2C sensor from sysfs (Linux 2.6). dev
  155. # may be omitted if you have only one I2C
  156. # device. type is either in (or vol)
  157. # meaning voltage, fan meaning fan or temp
  158. # meaning temperature. n is number of the
  159. # sensor. See /sys/bus/i2c/devices/ on
  160. # your local computer.
  161. # kernel Kernel version
  162. # loadavg (1), (2), (3) System load average, 1 is for past 1
  163. # minute, 2 for past 5 minutes and 3 for
  164. # past 15 minutes.
  165. # machine Machine, i686 for example
  166. # mails Mail count in mail spool. You can use
  167. # program like fetchmail to get mails from
  168. # some server using your favourite
  169. # protocol. See also new_mails.
  170. # mem Amount of memory in use
  171. # membar (height) Bar that shows amount of memory in use
  172. # memmax Total amount of memory
  173. # memperc Percentage of memory in use
  174. # new_mails Unread mail count in mail spool.
  175. # nodename Hostname
  176. # outlinecolor (color) Change outline color
  177. # pre_exec shell command Executes a shell command one time before
  178. # torsmo displays anything and puts output
  179. # as text.
  180. # processes Total processes (sleeping and running)
  181. # running_processes Running processes (not sleeping),
  182. # requires Linux 2.6
  183. # shadecolor (color) Change shading color
  184. # stippled_hr (space), Stippled (dashed) horizontal line
  185. # (height)
  186. # swapbar (height) Bar that shows amount of swap in use
  187. # swap Amount of swap in use
  188. # swapmax Total amount of swap
  189. # swapperc Percentage of swap in use
  190. # sysname System name, Linux for example
  191. # time (format) Local time, see man strftime to get more
  192. # information about format
  193. # totaldown net Total download, overflows at 4 GB on
  194. # Linux with 32-bit arch and there doesn't
  195. # seem to be a way to know how many times
  196. # it has already done that before torsmo
  197. # has started.
  198. # totalup net Total upload, this one too, may overflow
  199. # updates Number of updates (for debugging)
  200. # upspeed net Upload speed in kilobytes
  201. # upspeedf net Upload speed in kilobytes with one
  202. # decimal
  203. # uptime Uptime
  204. # uptime_short Uptime in a shorter format
  205. #
  206. # seti_prog Seti@home current progress
  207. # seti_progbar (height) Seti@home current progress bar
  208. # seti_credit Seti@hoome total user credit
  209.  
  210.  
  211. ## antiX additives examples. Add below Text##
  212. ##Battery examples##
  213. ##${color}battery: ${color}$acpiacadapter, ${battery_percent BAT1}%
  214. ##${color}battery:${color} ${battery}
  215. #${color}ACPI Battery: ${color}$battery
  216. #${battery_bar 11,0}
  217. ##Wireless example##
  218. #${color}Wireless:
  219. #${color}essid: ${wireless_essid wlan0}
  220. #${color}IP:${color} ${addr wlan0}
  221. #${color}speed: ${color} ${wireless_bitrate wlan0}
  222. #${color}link strength: ${color} ${wireless_link_bar 7,50 wlan0}
  223.  
  224. # stuff after 'TEXT' will be formatted on screen
  225.  
  226. TEXT
  227. ${color1}${alignc}antiX
  228. ${color8}$alignc${font ohsnap:size=16}${time %H:%M} $font
  229. ${color1}${alignc}${time %a %d %b}
  230. ${color1}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
  231. ${color1}${alignc}Uptime: $uptime
  232. #${color}${alignc}${exec disp=${DISPLAY#:}; disp=${disp%.[0-9]}; cat $HOME/.desktop-session/desktop-code.$disp 2>/dev/null}
  233. ${color1}${alignc}${kernel}
  234. ${color1}res:${alignr}${color1}${execi 60 xdpyinfo | sed -n -r "s/^\s*dimensions:.*\s([0-9]+x[0-9]+).*/\1/p"}
  235. ${color1}dpi:${alignr}${color1}${execi 60 sed -nr "s/^\s*Xft.dpi:\s*([0-9]+(x[0-9]+)?).*/\1/p" $HOME/.Xresources | grep "[0-9]" || echo 96}
  236. ${color1}Automount: ${alignr}${color1}${execi 60 grep -q "^automount=TRUE" $HOME/.desktop-session/automount.conf 2>/dev/null && echo "enabled" || echo "disabled"}
  237. ${color1}CPU:${alignr}${color1}${cpu}%${color}
  238. ${color1}Freq:${color1}${alignr}${freq}
  239. ${color1}$alignr${cpugraph cpu0 20,160 5599cc 5599cc}
  240. ${color1}Disk:${alignr}${color1}${diskio}
  241. ${color1}${alignr}${diskiograph 20,160 5599cc 5599cc}${if_up eth0}
  242. ${color1}eth0 up: $alignr${color1} ${upspeed eth0}
  243. ${color1}$alignr${upspeedgraph eth0 20,160 5599cc 5599cc}
  244. ${color1}eth0 down: $alignr${color1} ${downspeed eth0}
  245. ${color1}$alignr${downspeedgraph eth0 20,160 5599cc 5599cc}${endif}${if_up eth1}
  246. ${color}eth1 up: $alignr${color1} ${upspeed eth1}
  247. ${color}$alignr${upspeedgraph eth1 30,170 5599cc 5599cc}
  248. ${color}eth1 down: $alignr${color1} ${downspeed eth1}
  249. ${color2}$alignr${downspeedgraph eth1 30,170 5599cc 5599cc}${endif}${if_up wlan0}
  250. ${color}wlan0 up: $alignr${color3} ${upspeed wlan0}
  251. ${color2}$alignr${upspeedgraph wlan0 30,170 5599cc 5599cc}
  252. ${color}wlan0 down: $alignr${color3} ${downspeed wlan0}
  253. ${color2}$alignr${downspeedgraph wlan0 30,170 5599cc 5599cc}${endif}${if_up wlan1}
  254. ${color}wlan1 up: $alignr${color3} ${upspeed wlan1}
  255. ${color2}$alignr${upspeedgraph wlan1 30,170 5599cc 5599cc}
  256. ${color}wlan1 down: $alignr${color3} ${downspeed wlan1}
  257. ${color2}$alignr${downspeedgraph wlan1 30,170 5599cc 5599cc}${endif}
  258. ${color1}${alignr}${color1}Used / Total
  259. ${color1}RAM:${alignr}$mem ${color1} /${color1} $memmax
  260. #${color1}Swap:${alignr}$swap ${color1} /${color1} $swapmax
  261. ${color1}/ Disk:${alignr}${fs_used /} ${color1} /${color1} ${fs_size /}
  262. ${color3}${alignc}${execi 1000 persist-enabled}
  263. #${execi 1000 acpi 2>/dev/null | grep -q . && echo "Batt: "}${execi 10 acpi -b 2>/dev/null | cut -d" " -f3,4 | sed 's/,$//'}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement