Advertisement
gravitiq

Untitled

Dec 3rd, 2022
28
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.65 KB | None | 0 0
  1. --[[
  2. # Minimalis Conky 1.3
  3. # Author : archit3x
  4. # Release date : 4 December 2020
  5. # Tested on : Archlinux ARM - XFCE Desktop
  6. # Email : archit3x@archlinux.us
  7. # Feel free to modity this script ;)
  8. ]]
  9.  
  10. conky.config = {
  11. alignment = 'top_right',
  12. background = true,
  13. border_width = 1,
  14. cpu_avg_samples = 2,
  15. default_color = 'gray',
  16. default_outline_color = 'white',
  17. default_shade_color = 'white',
  18. color1 = '#1793d1',
  19. double_buffer = true,
  20. draw_borders = false,
  21. draw_graph_borders = true,
  22. draw_outline = false,
  23. draw_shades = false,
  24. extra_newline = false,
  25. font = 'Roboto Mono:size=7',
  26. gap_x = 30,
  27. gap_y = 30,
  28. minimum_height = 250,
  29. minimum_width = 220,
  30. net_avg_samples = 2,
  31. no_buffers = true,
  32. out_to_console = false,
  33. out_to_ncurses = false,
  34. out_to_stderr = false,
  35. out_to_x = true,
  36. own_window = true,
  37. own_window_class = 'Conky',
  38. own_window_transparent = true,
  39. own_window_argb_visual = true,
  40. own_window_type = 'override',
  41. own_window_hints ='undecorated,sticky,skip_taskbar,skip_pager,below',
  42. show_graph_range = false,
  43. show_graph_scale = false,
  44. stippled_borders = 0,
  45. update_interval = 1.0,
  46. uppercase = false,
  47. use_spacer = 'none',
  48. use_xft = true,
  49. }
  50.  
  51. conky.text = [[
  52. ${color1}${goto 35}Uptime : ${color}$uptime_short ${alignr}${color1}Load : ${color}${loadavg}
  53.  
  54. ${color1}${font ConkySymbols:size=16}${font} ${voffset -10} System» $hr${color}
  55. ${color1}${goto 35}Cores avg : ${color}${freq_g 1}GHz ${alignr}${cpu cpu0}% ${cpubar cpu0 8,100}
  56.  
  57. ${color1}${goto 35}Core 1 : ${color}${freq_g 1}GHz ${alignr}${cpu cpu1}% ${cpubar cpu1 8,100}
  58. ${color1}${goto 35}Core 2 : ${color}${freq_g 2}GHz ${alignr}${cpu cpu2}% ${cpubar cpu2 8,100}
  59. ${color1}${goto 35}Core 3 : ${color}${freq_g 3}GHz ${alignr}${cpu cpu3}% ${cpubar cpu3 8,100}
  60. ${color1}${goto 35}Core 4 : ${color}${freq_g 4}GHz ${alignr}${cpu cpu4}% ${cpubar cpu4 8,100}
  61. ${color1}${goto 35}Core 5 : ${color}${freq_g 5}GHz ${alignr}${cpu cpu5}% ${cpubar cpu5 8,100}
  62. ${color1}${goto 35}Core 6 : ${color}${freq_g 6}GHz ${alignr}${cpu cpu6}% ${cpubar cpu6 8,100}
  63. ${color1}${goto 35}Core 7 : ${color}${freq_g 7}GHz ${alignr}${cpu cpu7}% ${cpubar cpu7 8,100}
  64. ${color1}${goto 35}Core 8 : ${color}${freq_g 8}GHz ${alignr}${cpu cpu8}% ${cpubar cpu8 8,100}
  65. ${color1}${goto 35}Core 9 : ${color}${freq_g 9}GHz ${alignr}${cpu cpu9}% ${cpubar cpu9 8,100}
  66. ${color1}${goto 35}Core 10 : ${color}${freq_g 10}GHz ${alignr}${cpu cpu10}% ${cpubar cpu10 8,100}
  67. ${color1}${goto 35}Core 11 : ${color}${freq_g 11}GHz ${alignr}${cpu cpu11}% ${cpubar cpu11 8,100}
  68. ${color1}${goto 35}Core 12 : ${color}${freq_g 12}GHz ${alignr}${cpu cpu12}% ${cpubar cpu12 8,100}
  69. ${color1}${goto 35}Core 13 : ${color}${freq_g 13}GHz ${alignr}${cpu cpu13}% ${cpubar cpu13 8,100}
  70. ${color1}${goto 35}Core 14 : ${color}${freq_g 14}GHz ${alignr}${cpu cpu14}% ${cpubar cpu14 8,100}
  71. ${color1}${goto 35}Core 15 : ${color}${freq_g 15}GHz ${alignr}${cpu cpu15}% ${cpubar cpu15 8,100}
  72. ${color1}${goto 35}Core 16 : ${color}${freq_g 16}GHz ${alignr}${cpu cpu16}% ${cpubar cpu16 8,100}
  73. ${color1}${goto 35}Core 17 : ${color}${freq_g 17}GHz ${alignr}${cpu cpu17}% ${cpubar cpu17 8,100}
  74. ${color1}${goto 35}Core 18 : ${color}${freq_g 18}GHz ${alignr}${cpu cpu18}% ${cpubar cpu18 8,100}
  75. ${color1}${goto 35}Core 19 : ${color}${freq_g 19}GHz ${alignr}${cpu cpu19}% ${cpubar cpu19 8,100}
  76. ${color1}${goto 35}Core 20 : ${color}${freq_g 20}GHz ${alignr}${cpu cpu20}% ${cpubar cpu20 8,100}
  77.  
  78.  
  79. ${color1}${font ConkySymbols:size=16}${font} ${voffset -10} Temperature» $hr${color}
  80. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 0' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 0' | awk 'NR==1{print $3}' | cut -c 2-5"}
  81. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 4' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 4' | awk 'NR==1{print $3}' | cut -c 2-5"}
  82. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 8' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 8' | awk 'NR==1{print $3}' | cut -c 2-5"}
  83. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 12' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 12' | awk 'NR==1{print $3}' | cut -c 2-5"}
  84. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 16' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 16' | awk 'NR==1{print $3}' | cut -c 2-5"}
  85. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 20' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 20' | awk 'NR==1{print $3}' | cut -c 2-5"}
  86. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 24' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 24' | awk 'NR==1{print $3}' | cut -c 2-5"}
  87. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 25' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 25' | awk 'NR==1{print $3}' | cut -c 2-5"}
  88. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 26' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 26' | awk 'NR==1{print $3}' | cut -c 2-5"}
  89. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 27' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 27' | awk 'NR==1{print $3}' | cut -c 2-5"}
  90. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 28' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 28' | awk 'NR==1{print $3}' | cut -c 2-5"}
  91. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 29' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 29' | awk 'NR==1{print $3}' | cut -c 2-5"}
  92. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 30' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 30' | awk 'NR==1{print $3}' | cut -c 2-5"}
  93. ${color1}${goto 35}CPU : ${color}${exec sensors | grep 'Core 31' | awk 'NR==1{print $3}'} ${execbar "sensors | grep 'Core 31' | awk 'NR==1{print $3}' | cut -c 2-5"}
  94.  
  95.  
  96.  
  97.  
  98. # ${execgraph "sensors | grep 'Core 0' | awk 'NR==1{print $3}'"}
  99. ${color1}${font ConkySymbols:size=16}${font} ${voffset -10}Memory» $hr${color}
  100. ${color1}${goto 35}RAM : ${color}$mem/$memmax ${alignr}$memperc% ${membar 8,100}
  101. ${color1}${goto 35}SWAP: ${color}$swap/$swapmax $alignr}$swapperc% ${swapbar 8,100}
  102.  
  103.  
  104. ${color1}${font ConkySymbols:size=16}${font} ${voffset -10} Processes» $hr${color}
  105.  
  106. ${color1}${goto 35}CPU usage ${alignr}Memory Usage${color}
  107. ${color1}${goto 35}${stippled_hr}${color}
  108. ${goto 35}${top name 1} ${color}${top cpu 1}% ${alignr}${top_mem name 1}${top_mem mem_res 1}
  109. ${goto 35}${top name 2} ${color}${top cpu 2}% ${alignr}${top_mem name 2}${top_mem mem_res 2}
  110. ${goto 35}${top name 3} ${color}${top cpu 3}% ${alignr}${top_mem name 3}${top_mem mem_res 3}
  111. ${goto 35}${top name 4} ${color}${top cpu 4}% ${alignr}${top_mem name 4}${top_mem mem_res 4}
  112. ${goto 35}${top name 5} ${color}${top cpu 5}% ${alignr}${top_mem name 5}${top_mem mem_res 5}
  113.  
  114. ${color1}${goto 35}Processes: ${color}$processes ${color1}Running: ${color}$running_processes
  115.  
  116.  
  117. ${color1}${font ConkySymbols:size=16}k${font} ${voffset -10} Storage» $hr${color}
  118. ${color1}${goto 35}ROOT : ${color}${fs_used /}/${fs_size /} ${alignr}${fs_used_perc /}% ${fs_bar 8,100 /}
  119. ${goto 35}
  120.  
  121.  
  122. ${color1}${font ConkySymbols:size=16}b${font} ${voffset -10} Wireless» $hr${color}
  123. ${color1}${goto 35}SSID: ${color}${wireless_essid wlp0s20f3}
  124. ${color1}${goto 35}Signal: ${color}${wireless_link_qual_perc wlp0s20f3}% ${wireless_link_bar 8,100 wlp0s20f3}
  125. ${color1}${goto 35}Bitrate : ${color}${wireless_bitrate wlp0s20f3}
  126. ${color1}${goto 35}Speed Down : ${color}${downspeed wlp0s20f3}
  127. ${color1}${goto 35}Speed Up : ${color}${upspeed wlp0s20f3}
  128.  
  129. ]]
  130.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement