Conky (.conkyrc)

Conky com imagem fundo

Categoria: Miscelânea

Software: Conky

[ Hits: 8.482 ]

Por: Perfil removido


O Conky é muito útil, mas alguns dizem que ele é muito feio e também fica ruim para quem usa papéis de parede claros, colocando uma imagem de fundo a coisa melhora bastante. Aqui está uma screen:

http://www.vivaolinux.com.br/screenshot/Gnome-conky-com-fundo/

Basta salvar o fundo que você deseja usar na pasta ~/Imagens com o nome de backdrop1.png. Para alterar no .conkyrc o caminho das imagens basta achar as linhas ${image} e alterar o caminho.


# set to yes if you want Conky to be forked in the background
background yes

cpu_avg_samples 2
net_avg_samples 2

out_to_console no

# Use Xft?
use_xft no

# Xft font when Xft is enabled
xftfont Bitstream Vera Sans Mono:size=7
#xftfont  Bitstream Vera Sans Mono:size=6
#xftfont 2TECH2:size=8
# Create own window instead of drawing to desktop.
own_window yes
own_window_transparent yes
own_window_colour 776c56
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager
own_window_type normal

# Text alpha when using Xft
xftalpha 0.0

wm_class_name Conky

# Update interval in seconds
update_interval 2

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 200 10
maximum_width 280,

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Stippled borders?
stippled_borders 2

# border margins
#border_margin 4

# border width
border_width 1

# Default colors and also border colors
default_color white
default_shade_color white
default_outline_color white

# Text alignment, other possible values are commented
#minimum_size 10 10
gap_x 6
gap_y 6
#alignment top_left
#alignment top_right
#alignment bottom_left
alignment bottom_right
#alignment middle_right
#alignment middle_left
#alignment center
# Gap between borders of screen and text

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer yes

# Subtract file system buffers from used memory?
no_buffers yes

# set to yes if you want all text to be in uppercase
uppercase no

# drawn 1 pixel border around graphs or not
draw_graph_borders no

# Allow for the creation of at least this number of port monitors (if 0 or not set, default is 16)
min_port_monitors 8

# Allow each port monitor to track at least this many connections (if 0 or not set, default is 256)
min_port_monitor_connections 64

TEXT
  ${image ~/Imagens/backdrop1.png -p 1,1 -s 275x180}
  #${execpi 3600 ~/conky/conkytemplate.sh}
  ${color}
  ${color #3fc2f3}$nodename           $sysname $kernel
  ${color }Load:            ${color #3fc2f3} $loadavg
  ${color }Uptime:          ${color #3fc2f3} $uptime ${color } 
  ${color }CPU:             ${color #3fc2f3} ${cpu}% 
  ${color }RAM:             ${color #3fc2f3} $mem/$memmax - $memperc% 
  ${color }Cache:           ${color #3fc2f3} $cached
  ${color }Swap:            ${color #3fc2f3} $swap/$swapmax - $swapperc% 
  ${color }Buffer:          ${color #3fc2f3} $buffers
  ${color }Battery:         ${color #3fc2f3} $battery
  ${color}
  ${color }Net: 
  Down:${color }${downspeed eth0}kb${color } ${offset 62}Net Up:${color }${upspeed eth0}kb
  ${color}DNS:              ${color #3fc2f3}$nameserver
  ${color}IP:               ${color #3fc2f3}${addr eth0}
  ${image ~/Imagens/backdrop1.png -p 1,190 -s 275x180}
  
  
  
  ${color }File systems:
  ${color }raiz             ${color #3fc2f3}${fs_used /}/${fs_size /}${alignr}
  ${color }home             ${color #3fc2f3}${fs_used ~}/${fs_size ~}${alignr}
  ${color }externo          ${color #3fc2f3}${fs_used /media/hd}/${fs_size /media/hd}${alignr}
  ${color }dvd              ${color #3fc2f3}${fs_used /media/dvd}/${fs_size /media/dvd}${alignr}
  ${color}
  ${color }Top Processes:
  ${color }Name              PID     CPU%   MEM%
  ${color #3fc2f3}${top name 1} ${top pid 1} ${top cpu 1} ${top mem 1}
  ${color #3fc2f3}${top name 2} ${top pid 2} ${top cpu 2} ${top mem 2}
  ${color #3fc2f3}${top name 3} ${top pid 3} ${top cpu 3} ${top mem 3}
  ${color }Mem usage
  ${color #3fc2f3}${top_mem name 1} ${top_mem pid 1} ${top_mem cpu 1} ${top_mem mem 1}
  ${color #3fc2f3}${top_mem name 2} ${top_mem pid 2} ${top_mem cpu 2} ${top_mem mem 2}
  ${color #3fc2f3}${top_mem name 3} ${top_mem pid 3} ${top_mem cpu 3} ${top_mem mem 3}
  ${image ~/Imagens/backdrop1.png -p 1,380 -s 275x250}

  
  
  ${color }Port(s)                         Connections
  ${color #3fc2f3}Inbound: ${tcp_portmon 1 32767 count}  Outbound: ${tcp_portmon 32768 61000 count}             ALL: ${tcp_portmon 1 65535 count}
  ${color }Inbound Connection       Local Service/Port$color
  ${color #3fc2f3}${tcp_portmon 1 32767 rhost 0} ${alignr} ${tcp_portmon 1 32767 lservice 0}
  ${tcp_portmon 1 32767 rhost 1} ${alignr} ${tcp_portmon 1 32767 lservice 1}
  ${tcp_portmon 1 32767 rhost 2} ${alignr} ${tcp_portmon 1 32767 lservice 2}
  ${tcp_portmon 1 32767 rhost 3} ${alignr} ${tcp_portmon 1 32767 lservice 3}
  ${tcp_portmon 1 32767 rhost 4} ${alignr} ${tcp_portmon 1 32767 lservice 4}
  ${tcp_portmon 1 32767 rhost 5} ${alignr} ${tcp_portmon 1 32767 lservice 5}
  ${color }Outbound Connection     Remote Service/Port
  ${color #3fc2f3}${tcp_portmon 32768 61000 rhost 0} ${alignr} ${tcp_portmon 32768 61000 rservice 0}
  ${tcp_portmon 32768 61000 rhost 1} ${alignr} ${tcp_portmon 32768 61000 rservice 1}
  ${tcp_portmon 32768 61000 rhost 2} ${alignr} ${tcp_portmon 32768 61000 rservice 2}
  ${tcp_portmon 32768 61000 rhost 3} ${alignr} ${tcp_portmon 32768 61000 rservice 3}
  ${tcp_portmon 32768 61000 rhost 4} ${alignr} ${tcp_portmon 32768 61000 rservice 4}
  ${tcp_portmon 32768 61000 rhost 5} ${alignr} ${tcp_portmon 32768 61000 rservice 5}
  ${tcp_portmon 32768 61000 rhost 6} ${alignr} ${tcp_portmon 32768 61000 rservice 6}
  ${tcp_portmon 32768 61000 rhost 7} ${alignr} ${tcp_portmon 32768 61000 rservice 7}
  ${tcp_portmon 32768 61000 rhost 8} ${alignr} ${tcp_portmon 32768 61000 rservice 8}
  ${tcp_portmon 32768 61000 rhost 9} ${alignr} ${tcp_portmon 32768 61000 rservice 9}
  ${tcp_portmon 32768 61000 rhost 10} ${alignr} ${tcp_portmon 32768 61000 rservice 10}
  ${tcp_portmon 32768 61000 rhost 11} ${alignr} ${tcp_portmon 32768 61000 rservice 11}
  ${tcp_portmon 32768 61000 rhost 12} ${alignr} ${tcp_portmon 32768 61000 rservice 12}
  ${tcp_portmon 32768 61000 rhost 13} ${alignr} ${tcp_portmon 32768 61000 rservice 13}
  


Comentários

Nenhum comentário foi encontrado.


Contribuir com comentário

  



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts