Dando continuidade à atualização dos ConkysBR, segue o modelo número 4:
Nome: ConkyBR4-Screenlets
Características: Mostra a previsão completa para hoje, e os próximos 5 dias. Ele é idêntico ao gadget "ClearWeather" do Screenlets:
O que prova o quão configurável é o Conky, além de consumir muitíssimos menos recursos do sistema (memória RAM):
Screenlets: 30MB (incluindo o daemon de inicialização)
Conky: 2,2MB
Download: ConkyBR-4.tar.gz
Funciona também no modo Google: Sim. Com algumas diferenças.
Instalação: Descompacte o arquivo tar.gz.. Escolha qual arquivo utilizar (se usa modo Google ou não) e rode o script:
$ sh installconky.sh
Este script confere se você possui o BrWeather instalado corretamente. Se tudo estiver OK, ele instala o Conky na pasta /home/seu_usuário/.brweather/conky4.
Observações: Como o modo Google é um pouco limitado, ele não exibe todas as funções:
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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 157}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 210}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 157}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem7=CN -p 35,10 -s 130x130}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem7=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem7=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem7=C3 -p 157,140 -s 40x40}
${execpi 3600 brweather --imagem7=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem7=C5 -p 257,140 -s 40x40}
Outras variações (apenas troque o arquivo /home/seu_usuário/.brweather/conky4/conkyrc):
Imagem2:
# ConkyBrWeather
# 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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 165}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 215}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem2=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem2=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem2=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem2=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem2=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem2=C5 -p 257,140 -s 40x40}
Imagem3:
# 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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 160}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 210}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem3=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem3=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem3=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem3=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem3=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem3=C5 -p 257,140 -s 40x40}
Imagem4:
# 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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 165}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 215}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem4=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem4=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem4=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem4=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem4=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem4=C5 -p 257,140 -s 40x40}
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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 165}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 215}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem6=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem6=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem6=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem6=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem6=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem6=C5 -p 257,140 -s 40x40}
A novíssima 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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 165}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 215}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem8=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem8=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem8=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem8=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem8=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem8=C5 -p 257,140 -s 40x40}
E a também nova (e belíssima) 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 100 100
maximum_width 300
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 Monospace:size=10
xftalpha 0.4
uppercase no
# -- Colors -- #
color0 C8C8C8
color1 FCAF3E
color2 000000
color3 a00000
color5 008FFF
TEXT
${image ~/.brweather/conky4/imagem.png -p 60,40}
# Temperatura atual
${voffset 38}${color0}${goto 215}${font Sans:style=bold:size=28}${execi 3600 brweather --option=TN}${font}
# Temperatura máxima
${voffset -35}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=HT1}${font}
# Temperatura mímima
${voffset -5}${color0}${goto 170}${font Sans:style=bold:size=10}${execi 3600 brweather --option=LT1}${font}
# Umidade
${voffset -5}${color0}${goto 170}${font Sans:size=10}${execi 3600 brweather --option=umid}${font}
# Cidade
${voffset 5}${color0}${alignr 25}${font Sans:style=bold:size=12}${execi 3600 brweather --option=city | cut -f1 -d'-'}${font}
# Próximas horas
${voffset 0}${color0}${goto 65}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day1}${font}
# Amanhã
${voffset -18}${color0}${goto 110}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day2}${font}
# Depois de amanhã
${voffset -19}${color0}${goto 165}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day3}${font}
# Quarto dia
${voffset -19}${color0}${goto 215}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day4}${font}
# Quinto dia
${voffset -19}${color0}${goto 257}${font Sans:style=bold:size=12}${execi 3600 brweather --option=Day5}${font}
# Mínima/máxima para as próximas horas
${voffset 30}${color0}${goto 65}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT1} ${font Sans:size=8}${execi 3600 brweather --option=LT1}${font}
# Mínima/máxima para o segundo dia
${voffset -20}${color0}${goto 110}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT2} ${font Sans:size=8}${execi 3600 brweather --option=LT2}${font}
# Mínima/máxima para o terceiro dia
${voffset -20}${color0}${goto 160}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT3} ${font Sans:size=8}${execi 3600 brweather --option=LT3}${font}
# Mínima/máxima para o Quarto dia
${voffset -20}${color0}${goto 210}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT4} ${font Sans:size=8}${execi 3600 brweather --option=LT4}${font}
# Mínima/máxima para o Quinto dia
${voffset -20}${color0}${goto 257}${font Sans:style=bold:size=8}${execi 3600 brweather --option=HT5} ${font Sans:size=8}${execi 3600 brweather --option=LT5}${font}
### Início do campo imagens (lembre-se de utlizar a sintaxe execpi no lugar da execi)
### Imagem maior
${execpi 3600 brweather --imagem9=CN -p 65,45 -s 80x80}
### Imagens menores (dias da semana)
${execpi 3600 brweather --imagem9=C1 -p 65,140 -s 40x40}
${execpi 3600 brweather --imagem9=C2 -p 110,140 -s 40x40}
${execpi 3600 brweather --imagem9=C3 -p 160,140 -s 40x40}
${execpi 3600 brweather --imagem9=C4 -p 210,140 -s 40x40}
${execpi 3600 brweather --imagem9=C5 -p 257,140 -s 40x40}
Até a próxima!









Nenhum comentário:
Postar um comentário