Dodany przez: tomekw, 08:29 11-01-2017

Nowy Pobierz
  1. #########################################
  2. ############## BASIC INFO ###############
  3. #########################################
  4. # Conky Configuration File
  5. # Name: LPC (Light, Pretty, Cormfortable)
  6. # License: WTFPL (Do What the Fuck You Want to Public License)
  7. # Author: tomasz.wojcik.88@gmail.com
  8. # If any asks or question, just write to me
  9. #########################################
  10.  
  11.  
  12.  
  13.  
  14.  
  15. ####################
  16. ###   Settings   ###
  17. ####################
  18.  
  19. background yes
  20. no_buffers yes
  21. short_units yes
  22. double_buffer yes
  23. no_buffers yes
  24. extra_newline no
  25.  
  26. if_up_strictness address
  27. temperature_unit celsius
  28. format_human_readable
  29.  
  30. update_interval 1
  31. cpu_avg_samples 1
  32. net_avg_samples 1
  33. total_run_times 0
  34. imlib_cache_size 0
  35. default_bar_size 200 10
  36. default_graph_size 200 100
  37. diskio_avg_samples 10
  38. text_buffer_size 4096
  39.  
  40.  
  41.  
  42. ####################
  43. ###   Position   ###
  44. ####################
  45. alignment top_right
  46. gap_x 12
  47. gap_y 40
  48. minimum_size 300 870
  49. maximum_width 300
  50.  
  51.  
  52.  
  53. ###################
  54. ###   Borders   ###
  55. ###################
  56.  
  57. border_inner_margin 0
  58. border_outer_margin 10
  59. border_width 0
  60. draw_borders no
  61. draw_graph_borders yes
  62. draw_outline no
  63. draw_shades yes
  64. stippled_borders 1
  65.  
  66.  
  67.  
  68. ##################
  69. ###   Window   ###
  70. ##################
  71.  
  72. own_window yes
  73. own_window_argb_visual no  ### DON'T CHANGE THAT !!!
  74. own_window_argb_value 200
  75. own_window_class Conky
  76. own_window_colour 000000
  77. own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
  78. own_window_type desktop
  79. own_window_transparent yes
  80. own_window_title system_conky
  81.  
  82.  
  83.  
  84. ################
  85. ###   Font   ###
  86. ################
  87.  
  88. max_text_width 0
  89. override_utf8_locale yes
  90. uppercase no
  91. use_spacer none
  92. use_xft yes
  93. xftfont Ubuntu :size=9
  94. xftalpha 0.9
  95.  
  96.  
  97.  
  98. ###########################
  99. ###   Defining Colors   ###
  100. ###########################
  101.  
  102. default_color FFFFFF # WHITE #
  103. default_outline_color 000000 # BLACK #
  104. default_shade_color 000000 # BLACK #
  105.  
  106. color1 DDDDDD # LIGHT GRAY #
  107. color2 AAAAAA # DEEP GRAY #
  108. color3 1793d0 # BLUE - DESCRIPTION LOWER #
  109. color4 EF5A29 # DEEP ORANGE - PICTURE MAIN #
  110. color5 77B753 # GREEN -DOWNLOAD # COLOR NOT USED #
  111. color6 FFA300 # LIGHT ORANGE - DESCRITION MAIN#
  112. color7 CE0000 # RED - UPLOAD #
  113. color8 violet # VIOLET - PICTURE LOWER #
  114. color9 1AFF00 # GREEN SATURATED - DOWNLOAD #
  115.  
  116.  
  117.  
  118.  
  119.  
  120. ############
  121. ### TEXT ###
  122. ############
  123.  
  124. TEXT
  125. ### HOUR ###
  126. ${alignc}${font Ubuntu :size=20,weight:bold}${color}${time %H:%M}
  127. ### SYSTEM ###
  128. ${voffset 10}${font ConkyColors:size=12}${color4}h${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}SYSTEM $hr
  129. ${voffset 5}${offset 5}${color8}${font ConkyColors:size=10}o${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} Uptime${offset 10}${color}$uptime
  130. ${offset 5}${color8}${font ConkyColors:size=10}E${font}${voffset -2}${color3}${font Ubuntu:size=9,weight:bold} Kernel:${offset 10}${color} $kernel ${color3}  on  ${color}$machine
  131. ${offset 5}${color8}${font ConkyColors:size=10}p${font}${voffset -2}${color3}${font Ubuntu:size=9,weight:bold} User:${offset 22}${color} ${execi 1000 whoami}${color3}@${color}${execi 1000 hostname}
  132. ### PROCESSORS ###
  133. ${voffset 7}${font ConkyColors:size=12}${color4}e${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}CPU $hr
  134. ${voffset 5}${offset 5}${color8}${font ConkyColors:size=10}C${font}${voffset -2}${font Ubuntu:size=9,weight:bold}${color3} CPU 1${offset 5}${if_match ${cpu cpu0} > 85}${color7}${else}${if_match ${cpu cpu0} > 60}${color8}${else}${color}${endif}${endif}${font Ubuntu :size=9,weight:bold}${cpu cpu0}%${offset 12}${color8}${voffset 2}${font ConkyColors:size=10}9${font}${voffset -2}${font Ubuntu:size=9,weight:bold}${color}${execi 60 sensors | grep 'Core 0' | awk {'print $3 " / " $6'} | cut -c 2-19}${alignr}${voffset 1}${color8}${font ConkyColors:size=10}C${font}${voffset -2}${font Ubuntu:size=9,weight:bold}${color3} CPU 2${offset 5}${if_match ${cpu cpu1} > 85}${color7}${else}${if_match ${cpu cpu1} > 60}${color8}${else}${color}${endif}${endif}${font Ubuntu :size=9,weight:bold}${cpu cpu1}%    
  135. ${color}${cpugraph cpu0 30,140 1793d0 ffffff}${offset 20}${color}${cpugraph cpu1 30,140 1793d0 ffffff}
  136. ### RAM ###
  137. ${voffset 7}${font ConkyColors:size=12}${color4}g${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}RAM $hr
  138. ${voffset 3}${offset 5}${font Ubuntu:size=9,weight:bold}${color3}Used${offset 5}${color}${if_match ${memperc} > 80}${color7}${else}${if_match ${memperc} > 50}${color8}${else}${color}${endif}${endif}${font Ubuntu :size=9,weight:bold}${memperc}%${offset 5}${color}${memfree}/${memmax}${voffset -8}${alignr}${memgraph 20, 150 1793d0 ffffff}
  139. ### SDA ###
  140. ${voffset 7}${font ConkyColors:size=12}${color4}i${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}SDA $hr
  141. ${voffset 3}${offset 5}${font Ubuntu:size=9,weight:bold}${color3}/${offset 10}${color}${fs_used_perc /}%${offset 10}${fs_free /}/${fs_size /}${offset 10}${alignr}${voffset -4}${fs_bar 15,120 /}
  142. ${offset 5}${font Ubuntu:size=9,weight:bold}${color3}/home${offset 10}${color}${fs_used_perc /home}%${offset 10}${fs_free /home}/${fs_size /home}${offset 5}${alignr}${voffset -4}${fs_bar 15,120 /home}
  143. ${offset 5}${color3}${font ConkyColors:size=10}z${font}${voffset -2}${font Ubuntu:size=9,weight:bold} SWAP${offset 10}${color}${if_match ${swapperc} > 80}${color7}${else}${if_match ${swapperc} > 50}${color8}${else}${color}${endif}${endif}${swapperc}%${offset 10}${swapfree}/${swapmax}${alignr}${voffset -4}${swapbar 15, 120 1793d0 ffffff}
  144. ### NVIDIA ###
  145. ${voffset 7}${font ConkyColors:size=12}${color4}C${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}NVIDIA $hr
  146. ${voffset 5}${offset 5}${color8}${font ConkyColors:size=10}9${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} GPU Temp${offset 20}${color}${nvidia temp}°C${alignr}${color8}${font ConkyColors:size=10}l${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} GPU Clock${offset 15}${color}${nvidia gpufreq}MHz        
  147. ${voffset 5}${offset 5}${color8}${font ConkyColors:size=10}g${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} RAM${offset 20}${color}${execi 5 nvidia-settings -q [gpu:0]/UsedDedicatedGPUMemory -t} / ${exec nvidia-settings -q [gpu:0]/TotalDedicatedGPUMemory -t}MB${alignr}${color8}${font ConkyColors:size=10}l${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} RAM Clock${offset 15}${color}${nvidia memfreq}MHz        
  148. ### NETWORK ###
  149. ${voffset 7}${if_existing /proc/net/route eth0}${font ConkyColors:size=12}${color4}n${font}${offset 3}${voffset -3}${font Ubuntu :size=10,weight:bold}${color6}ETHERNET $hr
  150. ${voffset 3}${offset 5}${color8}${font ConkyColors:size=10}t${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} Total${offset 10}${color}${execi 1000 vnstat | grep `date +%b`" '"`date +%y` | awk {'print $3,$4'}}              
  151. ${voffset 7}${offset 5}${color7}${font ConkyColors:size=10}x${font}${voffset -2}${font Ubuntu:size=9,weight:bold}${offset 15}${color}${totalup eth0}${offset 15}${upspeed eth0}${alignr}${downspeed eth0}${color}${offset 15}${totaldown eth0}${offset 15}${color9}${font ConkyColors:size=10}w${font}          
  152. ${color}${upspeedgraph eth0 20,140 CE0000 FFFFFF 10000000 -l}${offset 20}${downspeedgraph eth0 20,140 1AFF00 FFFFFF 10000000 -l}
  153. ### WI-FI ###
  154. ${else}${voffset 7}${font ConkyColors:size=12}${color4}j${font}${offset 3}${voffset -5}${font Ubuntu :size=10,weight:bold}${color6}Wi-FI $hr
  155. ${voffset 3}${offset 5}${color8}${font ConkyColors:size=10}k${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} Sig${offset 10}${color}${wireless_link_qual wlan0}%${alignr}${color8}${font ConkyColors:size=10}t${font}${voffset -2}${font Ubuntu :size=9,weight:bold}${color3} Total${offset 10}${color}${execi 1000 vnstat | grep `date +%b`" '"`date +%y` | awk {'print $3,$4'}}      
  156. ${voffset 7}${offset 5}${color7}${font ConkyColors:size=10}x${font}${voffset -2}${font Ubuntu:size=9,weight:bold}${offset 15}${color}${totalup wlan0}${offset 15}${upspeed wlan0}${alignr}${downspeed wlan0}${color}${offset 15}${totaldown wlan0}${offset 15}${color9}${font ConkyColors:size=10}w${font}          
  157. ${color}${upspeedgraph wlan0 20,140 CE0000 FFFFFF 10000000 -l}${offset 20}${downspeedgraph wlan0 20,140 1AFF00 FFFFFF 10000000 -l}
  158. ### TOP 10 ###
  159. ${voffset 7}${font ConkyColors:size=12}${color4}n${font}${offset 3}${voffset -3}${font Ubuntu :size=10,weight:bold}${color6}TOP 10 $hr
  160. ${voffset 3}${offset 30}${color8}${font ConkyColors:size=10}e${font}${voffset -2}${font Ubuntu :size=10,weight:bold}${color3} CPU${offset 140}${color8}${font ConkyColors:size=10}g${font}${voffset -2}${font Ubuntu :size=10,weight:bold}${color3} RAM${color}
  161. ${font Ubuntu:size=9,weight:bold}${top name 1}${top cpu 1}%${alignr}${font Ubuntu:size=9,weight:bold}${top_mem name 1}${top_mem mem 1}%
  162. ${font Ubuntu:size=9,weight:bold}${top name 2}${top cpu 2}%${alignr}${font Ubuntu:size=9,weight:bold}${top_mem name 2}${top_mem mem 2}%
  163. ${font Ubuntu:size=9,weight:bold}${top name 3}${top cpu 3}%${alignr}${font Ubuntu:size=9,weight:normal}${top_mem name 3}${top_mem mem 3}%
  164. ${font Ubuntu:size=9,weight:bold}${color1}${top name 4}${top cpu 4}%${alignr}${font Ubuntu:size=9,weight:normal}${color1}${top_mem name 4}${top_mem mem 4}%
  165. ${font Ubuntu:size=9,weight:bold}${color1}${top name 5}${top cpu 5}%${alignr}${font Ubuntu:size=9,weight:normal}${color1}${top_mem name 5}${top_mem mem 5}%
  166. ${font Ubuntu:size=9,weight:bold}${color1}${top name 6}${top cpu 6}%${alignr}${font Ubuntu:size=9,weight:normal}${color1}${top_mem name 6}${top_mem mem 6}%
  167. ${font Ubuntu:size=9,weight:bold}${color2}${top name 7}${top cpu 7}%${alignr}${font Ubuntu:size=9,weight:normal}${color2}${top_mem name 7}${top_mem mem 7}%
  168. ${font Ubuntu:size=9,weight:bold}${color2}${top name 8}${top cpu 8}%${alignr}${font Ubuntu:size=9,weight:normal}${color2}${top_mem name 8}${top_mem mem 8}%
  169. ${font Ubuntu:size=9,weight:bold}${color2}${top name 9}${top cpu 9}%${alignr}${font Ubuntu:size=9,weight:normal}${color2}${top_mem name 9}${top_mem mem 9}%
  170. ${font Ubuntu:size=9,weight:bold}${color2}${top name 10}${top cpu 10}%${alignr}${font Ubuntu:size=9,weight:normal}${color2}${top_mem name 10}${top_mem mem 10}%

Źródło:

Ostatnie wpisy

Linki

Funkcje