Advertisement
Guest User

Untitled

a guest
Apr 3rd, 2020
51
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.58 KB | None | 0 0
  1. -- vim: ts=4 sw=4 noet ai cindent syntax=lua
  2. --[[
  3. Conky, a system monitor, based on torsmo
  4.  
  5. Any original torsmo code is licensed under the BSD license
  6.  
  7. All code written since the fork of torsmo is licensed under the GPL
  8.  
  9. Please see COPYING for details
  10.  
  11. Copyright (c) 2004, Hannu Saransaari and Lauri Hakkarainen
  12. Copyright (c) 2005-2012 Brenden Matthews, Philip Kovacs, et. al. (see AUTHORS)
  13. All rights reserved.
  14.  
  15. This program is free software: you can redistribute it and/or modify
  16. it under the terms of the GNU General Public License as published by
  17. the Free Software Foundation, either version 3 of the License, or
  18. (at your option) any later version.
  19.  
  20. This program is distributed in the hope that it will be useful,
  21. but WITHOUT ANY WARRANTY; without even the implied warranty of
  22. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  23. GNU General Public License for more details.
  24. You should have received a copy of the GNU General Public License
  25. along with this program. If not, see <http://www.gnu.org/licenses/>.
  26. ]]
  27.  
  28. conky.config = {
  29. alignment = 'middle_right',
  30. background = false,
  31. border_width = 1,
  32. cpu_avg_samples = 2,
  33. default_color = 'white',
  34. default_outline_color = 'white',
  35. default_shade_color = 'white',
  36. draw_borders = false,
  37. draw_graph_borders = true,
  38. draw_outline = false,
  39. draw_shades = false,
  40. use_xft = true,
  41. font = 'DejaVu Sans Mono:size=12',
  42. gap_x = 5,
  43. gap_y = 60,
  44. minimum_height = 5,
  45. minimum_width = 5,
  46. net_avg_samples = 2,
  47. no_buffers = true,
  48. out_to_console = false,
  49. out_to_stderr = false,
  50. extra_newline = false,
  51. own_window = true,
  52.  
  53. own_window_transparent = false,
  54. own_window_argb_visual = true,
  55. own_window_argb_value = 95,
  56. own_window_class = 'Conky',
  57. own_window_type = 'normal',
  58. own_window_hints = 'undecorated,below,sticky,skip_taskbar,skip_pager',
  59. stippled_borders = 0,
  60. update_interval = 0.3,
  61. uppercase = false,
  62. use_spacer = 'none',
  63. show_graph_scale = false,
  64. show_graph_range = false,
  65. xinerama_head = 2,
  66. maximum_width = 275,
  67. background = true
  68. }
  69.  
  70. conky.text = [[
  71. $hr
  72. System Stats
  73. $hr
  74. ${color white}Uptime:$color $uptime
  75. ${color white}Kernel: $color $kernel
  76. $hr
  77. ${color white}Frequency (in GHz):$color $freq_g
  78. ${color white}CPU Usage: ${cpubar cpu0}
  79. $hr
  80. ${color white} CPU Threads:
  81. ${color lightgrey} CPU 0: ${cpu cpu1}% CPU1: ${cpu cpu2}%
  82. ${color lightgrey} CPU 2: ${cpu cpu3}% CPU 3: ${cpu cpu4}%
  83. ${color lightgrey} CPU 4: ${cpu cpu5}% CPU 5: ${cpu cpu6}%
  84. ${color lightgrey} CPU 6: ${cpu cpu7}% CPU 7: ${cpu cpu8}%
  85. ${color lightgrey} CPU 8: ${cpu cpu9}% CPU 9: ${cpu cpu10}%
  86. ${color lightgrey} CPU 10: ${cpu cpu11}% CPU 11: ${cpu cpu12}%
  87. ${color lightgrey} CPU 12: ${cpu cpu13}% CPU 13: ${cpu cpu14}%
  88. ${color lightgrey} CPU 14: ${cpu cpu15}% CPU 15: ${cpu cpu16}%
  89. ${color lightgrey} CPU 16: ${cpu cpu17}% CPU 17: ${cpu cpu18}%
  90. ${color lightgrey} CPU 18: ${cpu cpu19}% CPU 19: ${cpu cpu20}%
  91. ${color lightgrey} CPU 20: ${cpu cpu21}% CPU 21: ${cpu cpu22}%
  92. ${color lightgrey} CPU 22: ${cpu cpu23}% CPU 23: ${cpu cpu24}%
  93. $hr
  94. ${color white}RAM Usage:$color $mem/$memmax
  95. $memperc% ${membar 4}
  96. $hr
  97. ${color white}Swap Usage:$color $swap/$swapmax
  98. $swapperc% ${swapbar 4}
  99. $hr
  100. ${color white}Processes:$color $processes ${color white}Running:$color $running_processes
  101. $hr
  102. ${color white}File systems:
  103. / $color${fs_used /}/${fs_size /} ${fs_bar 6 /}
  104. $hr
  105. ${color white}Networking:
  106. Up:$color ${upspeed wlp37s0} ${color grey} - Down:$color ${downspeed wlp37s0}
  107. $hr
  108. ]]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement