Advertisement
Guest User

Untitled

a guest
Jul 28th, 2024
106
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.37 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 = 'top_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 = 20,
  43. gap_y = 1,
  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. own_window_class = 'Conky',
  53. own_window_type = 'desktop',
  54. stippled_borders = 0,
  55. update_interval = 1.0,
  56. uppercase = false,
  57. use_spacer = 'none',
  58. show_graph_scale = false,
  59. show_graph_range = false
  60. }
  61.  
  62. conky.text = [[
  63. ${color white} Rendszer informaciok ${hr 2}
  64. $nodename
  65. $sysname $kernel $machine
  66. Processzor informaciok ${hr 2}
  67. CPU: ${loadavg} %
  68. ${cpubar 8,100}
  69. ${cpugraph 30,250}
  70. Memoria informaciok ${hr 2}
  71. RAM: $memperc% ${membar 8,195}
  72. ${memgraph 30,250}
  73.  
  74. CPU Hőmérséklete
  75. ${execi 10 sensors | grep -A 0 'Core 0' | cut -c 1-22}
  76. ${execi 10 sensors | grep -A 0 'Core 1' | cut -c 1-22}
  77. #${execi 10 sensors | grep -A 0 'Core 2' | cut -c 1-22}
  78. #${execi 10 sensors | grep -A 0 'Core 3' | cut -c 1-22}
  79.  
  80. CPU
  81. ${cpubar cpu0}
  82. ${cpubar cpu1}
  83. ${cpubar cpu2}
  84. ${cpubar cpu3}
  85.  
  86. Merevlemez informaciok ${hr 2}
  87. sda1 ${fs_free_perc /}% ${fs_bar 8,195 /}
  88.  
  89. #Halozat informaciok ${hr 2}
  90. #Letoltes: ${downspeed wlp3s0} k/s
  91. #${downspeedgraph wlp3s0 40,250}
  92. #Feltoltes: ${upspeed wlp3s0} k/s
  93. #${upspeedgraph wlp3s0 40,250}
  94. Alkalmazas informaciok ${hr 2}
  95. Nev PID CPU% MEM%
  96. ${color FF0000}${top name 1} | ${top pid 1} | ${top cpu 1} | ${top mem 1}
  97. ${color E62000}${top name 2} | ${top pid 2} | ${top cpu 2} | ${top mem 2}
  98. ${color CC4000}${top name 3} | ${top pid 3} | ${top cpu 3} | ${top mem 3}
  99. ${color B36000}${top name 4} | ${top pid 4} | ${top cpu 4} | ${top mem 4}
  100. ${color 998000}${top name 5} | ${top pid 5} | ${top cpu 5} | ${top mem 5}
  101. ${color 809F00}${top name 6} | ${top pid 6} | ${top cpu 6} | ${top mem 6}
  102. ${color 66BF00}${top name 7} | ${top pid 7} | ${top cpu 7} | ${top mem 7}
  103. ${color 4DDF00}${top name 8} | ${top pid 8} | ${top cpu 8} | ${top mem 8}
  104. ${color 33FF00}${top name 9} | ${top pid 9} | ${top cpu 9} | ${top mem 9}
  105.  
  106. #${font Aerial:style=Bold:pixelsize=12}Névnap:${font Snap.se:size=8}
  107. #${font Aerial :size=8}${rss http://rss.messze.net/rss.php 3 item_titles 3}
  108.  
  109. ${font :size=8:style=Bold}DATE${font} ${hr 2}
  110. ${voffset -10}${goto 30}${font Arial Black:size=35}${color1}${time %H}${color}${font}${voffset -32}${goto 115}${font Arial Black:size=35}${color1}${time : %M}${color}${font}
  111. ${voffset -40}${goto 115}${alignr}${font}${color1}${time %A}${color}${font}
  112. ${goto 115}${alignr}${font}${time %Y %b %d}
  113.  
  114. ${color FFD293}Névnapok
  115. #${color3}Tegnap: ${color3}${execi 3600 cat ~/nevnap.txt #| grep "^`date +%m%d --date 'date -1 days'`" | cut -c 6-}
  116. ${color1}Ma: ${color1}${execi 3600 cat ~/nevnap.txt | grep "^`date +%m%d`" | cut -c 6-}
  117. ${color3}Holnap: ${color3}${execi 3600 cat ~/nevnap.txt | grep "^`date +%m%d --date '1 days'`" | cut -c 6-}
  118. #${color3}Tegnap: ${color3}${execi 3600 cat ~/nevnap.txt #| grep "^`date +%m%d --date '%m%d -2 days'`" | cut -c 6-}
  119. ]]
  120.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement