Advertisement
Guest User

conky oke

a guest
Mar 16th, 2025
7
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.02 KB | None | 0 0
  1. conky.config = {
  2. -- General Settings
  3. background = true, -- Run Conky in the background
  4. update_interval = 1, -- Update interval in seconds
  5.  
  6. -- CPU and Network Samples
  7. cpu_avg_samples = 2, -- Number of CPU samples to average
  8. net_avg_samples = 2, -- Number of network samples to average
  9.  
  10. -- Memory and Buffer Settings
  11. no_buffers = true, -- Subtract file system buffers from used memory
  12. double_buffer = true, -- Reduce flickering
  13. text_buffer_size = 2048, -- Text buffer size
  14.  
  15. -- Window Position and Size
  16. alignment = 'top_right', -- Text alignment
  17. gap_x = 40, -- Horizontal gap from screen edge
  18. gap_y = 30, -- Vertical gap from screen edge
  19. minimum_height = 30, -- Minimum height of the Conky window
  20. minimum_width = 290, -- Minimum width of the Conky window
  21.  
  22. -- Own Window Settings
  23. own_window = true, -- Create a separate window
  24. own_window_type = 'dock', -- Window type (e.g., dock, desktop)
  25. own_window_transparent = true, -- Make the window transparent
  26. own_window_argb_visual = true, -- Use ARGB visual for transparency
  27. own_window_colour = '000000', -- Background color (black)
  28. own_window_argb_value = 0, -- Transparency level (0 = fully transparent)
  29. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  30.  
  31. -- Appearance
  32. draw_shades = false, -- Draw shades
  33. draw_outline = false, -- Draw outlines
  34. draw_borders = false, -- Draw borders around text
  35. draw_graph_borders = false, -- Draw borders around graphs
  36. stippled_borders = 0, -- Stippled borders
  37. border_width = 1, -- Border width
  38.  
  39. -- UTF8 and Fonts
  40. override_utf8_locale = true, -- Force UTF8 support
  41. use_xft = true, -- Use Xft fonts
  42. font = 'Bitstream Monospace:size=9', -- Correct font syntax
  43. xftalpha = 0.5, -- Text alpha when using Xft
  44. uppercase = false, -- Convert all text to uppercase
  45.  
  46. -- Colors
  47. default_color = 'white', -- Default text color
  48. default_shade_color = 'black', -- Default shade color
  49. default_outline_color = 'white', -- Default outline color
  50. color1 = 'DDDDDD', -- Shades of Gray
  51. color2 = 'AAAAAA',
  52. color3 = '888888',
  53. color4 = 'ffa54f', -- Orange
  54. color5 = '77B753', -- Green
  55. color6 = '3a5153', -- Dark Grey
  56. }
  57.  
  58. conky.text = [[
  59. # SYSTEM DETAILS:
  60. ${font Monospace:style=Bold:pixelsize=16}${color4}SYSTEM ${color6}${hr 2}
  61. ${color}${font Monospace:size=7.2}UPTIME: $alignr$uptime${color4} CPU temp ${exec sensors | grep 'Core 0' | awk '{print $3}' | cut -c2-3}°C / ${exec sensors | grep 'Core 1' | awk '{print $3}' | cut -c2-3}°C
  62. RUNNING PROCESSES: ${alignr}$processes (${color4}$running_processes Executing${color})
  63.  
  64. ${color4}${font Monospace:style=Bold:pixelsize=12}CPU USAGE ${color6}${hr 2 }
  65. ${color}${font Monospace:style=Bold:pixelsize=8}
  66. CORE I: CORE II:${font Monospace:size=6.5}
  67. ${freq}MHz / ${acpitemp}°C ${color3}(${cpu cpu1}%) ${color}${freq}MHz / ${acpitemp}°C ${color3}(${cpu cpu2}%)
  68. ${cpubar 5,120 cpu1} ${cpubar 5,120 cpu2}
  69. ${color}1st ${color4}${top name 1}${top cpu 1}%${alignr}${color}1st ${color4}${top name 2}${top cpu 2}%
  70. ${color}2nd ${color}${top name 3}${top cpu 3}%${alignr}${color}2nd ${color}${top name 4}${top cpu 4}%
  71. ${color}3rd ${color1}${top name 5}${top cpu 5}%${alignr}${color}3rd ${color1}${top name 6}${top cpu 6}%
  72. ${color}4th ${color2}${top name 7}${top cpu 7}%${alignr}${color}4th ${color2}${top name 8}${top cpu 8}%
  73. ${color}5th ${color3}${top name 9}${top cpu 9}%${alignr}${color}5th ${color3}${top name 10}${top cpu 10}%
  74.  
  75. ${color4}${font Monospace:style=Bold:pixelsize=12}MEMORY USAGE ${color6}${hr 2 }
  76. ${color}${font Monospace:size=6.5}
  77. $mem / $memmax ($memperc%)
  78. ${color3}${membar 5,120}
  79. ${color}1st ${color4}${top_mem name 1}${top_mem mem 1}% ${alignr}${color}6th ${color3}${top_mem name 6}${top_mem mem 6}%
  80. ${color}2nd ${color}${top_mem name 2}${top_mem mem 2}% ${alignr}${color}7th ${color3}${top_mem name 7}${top_mem mem 7}%
  81. ${color}3rd ${color1}${top_mem name 3}${top_mem mem 3}% ${alignr}${color}8th ${color3}${top_mem name 8}${top_mem mem 8}%
  82. ${color}4th ${color2}${top_mem name 4}${top_mem mem 4}% ${alignr}${color}9th ${color3}${top_mem name 9}${top_mem mem 9}%
  83. ${color}5th ${color3}${top_mem name 5}${top_mem mem 5}% ${alignr}${color}10th ${color3}${top_mem name 10}${top_mem mem 10}%
  84.  
  85. ${color4}${font Monospace:style=Bold:pixelsize=12}DISK USAGE ${color6}${hr 2 }
  86.  
  87. ${color}${font Monospace:style=Bold:pixelsize=11}COMPUTER:${font Monospace:size=7} ${alignr}${fs_used /}/${fs_size /}
  88. ${alignr}${color2}${fs_used_perc /}% ${color3}${fs_bar 5,120 /}
  89.  
  90. ${color4}${font Monospace:style=Bold:pixelsize=12}INTERNET ${color6}${hr 2 }
  91. ${font Monospace:style=Bold:pixelsize=11}${color}WIRELESS SIGNAL STRENGTH: ${alignr} ${color1}${wireless_link_qual wlx18a6f70f1bc8}%
  92. #${color}WLAN IP: ${alignr} ${color}${addr wlx18a6f70f1bc8}
  93. #${color}MAC: ${alignr} ${color}${wireless_ap wlx18a6f70f1bc8}
  94. ${alignr}${color BBCCDD}${downspeedgraph wlx18a6f70f1bc8 20,290 EF5A29 EF5A29}
  95. ${color}${font Monospace:style=Bold:pixelsize=11}DOWN SPEED:${font Monospace:size=7} ${alignr} ${color2}${downspeed wlx18a6f70f1bc8} kb/s ${color}TOTAL DOWN ${alignr}${totaldown wlx18a6f70f1bc8}
  96. ${alignr}${color BBCCDD}${upspeedgraph wlx18a6f70f1bc8 20,290 77B753 77B753}
  97. ${color}${font Monospace:style=Bold:pixelsize=11}UP SPEED:${font Monospace:size=7} ${alignr} ${color2}${upspeed wlx18a6f70f1bc8} kb/s ${color}TOTAL UP ${alignr}${totalup wlx18a6f70f1bc8}
  98.  
  99. ${color1}${font Monospace:style=Bold:size=7.5}${execi 40000 bash -c "cd /tmp && /home/debian/.prayer.sh"}
  100. ${font Monospace:style=Bold:size=7.5}${alignc}${execpi 30 curl wttr.in/malang?T0 --silent --max-time 3}
  101. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement