Advertisement
Guest User

Untitled

a guest
Sep 25th, 2015
107
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.32 KB | None | 0 0
  1. # Conky sample configuration
  2. #
  3. ##${image /root/kurs-cb.png -s 254x250 -p 5,635}
  4. ##${image /root/2.png -s 254x160 -p 5,717 -f 5}
  5.  
  6. background yes
  7. disable_auto_reload no
  8. hddtemp_host '127.0.0.1'
  9. hddtemp_port 7634
  10. #own_window_title Delvin LabDesign
  11. temperature_unit celsius
  12. #top_name_width 15
  13. use_xft yes
  14. xftfont URW Gothic L:size=10
  15. text_buffer_size 2048
  16. xftalpha 0
  17. update_interval 1
  18. total_run_times 0
  19. max_text_width 0
  20.  
  21. own_window no
  22. own_window_type desktop
  23. own_window_transparent yes
  24. #own_window_colour black
  25. own_window_hints undecorate,sticky,below,skip_taskbar,skip_pager
  26. double_buffer yes
  27. minimum_size 30
  28. maximum_width 220
  29. draw_shades no
  30. draw_outline no
  31. draw_borders no
  32. draw_graph_borders yes
  33. stippled_borders 0
  34. #border_margin 5
  35. border_width 1
  36. default_color 000000
  37. own_window_colour 000000
  38. default_shade_color 999999
  39. default_bar_size 50 8
  40. alignment tr
  41. gap_x 5
  42. gap_y -10
  43. #no_buffers yes
  44. uppercase no
  45. cpu_avg_samples 2
  46. net_avg_samples 2
  47. override_utf8_locale yes
  48. use_spacer right
  49. short_units yes
  50. show_graph_scale no
  51. show_graph_range no
  52. #default_bar_size 50 10
  53.  
  54. TEXT
  55. ${color Yellow}${font zekton:size=36:bold}${time %H}${voffset -18}${font Ubuntu:size=24}:${time %M}${font Ubuntu:size=15}${voffset -8}${color 00FFFF}:${time %S}${font Ubuntu:size=10}${voffset -8}${color FF0000}
  56. ${color FF8C00}${voffset 20}${offset 78}${font Ubuntu:size=10}${time %a %d %b}
  57. ${color FFD700}${offset 160}${font Ubuntu:size=10}${voffset -51}M: ${tztime Europe/Moscow %H:%M}
  58. ${offset 160}${font Ubuntu:size=10}O: ${tztime Asia/Omsk %H:%M}
  59. ${offset 160}${font Ubuntu:size=10}N: ${tztime Asia/Yekaterinburg %H:%M}
  60. ${color FFFFFF}${voffset -7}${hr 2}
  61. ${voffset -5}${color FF0000}${alignc}${font Ubuntu:size=10:bold}${execi 300 /usr/bin/printf "$(echo `curl -s http://fucking-great-advice.ru/api/random | awk -F \" '{print $8}'` | sed 's/\ / /g')"\\n }
  62. #${voffset -9}${color 66CDAA}${font}$hr
  63. ${voffset -5}${color FFFF00}${font Ubuntu:size=10:bold}Нанака${alignr}${color red}${exec python pens.py 11} ${color FFFF00}д.${font}
  64. #----------------Processor & temp
  65. ${voffset -5}${color ffffff}${font Poky:size=16}a${voffset -7}${hr 2}
  66. ${voffset -5}${font Ubuntu:size=12:bold}${color 00ffff}${execi 5 sensors |grep 'Core 0'|awk '{print $3}'}${alignr}${color ff0000}${execi 5 sensors |grep 'Core 2'|awk '{print $3}'}
  67. ${color 00ffff} Ядро 1${alignr}${color ff0000}Ядро 2${color}
  68. ${voffset 5}${color 00ffff}${alignc}${cpugraph cpu0 18,220 ff0000 ff0000 -l -t}${font}
  69. ${voffset -20}${alignc}${cpugraph cpu1 18,220 00ffff 00ffff -t}
  70. ${color 30d830}Частота CPU:${alignr}${execi 60 cat /proc/cpuinfo |grep MHz|sed q|cut -c 12-15} MHz
  71. #${voffset -5}${color 66CDAA}${font}$hr
  72. #${alignc}${voffset -5}${color AAAAAA}${font LED\ Simulator:size=18:bold}${uptime}${font}
  73. #${alignc}${voffset -5}${color AAAAAA}${font zekton:size=14:bold}${uptime}${font}
  74. #${alignc}${voffset -5}${color AAAAAA}${font GOST\ 2.30481\ type\ B:size=14:bold}${uptime}${font}
  75. ${color AAAAAA}${font zekton:size=15}Uptime:${alignr 20}${font LED\ Simulator:size=17:bold}${uptime}${font}
  76. #----------------Memory
  77. ${color ffffff}${font StyleBats:size=20}k${font}${voffset -7}${hr 2}
  78. ${voffset -2}${color FF8C00}Ram used: ${alignr}${offset -10}${memperc}%
  79. ${voffset -2}${color FF8C00}RAM ${mem}/${memmax}${alignr}${membar 8,50}${color}
  80. ${voffset -5}${color 60ff60}SWAP used:${alignr}${offset -10}${swapperc}%
  81. ${voffset -5}${color 60ff60}SWAP ${color FFD700}${swap}/${swapmax}${color 60ff60}${alignr}${swapbar}
  82. #----------------Internet
  83. ${voffset -5}${color ffffff}${font Poky:size=16}s${voffset -5}${hr 2}
  84. ${font Ubuntu:size=13}${color ADFF2F}Down: ${downspeed eth0}${alignr}${color FFA07A}Up: ${upspeed eth0}${color}
  85. ${voffset -5}${font Ubuntu:size=16}${color ADFF2F}${totaldown eth0}${color FFA07A}${alignr}${totalup eth0}${color}${font}
  86. ${alignc}${voffset 5}${color 008000}${downspeedgraph eth0 18,220 228B22 228B22 -l -t}
  87. ${alignc}${voffset -18}${color ffff00}${upspeedgraph eth0 18,220 FF6347 FF6347 -t}${color}
  88. #----------------IP INFO
  89. ${color ffffff}${font Poky:size=16}w${voffset -8}${font}${hr 2}
  90. ${voffset 5}${color ffff00}${font Ubuntu:size=12}Public IP:${alignr}${color FFA07A}${execi 600 wget -O - http://ip.tupeux.com | tail}${color}${font}
  91. #${color ffff00}Public IP:${alignr}${color FFA07A}${execi 600 wget -O - http://icanhazip.com/ | tail}${color}${font}
  92. #----------------Sound volume
  93. ${voffset -5}${color ffffff}${font Poky:size=16}l${voffset -7}${hr 2}
  94. ${alignc}${font Open\ 24\ Display St:size=36}${color red}${offset 20}${execi 1 amixer get Master | grep "Mono: Playback" | cut -d [ -f 2 | cut -d % -f 1}${voffset -2}%${font}
  95. #----------------Play music
  96. ${voffset -5}${color ffffff}${font PWHandySocialIcons:size=20}w${voffset -5}${hr 2}
  97. ${voffset -5}${if_running audacious}${color FF00FF}${font zekton:size=9:bold}${alignc}${exec audtool --current-song|cut -c 1-30}
  98. ${voffset -3}${if_running audacious}${color B22222}Time: ${exec audtool current-song-length}${alignr} ${if_running audacious}${exec audtool playback-status}${alignr}
  99. #----------------Obnovy
  100. ${color ffffff}${font Poky:size=16}e${voffset -7}${hr 2}
  101. ${voffset -5}${font Ubuntu:size=10}${color 00FFFF}Обновления: ${alignr}${color FF0000}${execi 600 /usr/lib/update-notifier/apt-check 2>&1 | sed 's/;/ Важных: /'}
  102. #${voffset -5}${color ffffff}${font Poky:size=16}A${font}${voffset -7}${hr 2}
  103. #${color FFАААА}${alignc}${font Ubuntu:size=10:bold}${execpi 3000 cat /home/delvin/shed.txt}
  104. #----------------Disks
  105. ${voffset -5}${color ffffff}${font Poky:size=16}y${font}${voffset -7}${hr 2}
  106. ${color 00ffff}/root ${color FFD700}${fs_free /}/${fs_size /}${color}${alignr}${color 00ffff}${fs_bar 8,50 /}
  107. ${voffset -5}${color 00ffff}/home ${color FFD700}${fs_free /home}/${fs_size /home}${color}${alignr}${color 00ffff}${fs_bar 8,50 /home}
  108. ${voffset -5}${color 00ffff}/All_docs ${color FFD700}${fs_free /mnt/All_docs}/${fs_size /mnt/All_docs}${color}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/All_docs}
  109. ${voffset -5}${color 00ffff}/defler ${color FFD700}${fs_free /mnt/defler}/${fs_size /mnt/defler}${color}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/defler}
  110. ${voffset -5}${color 00ffff}/mama ${color FFD700}${fs_free /mnt/mama}/${fs_size /mnt/mama}${color}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/mama}
  111. ${if_mounted /mnt/ftp}${voffset -5}${color 00ffff}FTP ${color FFD700}${fs_free /mnt/ftp}/${fs_size /mnt/ftp}${alignr}${color 00ffff}${fs_bar 8,50 /mnt/ftp}${endif}
  112. #------------------RSS Bash
  113. #${color FFFFFF}${font Ubuntu:size=8}${rss http://bash.im/rss/ 10 feed_title} $hr 2
  114. #${rss http://bash.im/rss/ 10 item_title 0}
  115. #${rss http://bash.im/rss/ 10 item_desc 0}
  116. #${voffset -5}${color ffffff}${font Poky:size=11}qwertyuiop[]
  117. #${voffset -5}${color ffffff}${font Poky:size=11}asdfghjkl;
  118. #${voffset -5}${color ffffff}${font Poky:size=11}zxcvbnm,./
  119. #${voffset -5}${color ffffff}${font Poky:size=11}QWERTYUIOP{}
  120. #${voffset -5}${color ffffff}${font Poky:size=11}ASDFGHJKL:
  121. #${voffset -5}${color ffffff}${font Poky:size=11}ZXCVBNM<>?
  122. ##${voffset -5}${color ffffff}${font PWHandySocialIcons:size=10}qwertyuiopasdfghjkl
  123. #● ${top name 1}${alignr}${top cpu 1}%
  124. #● ${top name 2}${alignr}${top cpu 2}%
  125. #● ${top name 3}${alignr}${top cpu 3}%
  126. #● ${top name 4}${alignr}${top cpu 4}%
  127. ${font Ubuntu:size=8,weight:normal}${voffset -10}${color ffffff}${hr 2}
  128. ${voffset -5}${top name 1}${alignc -25}${top cpu 1}%${alignr}${top mem 1}%
  129. ${voffset -5}${top name 2}${alignc -25}${top cpu 2}%${alignr}${top mem 2}%
  130. ${voffset -5}${top name 3}${alignc -25}${top cpu 3}%${alignr}${top mem 3}%
  131. ${voffset -5}${top name 4}${alignc -25}${top cpu 4}%${alignr}${top mem 4}%
  132. #${voffset -5}${alignr}${color2}${tcp_portmon 1 65535 count}
  133. ${voffset -7}${color ffffff}${hr 2}
  134. ${voffset -7}${tcp_portmon 1 65535 rip 0}${alignr 1}${tcp_portmon 1 65535 rport 0}
  135. ${voffset -5}${tcp_portmon 1 65535 rip 1}${alignr 1}${tcp_portmon 1 65535 rport 1}
  136. ${voffset -5}${tcp_portmon 1 65535 rip 2}${alignr 1}${tcp_portmon 1 65535 rport 2}
  137. ${voffset -5}${tcp_portmon 1 65535 rip 3}${alignr 1}${tcp_portmon 1 65535 rport 3}
  138. ${voffset -5}${tcp_portmon 1 65535 rip 4}${alignr 1}${tcp_portmon 1 65535 rport 4}
  139. ${voffset -5}${tcp_portmon 1 65535 rip 5}${alignr 1}${tcp_portmon 1 65535 rport 5}
  140. #${voffset -5}${tcp_portmon 1 65535 rip 6}${alignr 1}${tcp_portmon 1 65535 rport 6}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement