quarta-feira, 4 de julho de 2012

ConkyBR-9

Saudações!

Apresento mais um modelo de ConkyBR: o de número 9.

Este é um pouco diferente dos demais, pois não funciona com o BrWeather no modo Google:






Nome: ConkyBR-9
Características: Mostra as condições atuais, com vários dados meteorológicos.

Download: ConkyBR-9.tar.gz

Funciona também no modo Google: Não
Instalação: Descompacte o arquivo tar.gz e rode o script:

$ sh installconky.sh

Este script confere se você possui o BrWeather instalado. Se tudo estiver OK, ele instala o Conky na pasta /home/seu_usuário/.brweather/conky9.

Conkyrc:

# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem1=CN -p 15,30 -s 90x90}


Outros modelos (apenas substitua o arquivo conkyrc):

Imagem2:


# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem2=CN -p 15,30 -s 90x90}


Imagem6:



# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem6=CN -p 15,30 -s 90x90}


Imagem7:


# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem7=CN -p 15,30 -s 90x90}


Imagem8:


# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem8=CN -p 15,30 -s 90x90}


Imagem9:


# ConkyBrWeather
# Criado por LeandroNKZ
# Necessário o uso do BrWeather:
# http://brweatherproject.blogspot.com/
# Instruções e instalação: 
# http://va.mu/V59f

# -- Conky settings -- #
background yes
update_interval 1

cpu_avg_samples 1
net_avg_samples 2

override_utf8_locale yes

double_buffer yes
no_buffers yes

text_buffer_size 2048
imlib_cache_size 0

# -- Window specifications -- #

# -- GNOME -- #
own_window yes
own_window_type override
own_window_transparent yes
own_window_hints undecorate,sticky,skip_taskbar,skip_pager,below

# -- Openbox -- #
#own_window yes
#own_window_transparent yes
#own_window_type desktop


# -- Alignment -- # 

#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

border_inner_margin 0
border_outer_margin 0

minimum_size 220 320
maximum_width 220

gap_x 10
gap_y 10

# -- Graphics settings -- #
draw_shades no
draw_outline no
draw_borders no
draw_graph_borders yes

# -- Text settings -- #
use_xft yes
xftfont FreeSans:size=10
xftalpha 0.4
uppercase no

# -- Colors -- #
default_color FFFFFF
color0 FFFFFF
color1 646464
color2 000000

TEXT
${voffset 10}${goto 13}${font FreeSans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'}
${voffset 0}${alignr}${font FreeSans:size=10}${time %T}
${voffset 0}${goto 110}${font FreeSans:size=40}${execi 3600 brweather --option=TN}${goto 15}${voffset 20}${font FreeSans:size=10}${execi 3600 brweather --option=CNT}
${voffset -30}${color1}${font FreeSans:size=40}${goto 13}-----------${voffset 5}${goto 13}${font FreeSans:size=10}Sensação térmica:${alignr 13}${color0}${execi 3600 brweather --option=STE}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Umidade:${alignr 13}${color0}${execi 3600 brweather --option=umid}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. de chuva:${alignr 13}${color0}${execi 3600 brweather --option=PC1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Vento:${alignr 13}${color0}${execi 3600 brweather --option=windd} ${execi 3600 brweather --option=winds}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}UV:${alignr 13}${color0}${execi 3600 brweather --option=UVNT}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}P. Atmosférica:${alignr 13}${color0}${execi 3600 brweather --option=PA}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Nascer do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLN1}
${voffset 0}${goto 13}${font FreeSans:size=10}${color1}Pôr do Sol:${alignr 13}${color0}${execi 3600 brweather --option=SOLP1}
##Imagem
${image ~/.brweather/conky9/fundo.png}
${execpi 3600 brweather --imagem9=CN -p 15,30 -s 90x90}


Até a próxima!

Nenhum comentário:

Postar um comentário