Conky (.conkyrc)

Conky Simples

Categoria: Hardware

Software: Conky

[ Hits: 2.331 ]

Por: Perfil removido


Conky à esquerda no monitor. Usa uma fonte digital que encontrei na internet. A exemplo de outro que enviei, ele é atualizado a cada 0.9 segundos e cria um efeito de relógio digital na tela.


background no
use_xft yes

xftfont Helvetica:size=8
xftalpha 0.8

update_interval 0.9
total_run_times 0

own_window yes
own_window_type override
own_window_transparent yes
own_window_colour hotpink
own_window_hints undecorated,below,skip_taskbar,sticky,skip_pager

double_buffer yes
minimum_size 256 5

draw_shades yes
draw_outline no
draw_graph_borders yes

stippled_borders 8
border_margin 4
border_width 1

maximum_width 132

default_color darkgrey
default_shade_color black
default_outline_color white

alignment        top_left
gap_x            50
gap_y            25

no_buffers yes
uppercase no
cpu_avg_samples 2
net_avg_samples 2
override_utf8_locale no
use_spacer no

TEXT

${color #ffffff}${alignc}host ${uptime_short}

${color #ffffff}CPU ${alignr}
${color #ffffff}0 ${color #ccccff}${cpubar cpu0 8,126}
${color #ffffff}1 ${color #ccccff}${cpubar cpu1 8,126}
${color #ffffff}2 ${color #ccccff}${cpubar cpu2 8,126}
${color #ffffff}3 ${color #ccccff}${cpubar cpu3 8,126}

${color #ffffff}@${freq_g cpu0}${alignr}@${freq_g cpu2}
${color #ffffff}@${freq_g cpu1}${alignr}@${freq_g cpu3}

#${color #ffffff}CPU: ${alignr}${color #ffff00}$cpu%
#${color #ccccff}  ${alignr}${cpugraph 10,128 000000 7f8ed3}
#
${color #ffffff}Battery:${alignr}${color #ffff00}${battery_percent} %
${color #22dd22}  ${battery_bar 8,128}

${color #ffffff}RAM:${alignr} ${color #ffff00}$mem/$memmax
${color #ccccff}  ${membar 8,128}
${color #ffffff}Swap:${alignr}${color #ffff00}$swap/$swapmax
${color #ccccff}  ${swapbar 8,128}

${color #ffffff}Network:
${color #ffffff}lo  down:${alignr} ${color #ffff00}${downspeedf lo} k/s
${color #ccccff}  ${downspeedgraph eth0 8,128 ff7700 000000 4 -t}
${color #ffffff}lo  up:${alignr} ${color #ffff00}${upspeedf lo} k/s
${color #ccccff}  ${upspeedgraph eth0 8,128 ff7700 000000 4 -t}

${color #ffffff}eth0  down:${alignr} ${color #ffff00}${downspeedf eth0} k/s
${color #ccccff}  ${downspeedgraph eth0 8,128 ff7700 000000 4 -t}
${color #ffffff}eth0  up:${alignr} ${color #ffff00}${upspeedf eth0} k/s
${color #ccccff}  ${upspeedgraph eth0 8,128 ff7700 000000 4 -t}

${color #ffffff}File systems:
${color #ccccff}  home${color #ffff00}${alignr}${fs_free /home/player}
${color #ccccff}  ${fs_bar 8,128 /home/}
${color #ff0000}  ${fs_used_perc /home/}% used

${color #ffffff}Processes:${alignr}${color #ffff00}$processes | $running_processes

${color #ffffff}Connections
${color #ffffff}In: ${color #ffff00}${tcp_portmon 1 32767 count}${alignr}${color #ffffff} Out: ${color #ffff00}${tcp_portmon 32768 61000 count}${alignr}


${alignc}${offset -14}${color #ff7700}${font Digital:size=20}${time %H:%M:%S}${font Helvetica:size=8}
${alignc}${offset +6}${color #ffff00}${font Sans:size=8}${time %d/%m/%Y}${font Helvetica:size=8}
  


Comentários
[1] Comentário enviado por removido em 05/03/2015 - 00:20h

Obs: Screenshot deste conky está em http://www.vivaolinux.com.br/screenshot/MATE-Voyager/
Outro conky semelhante em http://www.vivaolinux.com.br/etc/conkyrc-20

Há fontes digitais aqui. Apenas sugestão. Usar por conta:

http://www.dafont.com/pt/ds-digital.font
http://www.fontspace.com/style-7/digital-7
http://www.fontspace.com/wlm-fonts/lets-go-digital

Para instalar estas fontes ttf (no caso um Debian-like, por exemplo) é só criar um subdiretório em /usr/share/fonts/ (ex:/usr/share/fonts/digital/), copiar as fontes para lá e executar:

sudo dpkg-reconfigure fontconfig

--
Encryption works. Properly implemented strong crypto systems are one of the few things that you can rely on. Unfortunately, endpoint security is so terrifically weak that NSA can frequently find ways around it. — Edward Snowden


Contribuir com comentário