NoPaste

1conkyrc

von Apfelmann
SNIPPET_DESC:
konkyrc
SNIPPET_CREATION_TIME:
01.01.2017 16:06:56
SNIPPET_PRUNE_TIME:
Unendlich

SNIPPET_TEXT:
  1. # Conky settings #
  2. background no
  3. update_interval 1
  4.  
  5. cpu_avg_samples 2
  6. net_avg_samples 2
  7.  
  8. override_utf8_locale yes
  9.  
  10. double_buffer yes
  11. no_buffers yes
  12.  
  13. text_buffer_size 2048
  14. #imlib_cache_size 0
  15.  
  16. temperature_unit fahrenheit
  17.  
  18. # Window specifications #
  19. own_window yes
  20. own_window_type normal
  21. own_window_transparent yes
  22. own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below
  23.  
  24. border_inner_margin 0
  25. border_outer_margin 5
  26.  
  27. minimum_size 250 300
  28. maximum_width 250
  29.  
  30. alignment top_right
  31. gap_x 10
  32. gap_y 50
  33.  
  34. # Graphics settings #
  35. draw_shades no
  36. draw_outline no
  37. draw_borders no
  38. draw_graph_borders yes
  39.  
  40. # Text settings #
  41. use_xft yes
  42. xftfont caviar dreams:size=8
  43. xftalpha 0.5
  44.  
  45. uppercase no
  46.  
  47. temperature_unit celsius
  48.  
  49. default_color FFFFFF
  50.  
  51. # Lua Load  #
  52. lua_load ~/.config/conky/clock01_rings.lua
  53. lua_draw_hook_pre clock_rings
  54.  
  55. own_window_argb_value 0
  56. own_window_argb_visual yes
  57. own_window_colour 000000
  58. TEXT
  59. #----------------------------------------------------------------------------------------------------------------------------------------
  60. #                                                Time and date
  61. #----------------------------------------------------------------------------------------------------------------------------------------
  62. ${voffset 7}${font Radio Space:size=16}${color 162d50}${time %A}${font}$color${font Radio Space:size=38}${goto 167}${voffset -8} ${time %e}${font}
  63. ${font Radio Space:size=18}${voffset -30}${time %b}${font}${voffset -3} ${font Radio Space:size=20}${time %Y}${font}${color 162d50} ${hr 1}
  64. #----------------------------------------------------------------------------------------------------------------------------------------
  65. #                                                Battery Circle
  66. #----------------------------------------------------------------------------------------------------------------------------------------
  67. ${color FFFFFF}${goto 209}${voffset 34}${battery_percent}%
  68. ${color 162d50}${goto 202}${voffset 25}Battery
  69. #----------------------------------------------------------------------------------------------------------------------------------------
  70. #                                               Weather
  71. #----------------------------------------------------------------------------------------------------------------------------------------
  72. #${font conkyweather:size=35}${color FFFFFF}${goto 200}${voffset 20}${execpi 6000  sed -n '2p' ~/.conky/accu_weather/rss/weather}$color${font}${font Radio Space:size=11}${color 162d50}${goto 202}${voffset 12}HOME
  73. #${execi 600 bash ~/.conky/accu_weather/rss/acc_rss}${font Radio Space:size=15}${goto 201}${voffset -4}${execpi 600 sed -n '1p' ~/.conky/accu_weather/rss/weather|awk '{print $NF}'}${font}$color
  74.  
  75.  
  76.  
  77.  
  78.  
  79.  
  80.  
  81.  
  82. ${font caviar dreams:style=bold:size=8}${goto 47}${voffset 5}Uptime: ${uptime_short}
  83. #----------------------------------------------------------------------------------------------------------------------------------------
  84. #                                                  CPU usage
  85. #----------------------------------------------------------------------------------------------------------------------------------------
  86. ${color #162d50}${hr 1}$color
  87. ${color #162d50}${voffset 6}Temp: $color       ${acpitemp}°C
  88. ${color #162d50}${voffset 6}Processes:$color $processes
  89. ${color #162d50}${voffset 6}Running: $color   $running_processes${goto 116}${voffset 8}${cpu cpu0}% ${color 162d50}${goto 116}${voffset 13}CPU1$color${goto 191}${voffset -12}${cpu cpu1}% ${color 162d50}${goto 191}${voffset 12}CPU2$color
  90. ${color #162d50}${voffset -12}FREQ:$color ${freq}MHz
  91. ${color #162d50}${voffset 6}Load:$color ${loadavg}
  92. #----------------------------------------------------------------------------------------------------------------------------------------
  93. #                                               Network
  94. #----------------------------------------------------------------------------------------------------------------------------------------
  95. ${color 162d50}${voffset 2}${hr 1}
  96. ${color 162d50}${voffset 5}Hostname: $color$alignr$nodename
  97. ${color 162d50}wlan0: $color$alignr${addr wlan0}
  98. ${color 162d50}Current: $color${alignr}${execi 10 /sbin/iwconfig wlan0|grep Rate|cut -d"M" -f1|cut -b20-24} Mbits/sec
  99. ${color 162d50}eth0: $color$alignr${addr eth0}
  100.  
  101. ${color #162d50}Down: $color${downspeed wlan0} k/s ${alignr}${color #162d50}Up:$color ${upspeed wlan0} k/s
  102. ${downspeedgraph wlan0 30,120 000000 162d50} ${alignr}${upspeedgraph wlan0 30,120 000000 162d50}$color
  103. ${color #162d50}Total:$color ${totaldown wlan0} ${alignr}${color #162d50}Total:$color ${totalup wlan0}
  104. #----------------------------------------------------------------------------------------------------------------------------------------
  105. #                                       DISK/RAM/SWAP usage
  106. #----------------------------------------------------------------------------------------------------------------------------------------
  107. ${color 162d50}${voffset 2}${hr 1}
  108. ${color FFFFFF}${goto 7}${voffset 39}${fs_used_perc /}%
  109. ${color 162d50}${goto 7}DISK
  110. ${color FFFFFF}${goto 102}${voffset -27}${memperc}%
  111. ${color 162d50}${goto 102}RAM
  112. ${color FFFFFF}${goto 192}${voffset -26}${fs_used_perc /home/}%
  113. ${color 162d50}${goto 191}HOME
  114. #----------------------------------------------------------------------------------------------------------------------------------------
  115. #                                          Running processes
  116. #----------------------------------------------------------------------------------------------------------------------------------------
  117. ${color 162d50}${voffset 2} ${hr 1}
  118. ${color #162d50}${voffset 5}NAME${goto 122}PID${goto 163}CPU%${goto 210}MEM%$color${voffset 5}
  119. ${top name 1}${goto 115}${top pid 1}${goto 160}${top cpu 1}${goto 205}${top mem 1}
  120. ${top name 2}${goto 115}${top pid 2}${goto 160}${top cpu 2}${goto 205}${top mem 2}
  121. ${top name 3}${goto 115}${top pid 3}${goto 160}${top cpu 3}${goto 205}${top mem 3}
  122. ${top name 5}${goto 115}${top pid 5}${goto 160}${top cpu 5}${goto 205}${top mem 5}
  123. ${top name 6}${goto 115}${top pid 6}${goto 160}${top cpu 6}${goto 205}${top mem 6}
  124. ${top name 7}${goto 115}${top pid 7}${goto 160}${top cpu 7}${goto 205}${top mem 7}
  125. ${top name 8}${goto 115}${top pid 8}${goto 160}${top cpu 8}${goto 205}${top mem 8}
  126. #----------------------------------------------------------------------------------------------------------------------------------------
  127. #                                            Computer info
  128. #----------------------------------------------------------------------------------------------------------------------------------------
  129. ${color 162d50}${voffset 2}${hr 1}${voffset 5}
  130. ${font caviar dreams:size=9}${color 162d50}Hostname:$color${alignr}${nodename}
  131. ${color 162d50}OS:$color${alignr}${pre_exec cat /etc/siduction-version | awk '{ print $1"-"$5 }'} $machine
  132. ${color 162d50}Kernel:$color${alignr}${kernel}$color
  133. #----------------------------------------------------------------------------------------------------------------------------------------
  134. #                                               Logging
  135. #----------------------------------------------------------------------------------------------------------------------------------------
  136. #${color 162d50}${voffset 2}${hr 1}$color
  137. #${color 162d50}${alignc}Messages:$color
  138. #${color 162d50}${voffset -5}${hr 1}$color
  139. #${voffset 5}${execi 10 tail -n6 /var/log/messages | awk '{print " ",$5,$6,$7,$8,$9,$10}' | fold -w40}

Quellcode

Hier kannst du den Code kopieren und ihn in deinen bevorzugten Editor einfügen. PASTEBIN_DOWNLOAD_SNIPPET_EXPLAIN