conky.conf 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. # This is a system status script
  2. # Shows:
  3. # kernel and uptime
  4. #-------------------
  5. # Processor info
  6. #-------------------
  7. # Graphics card info
  8. #-------------------
  9. # Memory information
  10. #-------------------
  11. # Top 8 processes
  12. #-------------------
  13. # SSD Information
  14. #-------------------
  15. # HDD Information
  16. #-------------------
  17. conky.config = {
  18. alignment = 'bottom_right',
  19. background = true,
  20. border_width = 0.5,
  21. cpu_avg_samples = 4,
  22. default_color = 'white',
  23. default_outline_color = 'grey',
  24. default_shade_color = 'black',
  25. draw_borders = true,
  26. draw_graph_borders = true,
  27. draw_outline = false,
  28. draw_shades = false,
  29. use_xft = true,
  30. font = 'Ubuntu-Mono:size=10',
  31. gap_x = 30,
  32. gap_y = 50,
  33. maximum_width = 370,
  34. minimum_height = 5,
  35. minimum_width = 370,
  36. net_avg_samples = 2,
  37. double_buffer = true,
  38. out_to_console = false,
  39. out_to_stderr = false,
  40. extra_newline = false,
  41. own_window = true,
  42. own_window_colour = '000000',
  43. own_window_class = 'Conky',
  44. own_window_argb_visual = false,
  45. own_window_type = 'desktop',
  46. own_window_transparent = true,
  47. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  48. stippled_borders = 0,
  49. update_interval = 1,
  50. uppercase = false,
  51. use_spacer = 'none',
  52. show_graph_scale = false,
  53. show_graph_range = false
  54. }
  55. conky.text = [[
  56. # JODAROVE
  57. ${alignr}${font Ubuntu :Bold:size=26}${color #00ff9c} AZ
  58. # SYS
  59. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}SYSTEM
  60. ${hr 1}$color${font Ubuntu :size=14}${offset 1}
  61. Kernel $alignr $kernel
  62. Uptime $alignr $uptime
  63. # Processor
  64. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}AMD RYZEN 3700X
  65. ${hr 1}$color${font Ubuntu :size=14}${offset 1}
  66. $color${font Ubuntu :size=14}Usage $alignr $cpu %
  67. Temperature $alignr ${exec sensors | grep 'Tctl' | awk '{print $2}'}
  68. # NVidia GeForce® GTX 1050-Ti 6GB
  69. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}GTX-1050-Ti 4GB
  70. ${hr 1}$color${font Ubuntu :size=14}${offset 1}
  71. Frequency $alignr ${nvidia gpufreq} Mhz
  72. Memory $alignr ${nvidia memfreq} Mhz
  73. Temperature $alignr ${nvidia temp}°C
  74. # RAM
  75. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}RAM
  76. ${hr 1}$color${font Ubuntu :size=14}${offset 1}
  77. Total $alignr $memmax
  78. In use $alignr $mem
  79. Free $alignr $memeasyfree
  80. Buffers $alignr $buffers
  81. Cache $alignr $cached
  82. # PROCESSES
  83. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}PROCESSES
  84. ${hr 1}$color${font Ubuntu :size=14}${offset 0}
  85. #$color${font Ubuntu :size=16}CPU$font
  86. ${offset 0}${font Noto sans:size=15:bold}${color #00ff9c}Name ${alignr}PID CPU% MEM%
  87. ${offset 0}${font Noto sans:size=16}${offset 15}${color #ff6688}${top name 1} ${alignr}${top pid 1} ${top cpu 1} ${top mem 1}${offset 0}${font Noto sans:size=15}
  88. ${offset 15}${color #ff5588}${top name 2} ${alignr}${top pid 2} ${top cpu 2} ${top mem 2}${offset 0}${font Noto sans:size=14}
  89. ${offset 15}${color #ff3378}${top name 3} ${alignr}${top pid 3} ${top cpu 3} ${top mem 3}${offset 0}${font Noto sans:size=13}
  90. ${offset 15}${color #ff0078}${top name 4} ${alignr}${top pid 4} ${top cpu 4} ${top mem 4}${offset 0}${font Noto sans:size=12}
  91. ${offset 15}${color #ff0078}${top name 5} ${alignr}${top pid 5} ${top cpu 5} ${top mem 5}
  92. ${offset 15}${color #ff0078}${top name 6} ${alignr}${top pid 6} ${top cpu 6} ${top mem 6}
  93. ${offset 15}${color #ff0078}${top name 7} ${alignr}${top pid 7} ${top cpu 7} ${top mem 7}
  94. ${offset 15}${color #ff0078}${top name 8} ${alignr}${top pid 8} ${top cpu 8} ${top mem 8}
  95. # SSD
  96. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}SSD
  97. $color${font Ubuntu :size=14}${offset 1}${color #00ff9c}${fs_bar 2 /home/} ${color #ffffff}
  98. ${offset 0}${font Noto sans:size=15:bold}${color #00ff9c}Total ${alignc} Free ${alignr} Used $color${font Ubuntu :size=14}${offset 1}${color #ffffff}
  99. ${fs_size /home/} ${fs_free /home/} ${alignr} ${fs_used /home/}
  100. # HDD
  101. ${alignr}${font Ubuntu :Bold:size=18}${color #00ff9c}HDD
  102. $color${font Ubuntu :size=14}${offset 1}${color #00ff9c}${fs_bar 2 /mnt/mass_storage/}
  103. ${offset 0}${font Ubuntu:size=15:bold}${color #00ff9c}Total ${alignc} Free ${alignr} Used $color${font Ubuntu :size=14}${offset 1}${color #ffffff}
  104. ${fs_size /mnt/mass_storage/} ${fs_free /mnt/mass_storage/} ${alignr} ${fs_used /mnt/mass_storage/}
  105. ]]