Advertisement
zebedeeboss

Untitled

Mar 2nd, 2018
342
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.19 KB | None | 0 0
  1. # CONKY (SOLAR-BURN)
  2. # A comprehensive conky script, configured for use on
  3. # any distribution without the need for any external scripts.
  4. #
  5. # Based on conky-jc and the default .conkyrc.
  6. # INCLUDES:
  7. # - tail of /var/log/messages
  8. # - netstat connections to your computer
  9. #
  10. # -- Pengo (conky@pengo.us)
  11. #
  12. # -- personalized by David Dupoise (ddupoise@gmail.com)
  13.  
  14. ### CONKY SETTINGS ###
  15.  
  16. ## Primary Global Settings ##
  17.  
  18. #cpu_avg_samples 10
  19. #diskio_avg_samples 10
  20. #net_avg_samples 1
  21.  
  22. #ximerama_head = 3 no solution
  23. #display DVI1 no solution
  24.  
  25. # Create own window instead of using desktop (required in nautilus)
  26. own_window yes
  27. own_window_type NORMAL # options are - override/NORMAL/desktop/panel/dock
  28. own_window_class conky
  29. own_window_colour 000000
  30. own_window_transparent yes
  31. #own_window_hints below
  32.  
  33. own_window_argb_visual yes
  34. #own_window_argb_value 180 # transparency value
  35. own_window_hints below,undecorated,skip_taskbar,skip_pager
  36.  
  37. double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
  38.  
  39. no_buffers yes # Subtract (file system) buffers from used memory
  40.  
  41. #use_spacer right # fiddle with window
  42.  
  43. update_interval 1 # Update interval in seconds
  44.  
  45. maximum_width 420 # Maximum Width of Window
  46.  
  47. # minimum_size 250 5 # Minimum size of text area
  48.  
  49. draw_shades no # Draw shades?
  50.  
  51. ####------------Text Related Variables-----------#####
  52.  
  53. ### ---------------- Fonts -------------- ###
  54. use_xft yes # Uses extended fonts (higher precision fonts)
  55. draw_outline no # amplifies text if yes
  56. draw_borders no
  57. draw_graph_borders no
  58. # font "Ubuntu":size=8
  59. # font "Ubuntu":bold:size=9 # bold option
  60. xftalpha 0.1
  61. #xftfont DejaVu Sans:size=7
  62. xftfont Archivo Narrow:Regular:size=9
  63.  
  64. uppercase no # set to yes if you want all text to be in uppercase
  65. stippled_borders 0 # Stippled borders?
  66. border_width 0 # border width
  67. default_bar_size 200 8 # Used for execi
  68.  
  69. ### ====================================== Colors ========================================= ###
  70.  
  71.  
  72. # -------------------------------------- Blue Palette ---------------------------------------#
  73.  
  74. ## -- Default palette for dark background -- ##
  75.  
  76. default_color DDDDDD
  77. color1 2079df # base color Doger blue
  78. color2 df8620 # compliment Yellow sea
  79. color3 Red # Red
  80. color4 8620df # analogous Blue violet
  81. color5 FFCC00 # compliment Yellow Sun
  82. ## -- Default palette for light background -- ##
  83.  
  84. #default_color e5e5e5
  85. #color1
  86.  
  87.  
  88. # -------------------------------------- Green Palette ---------------------------------------#
  89.  
  90.  
  91.  
  92.  
  93.  
  94. # Text alignment, other possible values are commented
  95. #alignment top_left
  96. alignment top_right
  97. #alignment bottom_left
  98. #alignment bottom_right
  99.  
  100. # Gap between borders of screen and text
  101. gap_x 40
  102. gap_y 60
  103.  
  104. #lua_load ~/scripts/conky_bg
  105. #lua_draw_hook_pre conky_bg
  106.  
  107. # stuff after "TEXT" will be formatted on screen
  108.  
  109. # meter text |0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00
  110. #
  111. #
  112. #
  113. #
  114. #
  115. #
  116. #
  117. ################################################
  118. own_window_argb_value 0
  119. minimum_size 0 0
  120. TEXT
  121. # Linux Logo
  122. ${font Noto Sans:Bold:size=24}Archmerge${font Noto Sans:Bold:size=10}
  123.  
  124.  
  125. ${voffset -9}${color1}${font Open Sans:Bold:size=10}[DATE] ${hr 4}$color$font
  126. $color3${font DejaVu Sans:size=12}${voffset +3}${time %A %d %B %Y}
  127. $color${font Cantarell:size=20}${voffset +1}${time %H:}${time %M:}${time %S}
  128. ### SYS ###
  129. ${voffset -8}${color dodgerblue3}${font Noto Sans:Bold:size=10}${color dodgerblue3}[SYSTEM] ${hr 4}$color${font}
  130. ${color FFDDDD}${execi 60000 env | grep '^DESKTOP_SESSION' | cut -d'=' -f2-} 64-bit$alignr${color FFDDDD}Kernel: $kernel
  131. Archmerge
  132. #${execi 1000 cat /proc/cpuinfo | grep 'model name' | sed -e 's/model name.*: //'| uniq}
  133. System Uptime: ${color3}${uptime}$color0
  134.  
  135. ### CPU ###
  136. ${voffset -4}${color1}${font Noto Sans:Bold:size=10}[CPU] ${hr 4}$color$font
  137. # Conky cputype - fill in your own string here
  138. ${color FFDDDD}${color}
  139. #system
  140. ${cpugraph 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu0 8,138}${color}
  141. ${color1}${voffset -35}System: ${color grey}$cpu%${color #5b6dad}
  142. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  143. #cpu 1
  144. ${cpugraph cpu1 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu1 8,138}${color}
  145. ${color1}${voffset -35}CPU 1: ${color grey}${cpu cpu1}%
  146. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  147. ###${font}Core 1 - ${execi 2 sensors | grep 'Core 1' | cut -c18-19}°C
  148. #cpu 2
  149. ${cpugraph cpu2 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu2 8,138}${color}
  150. ${color1}${voffset -35}CPU 2: ${color grey}${cpu cpu2}%
  151. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  152. #cpu 3
  153. ${cpugraph cpu3 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu3 8,138}${color}
  154. ${color1}${voffset -35}CPU 3: ${color grey}${cpu cpu3}%
  155. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  156. #cpu 4
  157. ${cpugraph cpu4 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu4 8,138}${color}
  158. ${color1}${voffset -35}CPU 4: ${color grey}${cpu cpu4}%
  159. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  160. #cpu 5
  161. ${cpugraph cpu5 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu5 8,138}${color}
  162. ${color1}${voffset -35}CPU 5: ${color grey}${cpu cpu5}%
  163. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  164. #cpu 6
  165. ${cpugraph cpu6 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu6 8,138}${color}
  166. ${color1}${voffset -35}CPU 6: ${color grey}${cpu cpu6}%
  167. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  168. #cpu 7
  169. ${cpugraph cpu7 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu7 8,138}${color}
  170. ${color1}${voffset -35}CPU 7: ${color grey}${cpu cpu7}%
  171. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}
  172. #cpu 8
  173. ${cpugraph cpu8 20,150 000000 77d3f4}${offset 15}${color1}${cpubar cpu8 8,138}${color}
  174. ${color1}${voffset -35}CPU 8: ${color grey}${cpu cpu8}%
  175. $alignr$color0${font Open Sans:size=5}${offset 5}${voffset -5}|0 ' ' ' ' 2|5 ' ' ' ' 5|0 ' ' ' 7|5 ' ' ' 1|00${font}${color}
  176. #
  177.  
  178. #
  179. ## Processes ##
  180. PROCESS NAME${color 77d3f4}$alignc${offset 36}CPU%$color$alignc${offset 35}MEM%$alignr${offset -1}PID
  181. ${color #b4ebff}${top name 1}$alignc${offset 42}${top cpu 1}$alignc${offset 32}${top mem 1}$alignr${offset 0}${top pid 1}
  182. ${color #77d3f4}${top name 2}$alignc${offset 42}${top cpu 2}$alignc${offset 32}${top mem 2}$alignr${offset 0}${top pid 2}
  183. ${color #33b5e5}${top name 3}$alignc${offset 42}${top cpu 3}$alignc${offset 32}${top mem 3}$alignr${offset 0}${top pid 3}
  184. ${color #0099cc}${top name 4}$alignc${offset 42}${top cpu 4}$alignc${offset 32}${top mem 4}$alignr${offset 0}${top pid 4}
  185. ${color #0099cc}${top name 5}$alignc${offset 42}${top cpu 5}$alignc${offset 32}${top mem 5}$alignr${offset 0}${top pid 5}
  186.  
  187.  
  188. ${voffset -4}${color dodgerblue3}${font Open Sans:Bold:size=10}[ MEMORY ] ${hr 4}$color$font
  189. #${color FF7811}[ MEMORY ] ${voffset 2}${hr 2}${voffset 0}$color
  190. RAM: ${color DAC0DE}${mem} / ${memmax} ($memperc%) ${color 77d3f4}$alignr${membar 10,100}$color${color 77d3f4}
  191. #${memgraph 000000 75507B}$color
  192. Swap Used: ${color DAC0DE}${swap} / ${swapmax} (${swapperc}) $alignr${color 77d3f4}${swapbar 10,100}$color
  193. #
  194.  
  195. ${font Archivo Narrow:Regular:size=9}PROCESS NAME${color ffffff}$alignc${offset 36}CPU%${color 77d3f4}$alignc${offset 35}MEM%$color$alignr${offset -1}PID
  196. ${color #b4ebff}${top_mem name 1}$alignc${offset 42}${top_mem cpu 1}$alignc${offset 32}${top_mem mem 1}$alignr${top_mem pid 1}
  197. ${color #77d3f4}${top_mem name 2}$alignc${offset 42}${top_mem cpu 2}$alignc${offset 32}${top_mem mem 2}$alignr${top_mem pid 2}
  198. ${color #33b5e5}${top_mem name 3}$alignc${offset 42}${top_mem cpu 3}$alignc${offset 32}${top_mem mem 3}$alignr${top_mem pid 3}
  199. ${color #0099cc}${top_mem name 4}$alignc${offset 42}${top_mem cpu 4}$alignc${offset 32}${top_mem mem 4}$alignr${top_mem pid 4}
  200. ${color #0099cc}${top_mem name 5}$alignc${offset 42}${top_mem cpu 5}$alignc${offset 32}${top_mem mem 5}$alignr${top_mem pid 5}
  201. ##
  202. #${voffset -4}${color dodgerblue3}${font Open Sans:Bold:size=10}[ GPU ] ${hr 4}$color$font
  203. ######### GPU ###############
  204. #${color FFDDDD}ATI AMD Radeon HD 5450 Series$color
  205. #
  206. #${color FFCC00}GPU:${color FF7811}${execi 60 aticonfig --od-getclocks | awk '/load/ {print $4}' | sed 's/%//'}%${alignr}${execibar 60 aticonfig --od-getclocks | awk '/load/ {print $4}'| sed 's/%//'}
  207. #
  208. #${color FFCC00}Core Clock: ${color 73D216}${offset 9}${execi 60 aticonfig --odgc | grep 'Current Clocks :' | cut -c32-34}$color/650 MHz ${offset 40}${color FFCC00}TEMP: ${offset 9}${color2}${execi 1 aticonfig --adapter=0 --od-gettemperature | tail -n1 | gawk '{ printf $5 }'}°C$color
  209. #${color FFCC00}Mem Clock: ${color 73D216}${offset 9}${execi 60 aticonfig --odgc | grep 'Current Clocks :' | cut -c46-48}$color/800 MHz ${offset 40}${color FFCC00} FAN: ${offset 9}${color2}${execi 1 aticonfig --pplib-cmd "get fanspeed 0" | grep "Result" | awk '{print $4}' | cut -c1-3}$color
  210. ######## END GPU ADDITION ########
  211. #
  212.  
  213. ### DISK PARTITIONS ###
  214. ${voffset -4}${color1}${font Open Sans:Bold:size=10}[ DISK ] ${hr 4}$color$font
  215. ${color FFCC00}/root $alignr(${fs_type /}): ${color FF7000}${fs_free /} Free (${fs_free_perc /}%) ${fs_bar 10,60 /}$color
  216. ${color FFCC00}/home $alignr(${fs_type /home}): ${color FF7000}${fs_free /home} Free (${fs_free_perc /home}%) ${fs_bar 10,60 /home}$color
  217. # ...................... 455 GB Volume portion of 1000 GB /dev/sdb2 ...............#
  218. ${color FFCC00}/dev/sdb2 $alignr(${fs_type /run/media/dave/0003d7f6-9c30-482e-a742-cbfe60eb8952}): ${color FF7000}${fs_free /run/media/dave/0003d7f6-9c30-482e-a742-cbfe60eb8952} Free (${fs_free_perc /run/media/dave/0003d7f6-9c30-482e-a742-cbfe60eb8952}%) ${fs_bar 10,60 /run/media/dave/0003d7f6-9c30-482e-a742-cbfe60eb8952}$color
  219. # ...................... 457 GB Volume portion of 1000 GB /dev/sdb3 ...............#
  220. ${color FFCC00}/dev/sdb3 $alignr(${fs_type /run/media/dave/f0b1fef5-9550-4779-b078-dbc5238fa4aa}): ${color FF7000}${fs_free /run/media/dave/f0b1fef5-9550-4779-b078-dbc5238fa4aa} Free (${fs_free_perc /run/media/dave/f0b1fef5-9550-4779-b078-dbc5238fa4aa}%) ${fs_bar 10,60 /run/media/dave/f0b1fef5-9550-4779-b078-dbc5238fa4aa}$color
  221. #${color FFCC00}/swap $alignr(${fs_type /vms}): ${color FF7000}${fs_free /vms} Free (${fs_free_perc /vms}%) ${fs_bar 10,60 /vms}$color
  222.  
  223. ### ETHERNET ###
  224. ${voffset -4}${color1}${font Open Sans:Bold:size=10}[ ETHERNET ] ( ${color b4ebff}${addr enp0s31f6}${color dodgerblue3} ) ${hr 4}$color$font
  225. Down: ${color3}${downspeed enp0s31f6}/s$color ${alignr}Up: ${color3}${upspeed enp0s31f6}/s$color
  226. ${downspeedgraph enp0s31f6 25,140 000000 77d3f4} ${alignr}${upspeedgraph enp0s31f6 25,140 000000 0099cc}$color
  227. Total: ${color3}${totaldown enp0s31f6}$color ${alignr}Total: ${color3}${totalup enp0s31f6}$color
  228. #${color FF7811}[ WIRELESS ] (${color b4ebff}${addr wlan0}${color FF7811}) ${voffset 2}${hr 2}${voffset 0}$color
  229. #SSID: ${color 77d3f4}${wireless_essid enp0s31f6}$color$alignr Strength: ${color 77d3f4}${wireless_link_bar 10,60 wlan0}$color
  230. #Bitrate: ${color 77d3f4}${wireless_bitrate enp0s31f6}$color$alignr Quality: ${color 77d3f4}${wireless_link_qual enp0s31f6}$color
  231. #Down: ${color 77d3f4}${downspeed enp0s31f6}/s$color ${alignr}Up: ${color 0099cc}${upspeed enp0s31f6}/s$color
  232. #${downspeedgraph enp0s31f6 25,140 000000 77d3f4} ${alignr}${upspeedgraph enp0s31f6 25,140 000000 990000}$color
  233. #Total: ${color 77d3f4}${totaldown enp0s31f6}$color ${alignr}Total: ${color 0099cc}${totalup enp0s31f6}$color
  234. #
  235. #
  236. #
  237. #
  238. #
  239. #-- background & images --
  240. #${image ~/.conky/background/Black_Metal.jpg -p -300,-100 -s 650x900}
  241. #${image ~/.conky/background/Black_Metal.jpg -p -380,800 -s 700x1000}
  242. ${image ~/.conky/background/arch-logo-shiny-dark_sm_crop.png -p 10,-20 -s 290x122}
  243. #${image ~/.conky/background/linux_mint_kde.png -p 10,0 -s 290x122}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement