Advertisement
Guest User

Untitled

a guest
Mar 24th, 2019
135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.42 KB | None | 0 0
  1. conky.config = {
  2.  
  3. update_interval = 1,
  4. cpu_avg_samples = 2,
  5. net_avg_samples = 2,
  6. out_to_console = false,
  7. override_utf8_locale = true,
  8. double_buffer = true,
  9. no_buffers = true,
  10. text_buffer_size = 32768,
  11. imlib_cache_size = 0,
  12. own_window = true,
  13. own_window_type = 'normal',
  14. own_window_argb_visual = true,
  15. own_window_argb_value = 10,
  16. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  17. border_inner_margin = 5,
  18. border_outer_margin = 0,
  19. xinerama_head = 1,
  20. alignment = 'bottom_right',
  21. gap_x = 0,
  22. gap_y = 33,
  23. draw_shades = false,
  24. draw_outline = false,
  25. draw_borders = false,
  26. draw_graph_borders = false,
  27. use_xft = true,
  28. font = 'Ubuntu Mono:size=12',
  29. xftalpha = 0.8,
  30. uppercase = false,
  31. default_color = 'white',
  32. own_window_colour = '#000000',
  33. minimum_width = 300, minimum_height = 0,
  34. alignment = 'top_right',
  35.  
  36. };
  37. conky.text = [[
  38. ${time %H:%M:%S}${alignr}${time %d-%m-%y}
  39. ${voffset -16}${font sans-serif:bold:size=18}${alignc}${time %H:%M}${font}
  40. ${voffset 4}${alignc}${time %A %B %d, %Y}
  41. ${font}${voffset -4}
  42. ${font sans-serif:bold:size=10}SYSTEM ${hr 2}
  43. ${font sans-serif:normal:size=8}$sysname $kernel $alignr $machine
  44. Host:$alignr$nodename
  45. Uptime:$alignr$uptime
  46. File System: $alignr${fs_type}
  47. Processes: $alignr ${execi 1000 ps aux | wc -l}
  48.  
  49. ${font sans-serif:bold:size=10}CPU ${hr 2}
  50. ${font sans-serif:normal:size=8}${execi 1000 grep model /proc/cpuinfo | cut -d : -f2 | tail -1 | sed 's/\s//'} @ ${freq_g cpu} Ghz
  51. ${font sans-serif:normal:size=8}CPU-Temp: ${execi 10 sensors | grep 'Tdie' | cut -c16-22}
  52. ${font sans-serif:normal:size=8}${cpugraph cpu}
  53. CPU: ${cpu cpu}% ${cpubar cpu}
  54.  
  55. ${font sans-serif:bold:size=10}GPU ${hr 2}
  56. ${font sans-serif:normal:size=8}AMD Radeon RX Vega 64 - Mesa: ${execi 300 glxinfo | grep 'Version:' | cut -c14-19}
  57. ${font sans-serif:normal:size=8}Vulkan / RADV: ${execi 300 vulkaninfo | grep -m 1 'apiVersion' | cut -c30-35} / ${execi 300 vulkaninfo | grep -m 1 'deviceName' | cut -c19-46}
  58. ${font sans-serif:normal:size=8}Vulkan / AMDVLK: ${execi 300 vulkaninfo | grep 'apiVersion' | cut -c30-36 | tail -n 1} / ${execi 300 vulkaninfo | grep 'deviceName' | cut -c19-46 | tail -n 1}
  59. ${font sans-serif:normal:size=8}Temperature: ${execi 5 sensors | grep 'temp1' | cut -c16-22}
  60. ${font sans-serif:normal:size=8}Avail VRAM / Max VRAM: ${execi 300 glxinfo | grep 'Currently available dedicated video memory:' | cut -c48-55} / ${execi 300 glxinfo | grep 'Dedicated video memory:' | cut -c29-36}
  61. ${font sans-serif:normal:size=8}Radiator Fan: ${execi 5 sensors | grep 'fan5' | cut -c23-32} / 1700 RPM
  62. ${font sans-serif:normal:size=8}Pump Fan: ${execi 5 sensors | grep 'fan6' | cut -c23-32} max
  63. ${font sans-serif:normal:size=8}Power Draw:${execi 5 sensors | grep 'power1' | cut -c13-22}
  64.  
  65. ${font sans-serif:bold:size=10}MEMORY ${hr 2}
  66. ${font sans-serif:normal:size=8}RAM $alignc $mem / $memmax $alignr $memperc%
  67. $membar
  68.  
  69. ${font sans-serif:bold:size=10}DISK USAGE ${hr 2}
  70. ${font sans-serif:normal:size=8}/nvme0n1 $alignc ${fs_used /} / ${fs_size /} $alignr ${fs_used_perc /}%
  71. ${fs_bar /}
  72. ${font sans-serif:normal:size=8}/mnt/sshd $alignc ${fs_used /mnt/sda1} / ${fs_size /mnt/sda1} $alignr ${fs_used_perc /mnt/sda1}%
  73. ${fs_bar /mnt/sda1}
  74.  
  75. ${if_existing /sys/class/net/enp24s0/operstate up}
  76. ${font Ubuntu:bold:size=10}NETWORK ${hr 2}
  77. ${font sans-serif:normal:size=8}Local IPs:
  78. ${execi 1000 ip a | grep inet | grep -vw lo | grep -v inet6 | cut -d \/ -f1 | sed 's/[^0-9\.]*//g'} ${alignr}
  79. ${font sans-serif:normal:size=8}Down: ${downspeed enp24s0} ${alignr}Up: ${upspeed enp24s0}
  80. ${color lightgray}${downspeedgraph enp24s0 80,130 } ${alignr}${upspeedgraph enp24s0 80,130 }$color
  81. ${endif}
  82.  
  83. ${font sans-serif:bold:size=10}TOP PROCESSES ${hr 2}
  84. ${font sans-serif:normal:size=8}Name $alignr PID CPU% MEM%${font sans-serif:normal:size=8}
  85. ${top name 1} $alignr ${top pid 1} ${top cpu 1}% ${top mem 1}%
  86. ${top name 2} $alignr ${top pid 2} ${top cpu 2}% ${top mem 2}%
  87. ${top name 3} $alignr ${top pid 3} ${top cpu 3}% ${top mem 3}%
  88. ${top name 4} $alignr ${top pid 4} ${top cpu 4}% ${top mem 4}%
  89. ${top name 5} $alignr ${top pid 5} ${top cpu 5}% ${top mem 5}%
  90. ${top name 6} $alignr ${top pid 6} ${top cpu 6}% ${top mem 6}%
  91. ${top name 7} $alignr ${top pid 7} ${top cpu 7}% ${top mem 7}%
  92. ${top name 8} $alignr ${top pid 8} ${top cpu 8}% ${top mem 8}%
  93. ${top name 9} $alignr ${top pid 9} ${top cpu 9}% ${top mem 9}%
  94. ${top name 10} $alignr ${top pid 10} ${top cpu 10}% ${top mem 10}%
  95. ]];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement