Advertisement
Guest User

Untitled

a guest
May 19th, 2014
490
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.72 KB | None | 0 0
  1. #!/usr/bin/conky -c
  2. # maintain spacing between certain elements
  3. use_spacer right
  4.  
  5. # set to yes if you want tormo to be forked in the background
  6. background no
  7.  
  8. use_xft yes
  9.  
  10. # Xft font when Xft is enabled
  11. #xftfont Vera-8
  12. #xftfont Andale Mono-8
  13. #xftfont Clean-8
  14. #xftfont cubicfive10:pixelsize=8
  15. xftfont Sans-Serif:size=9:pixelsize=11
  16. #xftfont swf!t_v02:pixelsize=11
  17.  
  18. # Text alpha when using Xft
  19. xftalpha 1
  20. #mail_spool $MAIL
  21.  
  22. # Update interval in seconds
  23. update_interval 1.0
  24.  
  25. # Create own window instead of using desktop (required in nautilus) normal desktop or override
  26. own_window yes
  27. own_window_type normal
  28. own_window_transparent yes
  29. #own_window_argb_visual yes
  30. own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
  31. own_window_title conkysistema
  32. #own_window_argb_value 10
  33.  
  34. # Use double buffering (reduces flicker, may not work for everyone)
  35. double_buffer yes
  36.  
  37. # Minimum size of text area
  38. minimum_size 1280 240
  39. maximum_width 240
  40.  
  41. # Draw shades?
  42. draw_shades no
  43.  
  44. # Draw outlines?
  45. draw_outline no # amplifies text
  46.  
  47. # Draw borders around text
  48. draw_borders no
  49.  
  50. # Stippled borders?
  51. stippled_borders 3
  52.  
  53. # border margins
  54. #border_margin 5
  55.  
  56. # border widt5
  57. border_width 6
  58.  
  59. # Default colors and also border colors, grey90 == #e5e5e5
  60. default_color white
  61. default_shade_color black
  62. default_outline_color DarkGrey
  63.  
  64. color1 888888 # Texto indicativo
  65. color2 ff0000 # Rojo CPU
  66. color3 ffd700 # Amarillo indicativos
  67.  
  68. # Text alignment, other possible values are commented
  69. alignment top_left
  70. #alignment top_right
  71. #alignment bottom_left
  72. #alignment bottom_right
  73.  
  74. # Gap between borders of screen and text
  75. #gap_x 1030 dos pantallas
  76. gap_x 4
  77. gap_y 10
  78.  
  79. # Subtract file system buffers from used memory?
  80. no_buffers yes
  81.  
  82. # set to yes if you want all text to be in uppercase
  83. uppercase no
  84.  
  85. # Force UTF8? note that UTF8 support required XFT
  86. override_utf8_locale yes
  87.  
  88. #${if_running mpd}${voffset 10}${font Musicelements:regular:size=21}${color #5da5d3}s${voffset -7}${font Anklepants:regular:size=11}${color #5da5d3} MPD$font$color $alignc$mpd_status ${alignr}R:$mpd_repeat A:$mpd_random
  89. #${voffset -7}${color3}${hr 1}$color
  90. #$alignc${color #CC6600}${mpd_artist}
  91. #$alignc${mpd_title}
  92. #${mpd_elapsed}/${mpd_length} ${mpd_bar 5}
  93. #${mpd_album} $alignr Vol: ${mpd_vol}%
  94. #${voffset -5}${color3}${hr 1}$color$else${voffset -10}$endif
  95.  
  96. TEXT
  97. ${alignc}${font openlogos:size=18}t U ${color #D70651}J${font}${color}
  98. $color1${font Bitstream Charter:bold:size=9}${execi 30 lsb_release -d | awk '{print $2" "$3" "$4" "$5}'} $alignr
  99. $kernel $machine
  100. ${execi 300 whoami}@$nodename${color3}${alignr}Sesion: ${color}$uptime
  101. ${font Anklepants:regular:size=11}${color #5da5d3} CPU ${alignr}${font Sans:bold:size=7}${color3}${execi 30 cat /proc/cpuinfo | grep "model name" -m1 | cut -d":" -f2 | cut -d" " -f2- | sed 's#Processor ##'}$font$color
  102. ${voffset -10}${color3}${hr 1}$font$color
  103. ${color1}${cpugraph cpu0 70,230 000000 ff0000}
  104. ${color #ffffff}${voffset -70}${cpu cpu}%
  105. ${color1}${font Charter:regular:size=7}${voffset -20}$font
  106. ${voffset 8}${color #dddddd}${top name 1}${alignr 100}${top cpu 1}
  107. ${color #bbbbbb}${top name 2}${alignr 100}${top cpu 2}
  108. ${color #999999}${top name 3}${alignr 100}${top cpu 3}
  109. ${voffset 10}${color}${cpu cpu1}% ${color2}${cpubar cpu1 3,80} $alignr${color}${cpu cpu2}% ${color2}${cpubar cpu2 3,80}
  110. ${voffset 3}${color1}Carga: $color $loadavg ${color1}${alignr}Procesos: $color $running_processes/$processes
  111. ${font Anklepants:regular:size=8}${color #5da5d3}Temp${color}${font} Cpu_1 ${color2}${execi 60 sensors | grep 'Core 0' | cut -c16-22 ;} ${color}${font} Cpu_2 ${color2}${execi 300 sensors | grep 'Core 1' | cut -c16-22 ;}
  112. ${font Anklepants:regular:size=8}${color #5da5d3}Temp_GPU${color}${font} GPU ${color2}${execi 60 sensors | awk '/110.0/{print $2}' | cut -c 2-8;}
  113. ${font Anklepants:regular:size=8}${color #5da5d3}Vel_fan${color}${font} Ventilador ${color2}${execi 60 sensors | awk '/fan1:/{print $2" "$3}' ;}
  114. ${font Anklepants:regular:size=8}${color #5da5d3}Vel_fan2${color}${font} Ventilador ${color2}${execi 30 sensors | awk '/fan2:/{print $2" "$3}' ;}
  115. ${font Anklepants:regular:size=8}${color #5da5d3}HDD${color}${font} HITACHI ${color2}${hddtemp}°C
  116. ${voffset -10}${color3}${hr 1}$font$color
  117. ${font Anklepants:regular:size=11}${color #5da5d3} Memoria RAM
  118. ${voffset -10}${color3}${hr 1}$font$color
  119. ${color1}${memgraph 65,230 000000 10DFED}
  120. ${color #ffffff}${voffset -73}$mem/${color1}$memmax
  121. ${voffset 8}${color #dddddd}${top_mem name 1}${alignr 100}${top_mem mem 1}
  122. ${color #bbbbbb}${top_mem name 2}${alignr 100}${top_mem mem 2}
  123. ${color #999999}${top_mem name 3}${alignr 100}${top_mem mem 3}
  124. ${voffset 10}${color #10DFED}SWAP: $color$swap ${alignr -15}${swapbar 11,100}${offset -55}${color}$swapperc%
  125. ${voffset -10}${color3}${hr 1}$font$color
  126. $color1${diskiograph 8 ff00ff ff00ff}
  127. ${voffset -25}${color3} Lectura: $color$diskio_read$alignr${color3}Escritura: $color$diskio_write
  128. ${voffset 15}${color gold}Root: ${alignr}fsck:${fs_type}$color2${execi 1000 tail /var/log/fsck/checkroot |grep "clean" | cut -d" " -f9}
  129. ${color}${fs_free /}${color1}/${fs_size /} ${color #555555}${fs_bar 9 /}${offset -60}$color${fs_used_perc /}%
  130. ${voffset 5}${color gold}Boot: ${alignr}fsck:${fs_type}$color2${execi 1000 tail /var/log/fsck/checkfs |grep "/dev/sdb3: clean" | cut -d" " -f9}
  131. ${color}${fs_free /boot}${color1}/${fs_size /boot} ${color #555555}${fs_bar 9 /home}${offset -60}$color${fs_used_perc /home}%
  132. ${font Anklepants:regular:size=11}${color #5da5d3} Gateway${font}$alignr${color #0077ff} Gw:${font}$alignr$color${gw_ip}
  133. ${font Anklepants:regular:size=11}${color #5da5d3} Interna${font}$alignr${color #0077ff} Loc:$color${addr eth0}
  134. ${font Anklepants:regular:size=11}${color #5da5d3} Dinamic${font}$alignr${color #0077ff} IP:$color${execi 300 curl -s 'http://ifconfig.me/ip'}
  135. ${font Anklepants:regular:size=11}${color #5da5d3} Nameserver${font}$alignr${color #0077ff} Ns:${font}$alignr$color${nameserver}
  136. ${voffset -10}${color3}${hr 1}$font$color
  137. ${color 0000ff}Descarga: ${color white}${downspeed eth0}${color1}${alignr}${color white}${totaldown eth0}
  138. ${color 00ff00}Subida: ${color white}${upspeed eth0}${color1}${alignr}${color white}${totalup eth0}
  139. ${color1}${upspeedgraph eth0 25,230 000000 00ff00 60}
  140. ${voffset -39}${color1}${downspeedgraph eth0 25,230 000000 0000ff 700}
  141. ${color #5da5d3}${font Anklepants:regular:size=11} Moc${font}$alignr${color #0077ff}
  142. ${voffset -10}${color3}${hr 1}$font$color
  143. ${color2} Ahora suena ${alignc}${color3}${moc_song}
  144. ${color2} Album ${alignc}${color3}${moc_album}
  145. ${color2} Artista ${alignc}${color3}${moc_artist}
  146. ${color2} Bitrate ${alignc}${color3}${moc_bitrate}
  147. ${color2} Estado ${alignc}${color3}${moc_state}
  148. ${voffset -10}${color3}${hr 1}$font$color
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement