Advertisement
sanchomuzax

4core gray [conky]

Jun 9th, 2014
583
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.54 KB | None | 0 0
  1. # Conky Config, Requires Additional Scripts.
  2. # Mashed by Nathan Salapat
  3. # Last updated 04-25-2012
  4. # Copied by Sancho 2014
  5.  
  6. # Window Stuff
  7. own_window yes # Create own window instead of using desktop (required in nautilus)
  8. own_window_hints undecorated,below,skip_taskbar
  9. background no
  10. double_buffer yes # Use double buffering (reduces flicker, may not work for everyone)
  11. use_spacer none
  12. use_xft yes
  13. stippled_borders no # Stippled borders?
  14. own_window_colour 000000
  15. own_window_transparent yes
  16. minimum_size 0 1000
  17. maximum_width 150
  18. draw_borders no # Do you want a border showing around the Conky windows area, handy for figuring out where the extents of your Conky are.
  19.  
  20. # Text Stuff
  21. draw_outline no # amplifies text if yes
  22. uppercase no # set to yes if you want all text to be in uppercase
  23. draw_shades no # Do you want the text to have a shadow?
  24. # Text alignment, other possible values are commented
  25. #alignment top_left
  26. alignment top_right
  27. #alignment bottom_left
  28. #alignment bottom_right
  29. # XTF stuff.
  30. override_utf8_locale yes
  31. xftfont Terminus:size=8
  32. xftalpha 0.8
  33. # Gap between borders of screen and text
  34. gap_x 15
  35. gap_y 200
  36. # Default font size, type, and weight.
  37. font Ubuntu:size=7,weight:normal
  38.  
  39. # Defaults
  40. default_color gray
  41. default_shade_color black
  42. default_outline_color gray
  43. temperature_unit celsius # fahrenheit, or Can be changed to celsius
  44.  
  45. # Colors You can change these values, and through the conky the colors will be changed. Standard HEX values are. White: ffffff, Black: 000000, Red: ff0000, Green: 00ff00, Blue: 0000ff, Yellow: ffff00. You can find others with an image editor, or online.
  46. color1 666666 # Titles, the main headings
  47. color2 cccccc # First listings in CPU, RAM, and Day of Week.
  48. color3 cccccc # Second listings in CPU, RAM, and Month.
  49. color4 cccccc # Third listings in CPU, RAM, and Year
  50. color5 666666 # Color of the Graph outlines.
  51. color6 cccccc # Color of text for HDD usage, and running processes
  52. color7 EA5C2E # The orange from the graphs, not used for graphs, you have to edit the lua file to change that.
  53.  
  54. # How often should Conky update, in seconds?
  55. update_interval 3
  56.  
  57. # Load the scripts.
  58. lua_load ~/.conky/conky_orange.lua
  59. lua_draw_hook_post main
  60.  
  61. # stuff after 'TEXT' will be formatted on screen
  62.  
  63. own_window_argb_visual no
  64. own_window_argb_value 0
  65. TEXT
  66. #Clock
  67. ${voffset 35}
  68. ${goto 75}${color2}${font ubuntu:size=16}${time %e}
  69. ${goto 65}${color2}${voffset -10}${font ubuntu:size=8}${time %A}
  70. ${goto 60}${color1}${voffset -2}${font ubuntu:size=6}${time %b}${voffset -2} ${color1}${font ubuntu:size=12}${time %Y}${font}
  71.  
  72. #CPU
  73. ${voffset 72}
  74. ${goto 55}${font Ubuntu:size=7,weight:bold}${color7}CPU ${alignr}${cpu cpu0} %
  75. ${goto 55}${font}${color2}${top name 1}${alignr}${top cpu 1}%
  76. ${goto 55}${font}${color3}${top name 2}${alignr}${top cpu 2}%
  77. ${goto 55}${font}${color4}${top name 3}${alignr}${top cpu 3}%
  78. ${goto 15}${color1}${cpugraph 25,135 color1}
  79. ${goto 55}${voffset -5}${font}${color6}${threads} process
  80.  
  81. #RAM
  82. ${voffset 5}${font Ubuntu:size=8,weight:bold}${color1}MEMORY & STORAGE ${hr 2}
  83. ${goto 55}${font Ubuntu:size=7,weight:bold}${color7}RAM ${alignr}${memperc} %
  84. ${goto 55}${font}${color2}${top_mem name 1}${alignr}${top_mem mem 1}%
  85. ${goto 55}${font}${color2}${top_mem name 2}${alignr}${top_mem mem 2}%
  86. ${goto 55}${font}${color2}${top_mem name 3}${alignr}${top_mem mem 3}%
  87. ${goto 55}${font}${color1}${top_mem name 4}${alignr}${top_mem mem 4}%
  88. ${goto 55}${font}${color1}${top_mem name 5}${alignr}${top_mem mem 5}%
  89. ${goto 55}${font}${color1}${top_mem name 6}${alignr}${top_mem mem 6}%
  90. ${goto 55}${font}${color1}${top_mem name 7}${alignr}${top_mem mem 7}%
  91. ${offset 1}
  92. #Disks
  93. ${goto 55}${font Ubuntu:size=7,weight:bold}${color7}HDD${font}${color7}${alignr}${fs_size /}
  94. ${goto 55}${font}${color1}Used${alignr}${fs_used /}
  95. ${goto 55}${font}${color2}Free${alignr}${fs_free /}
  96. ${offset 1}
  97. ${goto 55}${font Ubuntu:size=7,weight:bold}${color7}SWAP${font}${color7}${alignr}${swap /}
  98. ${goto 55}${font}${color2}Size${alignr}${swapmax /}
  99. ${voffset 5}${font Ubuntu:size=8,weight:bold}${color1}NETWORKING ${hr 2}
  100. #Networking
  101. ${if_up wlan0} # if the wlan0 interface is up
  102. ${font}${color2}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
  103. ${color5}${downspeedgraph eth0 15,70 color3} ${alignr}${upspeedgraph eth0 15,70 color3}
  104. ${color2}${font}Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
  105. ${voffset -20}
  106. ${else}
  107. ${if_up eth0} # if the eth0 interface is up
  108. ${voffset -25}
  109. ${font}${color2}Down ${downspeed eth0} k/s ${alignr}Up ${upspeed eth0} k/s
  110. ${color5}${downspeedgraph eth0 15,70 color3} ${alignr}${upspeedgraph eth0 15,70 color3}
  111. ${color2}${font}Total ${totaldown eth0} ${alignr}Total ${totalup eth0}
  112. ${voffset -30}
  113. ${else}
  114. ${endif}
  115. ${endif}
  116. #System Info
  117. #Battery
  118. ${font Ubuntu:size=9,weight:normal}${color1}POWER USAGE ${battery} ${hr 2}
  119. #Uptime
  120. ${goto 55}${font}${color3}UPTIME${alignr}${uptime_short}
  121. #Temperatures
  122. #CPU
  123. ${goto 55}${font}${color3}CPU${alignr}${acpitemp} °C
  124. #GPU
  125. ${goto 55}${font}${color3}GPU${alignr}${nvidia temp} °C
  126. #HDD
  127. ${goto 55}${font}${color3}HDD${alignr}${hddtemp /dev/sda} °C
  128.  
  129. # Info
  130. ${font Ubuntu:size=9,weight:normal}${color1}DEVICE INFO ${hr 2}
  131. ${goto 55}${font}${color3}Hostname${alignr}${nodename}
  132. ${goto 55}${font}${color3}OS${alignr}${pre_exec cat /etc/issue.net} $machine
  133. ${goto 55}${font}${color3}Kernel${alignr}${kernel}
  134.  
  135. # Syslog
  136. ${font Ubuntu:size=9,weight:normal}${color1}SYSLOG ${battery} ${hr 2}
  137. ${font Ubuntu:size=7,weight:normal}${color3}${execi 10 tail -n8 /var/log/syslog | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w60}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement