Advertisement
Guest User

conky

a guest
Dec 16th, 2012
177
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 10.92 KB | None | 0 0
  1. background yes
  2. use_xft yes
  3. xftfont sans:size=10
  4. xftalpha 1
  5. update_interval 1.0
  6. total_run_times 0
  7. own_window_argb_visual yes
  8. own_window yes
  9. own_window_transparent yes
  10. own_window_type
  11. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  12. double_buffer yes
  13. minimum_size 0 1080
  14. maximum_width 250
  15. draw_shades no
  16. draw_outline no
  17. draw_borders no
  18. draw_graph_borders yes
  19. default_color white
  20. default_shade_color green
  21. default_outline_color white
  22. alignment top_right
  23. gap_x 30
  24. gap_y 0
  25. no_buffers yes
  26. uppercase no
  27. cpu_avg_samples 2
  28. override_utf8_locale yes
  29. default_color CCFF99
  30. color11 051300
  31. color1 FFFFFF
  32. color2 336600
  33. color3 yellow
  34. color4 336600
  35. color5 110000
  36. color6 33CCCC
  37. color7 ffffff
  38. color8 CCFF99
  39. color9 000000
  40. color10 051300
  41. #--- LUA ---
  42. #lua_load ~/winter.lua
  43. #lua_draw_hook_pre widgets
  44.  
  45. TEXT
  46. ${color8}
  47. ${voffset -10}${font Ubuntu:size=15}${time %A, %B %Y}
  48. ${color8}$hr
  49. ${color8}${font monospace:size=16}${execp ncal -C -h | tail -n7 | head -n1}${color2}
  50. ${execp ncal -C -h | tail -n6 | sed "s/`date +%e` \|`date +%e`$/\$\{color3}&\$\{color8\}/"}
  51. $hr
  52. ${font}${alignr}                  ${freq (0)}
  53. ${color1}ПРЦ 1 :${alignc}${font webdings: size=20}${if_match ${cpu cpu0} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu0} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu0} >90}${color3}${else}${color4}${endif}=${font}
  54. ${color1}${alignr}                  ${freq (1)}
  55. ${color1}ПРЦ 2 :${alignc}${font webdings: size=15}${if_match ${cpu cpu1} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu1} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu1} >90}${color3}${else}${color2}${endif}=${font}
  56. ${color1}${alignr}                  ${freq (2)}
  57. ${color1}ПРЦ 3 :${alignc}${font webdings: size=15}${if_match ${cpu cpu2} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu2} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu2} >90}${color3}${else}${color2}${endif}=${font}
  58. ${color1}${alignr}                 ${freq (3)}
  59. ${color1}ПРЦ 4 :${alignc}${font webdings: size=15}${if_match ${cpu cpu3} >0}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >10}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >20}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >30}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >40}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >50}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >60}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >70}${color1}${else}${color2}${endif}=${if_match ${cpu cpu3} >80}${color3}${else}${color2}${endif}=${if_match ${cpu cpu3} >90}${color3}${else}${color2}${endif}=${font}
  60. ${color1}${alignr}${mem}
  61. ${color1}ОЗУ :${alignc}${font webdings: size=15}${if_match ${memperc} >0}${color1}${else}${color2}${endif}=${if_match ${memperc} >10}${color1}${else}${color2}${endif}=${if_match ${memperc} >20}${color1}${else}${color2}${endif}=${if_match ${memperc} >30}${color1}${else}${color2}${endif}=${if_match ${memperc} >40}${color1}${else}${color2}${endif}=${if_match ${memperc} >50}${color1}${else}${color2}${endif}=${if_match ${memperc} >60}${color1}${else}${color2}${endif}=${if_match ${memperc} >70}${color1}${else}${color2}${endif}=${if_match ${memperc} >80}${color3}${else}${color2}${endif}=${if_match ${memperc} >90}${color3}${else}${color2}${endif}=${font}
  62. ${color1}${alignr}${swap}
  63. ${color1}ПДКЧ :${alignc}${font webdings: size=15}${if_match ${swapperc} >0}${color1}${else}${color2}${endif}=${if_match ${swapperc} >10}${color1}${else}${color2}${endif}=${if_match ${swapperc} >20}${color1}${else}${color2}${endif}=${if_match ${swapperc} >30}${color1}${else}${color2}${endif}=${if_match ${swapperc} >40}${color1}${else}${color2}${endif}=${if_match ${swapperc} >50}${color1}${else}${color2}${endif}=${if_match ${swapperc} >60}${color1}${else}${color2}${endif}=${if_match ${swapperc} >70}${color1}${else}${color2}${endif}=${if_match ${swapperc} >80}${color3}${else}${color2}${endif}=${if_match ${swapperc} >90}${color3}${else}${color2}${endif}=${font}
  64. ${color1}${alignr}${fs_used /}
  65. ${color1}КОР :${alignc}${font webdings: size=15}${if_match ${fs_used_perc /} >0}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >10}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >20}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >30}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >40}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >50}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >60}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >70}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /} >80}${color3}${else}${color2}${endif}=${if_match ${fs_used_perc /} >90}${color3}${else}${color2}${endif}=${font}
  66. ${color1}${alignr}${fs_used /home}
  67. ${color1}ДОМ :${alignc}${font webdings: size=15}${if_match ${fs_used_perc /home} >0}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >10}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >20}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >30}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >40}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >50}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >60}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >70}${color1}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >80}${color3}${else}${color2}${endif}=${if_match ${fs_used_perc /home} >90}${color3}${else}${color2}${endif}=${font}
  68. ${color1}${alignr}  ${upspeed eth0}
  69. ${color1}ТУДА :${alignc}${font webdings: size=15}${if_match ${upspeedf eth0} >0}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >100}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >200}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >300}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >400}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >500}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >600}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >700}${color1}${else}${color2}${endif}=${if_match ${upspeedf eth0} >800}${color3}${else}${color2}${endif}=${if_match ${upspeedf eth0} >900}${color3}${else}${color2}${endif}=${font}
  70. ${color1}${alignr}   ${downspeed eth0}
  71. ${color1}СЮДА :${alignc}${font webdings: size=15}${if_match ${downspeedf eth0} >0}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >100}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >200}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >300}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >400}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >500}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >600}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >700}${color1}${else}${color2}${endif}=${if_match ${downspeedf eth0} >800}${color3}${else}${color2}${endif}=${if_match ${downspeedf eth0} >900}${color3}${else}${color2}${endif}=${font}
  72. ${color green}${alignr}${hddtemp /dev/sda}
  73. ${color1}НЖМД:${alignc}${font webdings: size=15}${if_match ${hddtemp /dev/sda} >0}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >10}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >20}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >30}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >40}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >50}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >60}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >70}${color1}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >80}${color3}${else}${color2}${endif}=${if_match ${hddtemp /dev/sda} >90}${color3}${else}${color2}${endif}=${font}
  74. ${color green}${alignr}       ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'}
  75. ${color1}ВИДЕО :${alignc}${font webdings: size=15}${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >0}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >10}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >20}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >30}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >40}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >50}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /
  76. GPUCoreTemp.*?: (\d+)./;'} >60}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >70}${color1}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >80}${color3}${else}${color2}${endif}=${if_match ${execi 60 nvidia-settings -query GPUCoreTemp | perl -ne 'print $1 if /GPUCoreTemp.*?: (\d+)./;'} >90}${color3}${else}${color2}${endif}=${font}
  77.  
  78. ${color1}ЗДЕСЬ  ${color yellow}${totaldown eth0}${alignr}${color green}${totalup eth0}  ${color1}ТАМ
  79. ${voffset 10}${color1}$hr
  80.  
  81. ${voffset 250}${color1}$hr
  82.  
  83. ${color1}${voffset -10}${font Ubuntu:size=78}${time %k:%M}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement