Advertisement
TheAtomicAss

conky.conf

Jul 11th, 2021
1,084
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 5.31 KB | None | 0 0
  1. -- vim: ts=4 sw=4 noet ai cindent syntax=lua
  2.  
  3. conky.config = {
  4.                 alignment = 'top_right',
  5.                background = true,
  6.              border_width = 1,
  7.           cpu_avg_samples = 4,
  8.             default_color = '#fcab03',
  9.     default_outline_color = 'white',
  10.       default_shade_color = 'white',
  11.             double_buffer = true,
  12.              draw_borders = false,
  13.        draw_graph_borders = true,
  14.              draw_outline = false,
  15.               draw_shades = false,
  16.                   use_xft = true,
  17.                      font = 'Liberation Serif Bold:size=9',
  18.                     gap_x = 2,
  19.                     gap_y = 30,
  20.             maximum_width = 199,
  21.            minimum_height = 1074,
  22.           net_avg_samples = 2,
  23.                no_buffers = true,
  24.            out_to_console = false,
  25.             out_to_stderr = false,
  26.             extra_newline = false,
  27.                own_window = true,
  28.          own_window_color = '323232',
  29.          own_window_class = 'Conky',
  30.          own_window_hints = 'undecorated,sticky,below,skip_taskbar,skip_pager',
  31.           own_window_type = 'panel',
  32.    own_window_transparent = false,
  33.    own_window_argb_visual = true,
  34.     own_window_argb_value = 0,
  35.          stippled_borders = 0,
  36.           update_interval = 0.5,
  37.                 uppercase = false,
  38.                use_spacer = 'none',
  39.          show_graph_scale = true,
  40.          show_graph_range = true
  41. }
  42.  
  43. conky.text = [[$nodename $alignr $kernel
  44. Uptime ${color #00cc00}$uptime_short ${color #00cc00}
  45. $color${hr}
  46. ${color #00cc00}${battery_short BAT0} $alignr${battery_bar 6,150 BAT0}
  47. $color${hr}
  48. ${alignc}CPU
  49. ${color #00cc00}${cpu cpu0}% ${alignc}     ${freq_g}GHz${alignr}${hwmon 3 temp 0}°C${color}
  50. ${cpubar cpu1 6,90} $alignr${cpubar cpu2 6,90}
  51. ${cpubar cpu3 6,90} $alignr${cpubar cpu4 6,90}
  52. ${cpubar cpu5 6,90} $alignr${cpubar cpu6 6,90}
  53. ${cpubar cpu7 6,90} $alignr${cpubar cpu8 6,90}
  54. ${cpubar cpu9 6,90} $alignr${cpubar cpu10 6,90}
  55. ${cpubar cpu11 6,90} $alignr${cpubar cpu12 6,90}
  56. ${cpubar cpu13 6,90} $alignr${cpubar cpu14 6,90}
  57. ${cpubar cpu15 6,90} $alignr${cpubar cpu16 6,90}
  58. $alignc${cpugraph cpu0 30,190 00ff00 ff0000 -t -l}
  59. ${color #ddaa00} ${top name 1}${alignr}${top cpu 1}
  60. ${color lightgrey} ${top name 2}${alignr}${top cpu 2}
  61. ${color lightgrey} ${top name 3}${alignr}${top cpu 3}
  62. ${color lightgrey} ${top name 4}${alignr}${top cpu 4}
  63. ${color lightgrey} ${top name 5}${alignr}${top cpu 5}
  64. ${color lightgrey} ${top name 6}${alignr}${top cpu 6}
  65. ${color lightgrey} ${top name 7}${alignr}${top cpu 7}
  66. ${color lightgrey} ${top name 8}${alignr}${top cpu 8}
  67. ${color }${alignc}Memory
  68. $memperc%  $alignr$mem/$memmax
  69. $alignc${membar 6,190}
  70. ${alignc}${color 00cc00}Swap${color}
  71. $swapperc% $alignr$swap/$swapmax
  72. $alignc${swapbar 6,190}
  73. ${alignc}${color slate grey}Highest MEM
  74. ${color #ddaa00} ${top_mem name 1}${alignr}${top_mem mem 1}
  75. ${color lightgrey} ${top_mem name 2}${alignr}${top_mem mem 2}
  76. ${color lightgrey} ${top_mem name 3}${alignr}${top_mem mem 3}
  77. ${color lightgrey} ${top_mem name 4}${alignr}${top_mem mem 4}
  78. ${color lightgrey} ${top_mem name 5}${alignr}${top_mem mem 5}
  79. ${color lightgrey} ${top_mem name 6}${alignr}${top_mem mem 6}
  80. ${color lightgrey} ${top_mem name 7}${alignr}${top_mem mem 7}
  81. ${color lightgrey} ${top_mem name 8}${alignr}${top_mem mem 8}
  82. ]]
  83.  
  84. --${nvidia gpuutil}% - ${nvidia temp} °C $alignr Video: ${nvidia videoutil}%
  85. --${nvidia gpufreq} MHz $alignr PCIe: ${nvidia pcieutil}%
  86. --$alignc${color 00cc00}Load Avg: $color$loadavg
  87. --$alignc${color 00cc00}Highest CPU
  88. --$color$hr
  89. --${alignc}${color 00cc00}Kara${color}
  90. --${exec zfs list|grep "kara "|awk '{print $2}'}/${exec zfs list|grep "kara "|awk '{print $3}'} $alignr${diskio /dev/nvme0n1}/s
  91. --${fs_bar 6,190 /}
  92. --${diskiograph /dev/nvme0n1 30,190 004400 00ff00 -t -l}
  93. --${alignc}${color 00cc00}Videos${color}
  94. --${fs_used /home/ranko/Videos}/${fs_free /home/ranko/Videos} $alignr${diskio /dev/sda}/s
  95. --${fs_bar 6,190 /home/ranko/Videos}
  96. --${diskiograph /dev/sda 30,190 004400 00ff00 -t -l}
  97. --$color$hr
  98. --UP $alignr DOWN
  99. --${color #00cc00}enp0s31f6 IP: $color$alignr${addr enp0s31f6}
  100. --${color cc0000}${upspeed enp0s31f6} $alignr ${color 00cc00}${downspeed enp0s31f6}$color
  101. --$alignc${upspeedgraph enp0s31f6 30,190 004400 ff0000}
  102. --$alignc${downspeedgraph enp0s31f6 30,190 000044 00ff00}
  103. --${color #00cc00}enp0s20f0u2u3 IP: $color$alignr${addr enp0s20f0u2u3}
  104. --${color cc0000}${upspeed enp0s20f0u2u3} $alignr ${color 00cc00}${downspeed enp0s20f0u2u3}$color
  105. --$alignc${upspeedgraph enp0s20f0u2u3 30,190 004400 ff0000}
  106. --$alignc${downspeedgraph enp0s20f0u2u3 30,190 000044 00ff00}
  107. --${color #00cc00}thunderbolt0 IP: $color$alignr${addr thunderbolt0}
  108. --${color cc0000}${upspeed thunderbolt0} $alignr ${color 00cc00}${downspeed thunderbolt0}$color
  109. --$alignc${upspeedgraph thunderbolt0 30,190 004400 ff0000}
  110. --$alignc${downspeedgraph thunderbolt0 30,190 000044 00ff00}
  111. --${color #00cc00}wlp0s20f3 IP: $color$alignr${addr wlp0s20f3}
  112. --${wireless_essid wlp0s20f3} $alignr ${wireless_link_qual_perc wlp0s20f3}%
  113. --${color cc0000}${upspeed wlp0s20f3} $alignr ${color 00cc00}${downspeed wlp0s20f3}$color
  114. --$alignc${upspeedgraph wlp0s20f3 30,190 004400 ff0000}
  115. --$alignc${downspeedgraph wlp0s20f3 30,190 000044 00ff00}
  116. --${color #00cc00}eth0 IP: $color$alignr${addr eth0}
  117. --${color cc0000}${upspeed eth0} $alignr ${color 00cc00}${downspeed eth0}$color
  118. --$alignc${upspeedgraph eth0 30,190 004400 ff0000}
  119. --$alignc${downspeedgraph eth0 30,190 000044 00ff00}
  120.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement