Advertisement
DCGarcia

Conkyrc 21-11-12

Nov 20th, 2012
224
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 8.00 KB | None | 0 0
  1. ######################
  2. # - Conky settings - #
  3. ######################
  4. update_interval 1
  5. total_run_times 0
  6. net_avg_samples 1
  7. cpu_avg_samples 1
  8. if_up_strictness link
  9.  
  10. imlib_cache_size 0
  11. double_buffer yes
  12. no_buffers yes
  13.  
  14. format_human_readable
  15.  
  16. #####################
  17. # - Text settings - #
  18. #####################
  19. use_xft yes
  20. xftfont Ubuntu:size=8
  21. override_utf8_locale yes
  22. text_buffer_size 2048
  23.  
  24. #############################
  25. # - Window specifications - #
  26. #############################
  27. own_window_class Conky
  28. own_window yes
  29. own_window_type override
  30. own_window_transparent yes
  31. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  32.  
  33. alignment top_right
  34. gap_x 25
  35. gap_y 40
  36. minimum_size 182 600
  37. maximum_width 182
  38.  
  39. default_bar_size 60 8
  40.  
  41. #########################
  42. # - Graphics settings - #
  43. #########################
  44. draw_shades no
  45.  
  46. default_color cccccc
  47.  
  48. color0 white
  49. color1 709937
  50. color2 white
  51. color3 51751E
  52.  
  53. TEXT
  54. ${font Ubuntu:style=Bold:size=8}SISTEMA $stippled_hr${font}
  55. ##############
  56. # - SYSTEM - #
  57. ##############
  58. ${color0}${voffset 6}${font OpenLogos:size=19}u${font}${color}${goto 32}${voffset -14}Kernel: ${alignr}${color2}${kernel}${color}
  59. ${goto 32}Atividade: ${alignr}${color2}${uptime}${color}
  60. # |--CPU
  61. ${voffset 2}${offset 2}${color0}${font Poky:size=14}P${font}${offset -19}${voffset 9}${offset 1}${cpubar cpu0 4,18}${color}${voffset -16}${goto 32}CPU1: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu1}%${font} ${alignr}${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 0' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu1 8,50 709937 51751E}${color}
  62. ${goto 32}CPU2: ${font Ubuntu:style=Bold:size=8}${color1}${cpu cpu2}%${font} ${alignr}${font Ubuntu:style=Bold:size=8}${color1}${execi 30 sensors | grep 'Core 1' | awk '{print $3}' | sed 's/+//' | sed 's/\.0//g'}${color}${font} ${color2}${cpugraph cpu2 8,50 709937 51751E}${color}
  63. # |--MEM
  64. ${voffset 2}${offset 1}${color0}${font Poky:size=14}M${font}${color}${goto 32}${voffset -7}RAM: ${font Ubuntu:style=Bold:size=8}${color1}$memperc%${color}${font}
  65. ${voffset 1}${offset 1}${voffset 2}${color0}${membar 4,18}${color}${goto 32}${voffset -2}F: ${font Ubuntu:style=Bold:size=8}${color2}${memeasyfree}${color}${font} U: ${font Ubuntu:style=Bold:size=8}${color2}${mem}${color}${font}
  66. # |--SWAP
  67. ${voffset 4}${offset 1}${color0}${font Poky:size=12}s${font}${color}${voffset -4}${goto 32}SWAP: ${font Ubuntu:style=Bold:size=8}${color1}${swapperc}%${color}${font}
  68. ${voffset 2}${offset 1}${color0}${swapbar 4,18}${color}${voffset -2}${goto 32}F: ${font Ubuntu:style=Bold:size=8}${color2}$swapmax${color}${font} U: ${font Ubuntu:style=Bold:size=8}${color2}$swap${color}${font}
  69. # |--BATTERY
  70. ${if_existing /sys/class/power_supply/BAT0}${color0}${font Poky:size=13}E${font}${color}${goto 32}${voffset -5}Bateria: ${font Ubuntu:style=Bold:size=8}${color1}${battery_percent BAT0}%${color}${font} ${alignr}${color2}${battery_bar BAT0 8,60}${color}${else}${color0}${font Poky:size=13}E${font}${color}${goto 32}${voffset -5}Bateria: ${font Ubuntu:style=Bold:size=8}${color2}Status desconhecido${color}${font}${endif}
  71. #############
  72. # - CLOCK - #
  73. #############
  74. ${voffset 4}${font Ubuntu:style=Bold:size=8}DATA $stippled_hr${font}
  75. ${font Digital Readout Thick Upright:size=40}${goto 22}${color2}${time %k}${voffset -9}:${voffset 9}${time %M}${goto 130}${color2}${voffset -14}${font Digital Readout Thick Upright:size=24}${goto 130}${color2}${time %d}${font Digital Readout Thick Upright:size=12}${voffset 14}${goto 130}${color2}${time %m}${goto 144}${color2}${time %y}${font}
  76. ##########
  77. # - HD - #
  78. ##########
  79. ${voffset 4}${font Ubuntu:style=Bold:size=8}HD $stippled_hr${font}
  80. # |--HDTEMP1
  81. ${voffset 4}${color0}${font Weather:size=15}y${font}${color}${voffset -3}${goto 32}Temperatura: ${font Ubuntu:style=Bold:size=8}${color1}${execi 120 hddtemp /dev/sda -n --unit=C}°C${color}${font}${alignr}${color2}/dev/sda${color}
  82. ${execpi 30 /usr/share/conkycolors/bin/conkyHD1}
  83. ###############
  84. # - NETWORK - #
  85. ###############
  86. ${voffset -4}${font Ubuntu:style=Bold:size=8}REDE $stippled_hr${font}
  87. # |--WLAN0
  88. ${if_up wlan0}
  89. ${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed wlan0}${color}${font} ${alignr}${color2}${upspeedgraph wlan0 8,60 709937 51751E}${color}
  90. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup wlan0}${color}${font}
  91. ${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed wlan0}${color}${font} ${alignr}${color2}${downspeedgraph wlan0 8,60 709937 51751E}${color}
  92. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown wlan0}${color}${font}
  93. ${voffset 2}${color0}${font Poky:size=14}Y${font}${color}${goto 32}${voffset -2}Sinal: ${font Ubuntu:style=Bold:size=8}${color1}${wireless_link_qual_perc wlan0}%${color}${font} ${alignr}${color2}${wireless_link_bar 8,60 wlan0}${color}
  94. ${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -8}Ip local: ${alignr}${color2}${addr wlan0}${color}
  95. ${goto 32}Ip externo: ${alignr}${color2}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
  96. # |--ETH0
  97. ${else}${if_up eth0}
  98. ${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed eth0}${color}${font} ${alignr}${color2}${upspeedgraph eth0 8,60 709937 51751E}${color}
  99. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup eth0}${color}${font}
  100. ${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed eth0}${color}${font} ${alignr}${color2}${downspeedgraph eth0 8,60 709937 51751E}${color}
  101. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown eth0}${color}${font}
  102. ${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -4}Ip local: ${alignr}${color2}${addr eth0}${color}
  103. ${goto 32}Ip externo: ${alignr}${color2}${execi 10800 /usr/share/conkycolors/bin/conkyIp}${color}
  104. # |--PPP0
  105. ${else}${if_up ppp0}
  106. ${voffset -5}${color0}${font Webdings:size=17}”${font}${color}${goto 32}${voffset -5}Up: ${font Ubuntu:style=Bold:size=8}${color1}${upspeed ppp0}${color}${font} ${alignr}${color2}${upspeedgraph ppp0 8,60 709937 51751E}${color}
  107. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totalup ppp0}${color}${font}
  108. ${voffset 2}${color0}${font Webdings:size=17}“${font}${color}${goto 32}${voffset -5}Down: ${font Ubuntu:style=Bold:size=8}${color1}${downspeed ppp0}${color}${font} ${alignr}${color2}${downspeedgraph ppp0 8,60 709937 51751E}${color}
  109. ${goto 32}Total: ${font Ubuntu:style=Bold:size=8}${color2}${totaldown ppp0}${color}${font}
  110. ${voffset 2}${color0}${font Webdings:size=16}¬${font}${color}${goto 32}${voffset -4}Ip local: ${alignr}${color2}${addr ppp0}${color}
  111. ${else}${voffset 4}${offset 4}${color0}${font Wingdings:size=20}N${font}${color}${voffset -6}${goto 32}Rede indisponível${voffset 14}${endif}${endif}${endif}
  112. ####################
  113. # - WEATHER - #
  114. ####################
  115. # http://weather.yahoo.com/
  116. ${voffset -8}${font Ubuntu:style=Bold:size=8}TEMPO $stippled_hr${font}
  117. ${if_gw}${voffset 4}${offset -4}${color0}${font Webdings:size=24}·${font}${color}
  118. ${voffset -24}${goto 32}Temperatura: ${font Ubuntu:style=Bold:size=8}${color1}${execi 600 /usr/share/conkycolors/bin/conkyYahooWeather cur BRXX0463 c}°C${color}${font}
  119. ${goto 32}${voffset -2}${color0}${font Webdings}6${font}${color}${font Ubuntu:style=Bold:size=8}${color1}${execi 600 /usr/share/conkycolors/bin/conkyYahooWeather min BRXX0463 c}°C${color}${font} ${voffset -2}${color0}${font Webdings}5${font}${color}${voffset -1}${font Ubuntu:style=Bold:size=8}${color1}${execi 600 /usr/share/conkycolors/bin/conkyYahooWeather max BRXX0463 c}°C${color}${font}
  120. ${else}${voffset 4}${offset 4}${color0}${font Wingdings:size=20}N${font}${color}${voffset -6}${goto 32}Tempo indisponível${voffset 14}${endif}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement