Este é um novo modelo de ConkyBR.
Ele utiliza o novo pacote de imagens: o Accuweather!
Nome: ConkyBR-10
Características: Ele exibe as condições atuais, mais a previsão do tempo para os próximos três dias. Além disso, ele exibe um termômetro com a temperatura atual.
Vejam esta animação:
Ela começa com a "refrescante" temperatura de -97°, subindo até 98°. Claro que estas são temperaturas fictícias |
Download: ConkyBR-10.tar.gz
Funciona também no modo Google: Não
Requisitos:
BrWeather-0.4.0-RC4 ou versão superior.
Instalação: Descompacte o arquivo tar.gz 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/conky10.
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 undecorated,below,above,sticky,skip_taskbar,skip_pager # -- 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 250 200 maximum_width 250 gap_x 0 gap_y 0 # -- Graphics settings -- # draw_shades no draw_outline nos draw_borders no draw_graph_borders no # -- Text settings -- # use_xft yes xftfont Droid Sans:size=10 xftalpha 0.4 uppercase no # -- Colors -- # default_color E7F4F8 color1 FFFFFF color2 C8C8C8 color3 000000 TEXT ##Cidade ${font Droid Sans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'} ${hr} ##Condições atuais ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=CNT} ${goto 150}${font Droid Sans:size=30}${execi 3600 brweather --option=TN} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UVN}-${execi 3600 brweather --option=UVNT} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para as próximas horas ${font Droid Sans:size=15}${execi 3600 brweather --option=Day1T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C1T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT1}/${execi 3600 brweather --option=HT1} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid1} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV1}-${execi 3600 brweather --option=UV1T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para o segundo dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day2T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C2T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT2}/${execi 3600 brweather --option=HT2} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid2} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV2}-${execi 3600 brweather --option=UV2T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC2} ${hr} ##Previsão para o terceiro dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day3T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C3T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT3}/${execi 3600 brweather --option=HT3} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid3} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV3}-${execi 3600 brweather --option=UV3T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC3} ${hr} ##Imagens ${execpi 3600 brweather --imagem10=CN -p 0,40 -s 100x100} ${execpi 3600 brweather --imagem10=C1 -p 0,220 -s 80x80} ${execpi 3600 brweather --imagem10=C2 -p 0,370 -s 80x80} ${execpi 3600 brweather --imagem10=C3 -p 0,510 -s 80x80} ##Termometro ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>-110}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=0}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>0}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=5}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>5}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=10}${image ~/.brweather/conky10/termometro/05.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>10}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=15}${image ~/.brweather/conky10/termometro/10.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>15}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=20}${image ~/.brweather/conky10/termometro/15.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>20}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=25}${image ~/.brweather/conky10/termometro/20.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>25}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=30}${image ~/.brweather/conky10/termometro/25.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>30}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=35}${image ~/.brweather/conky10/termometro/30.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>35}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=40}${image ~/.brweather/conky10/termometro/35.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>40}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=45}${image ~/.brweather/conky10/termometro/40.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>45}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<110}${image ~/.brweather/conky10/termometro/45.png -p 195,100 -s 50x98}${endif}${endif}
Outros modelos:
Imagem1:
# 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 undecorated,below,above,sticky,skip_taskbar,skip_pager # -- 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 250 200 maximum_width 250 gap_x 0 gap_y 0 # -- Graphics settings -- # draw_shades no draw_outline nos draw_borders no draw_graph_borders no # -- Text settings -- # use_xft yes xftfont Droid Sans:size=10 xftalpha 0.4 uppercase no # -- Colors -- # default_color E7F4F8 color1 FFFFFF color2 C8C8C8 color3 000000 TEXT ##Cidade ${font Droid Sans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'} ${hr} ##Condições atuais ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=CNT} ${goto 150}${font Droid Sans:size=30}${execi 3600 brweather --option=TN} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UVN}-${execi 3600 brweather --option=UVNT} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para as próximas horas ${font Droid Sans:size=15}${execi 3600 brweather --option=Day1T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C1T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT1}/${execi 3600 brweather --option=HT1} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid1} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV1}-${execi 3600 brweather --option=UV1T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para o segundo dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day2T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C2T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT2}/${execi 3600 brweather --option=HT2} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid2} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV2}-${execi 3600 brweather --option=UV2T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC2} ${hr} ##Previsão para o terceiro dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day3T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C3T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT3}/${execi 3600 brweather --option=HT3} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid3} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV3}-${execi 3600 brweather --option=UV3T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC3} ${hr} ##Imagens ${execpi 3600 brweather --imagem1=CN -p 0,40 -s 100x100} ${execpi 3600 brweather --imagem1=C1 -p 0,220 -s 80x80} ${execpi 3600 brweather --imagem1=C2 -p 0,370 -s 80x80} ${execpi 3600 brweather --imagem1=C3 -p 0,510 -s 80x80} ##Termometro ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>-110}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=0}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>0}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=5}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>5}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=10}${image ~/.brweather/conky10/termometro/05.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>10}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=15}${image ~/.brweather/conky10/termometro/10.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>15}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=20}${image ~/.brweather/conky10/termometro/15.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>20}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=25}${image ~/.brweather/conky10/termometro/20.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>25}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=30}${image ~/.brweather/conky10/termometro/25.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>30}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=35}${image ~/.brweather/conky10/termometro/30.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>35}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=40}${image ~/.brweather/conky10/termometro/35.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>40}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=45}${image ~/.brweather/conky10/termometro/40.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>45}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<110}${image ~/.brweather/conky10/termometro/45.png -p 195,100 -s 50x98}${endif}${endif}
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 undecorated,below,above,sticky,skip_taskbar,skip_pager # -- 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 250 200 maximum_width 250 gap_x 0 gap_y 0 # -- Graphics settings -- # draw_shades no draw_outline nos draw_borders no draw_graph_borders no # -- Text settings -- # use_xft yes xftfont Droid Sans:size=10 xftalpha 0.4 uppercase no # -- Colors -- # default_color E7F4F8 color1 FFFFFF color2 C8C8C8 color3 000000 TEXT ##Cidade ${font Droid Sans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'} ${hr} ##Condições atuais ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=CNT} ${goto 150}${font Droid Sans:size=30}${execi 3600 brweather --option=TN} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UVN}-${execi 3600 brweather --option=UVNT} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para as próximas horas ${font Droid Sans:size=15}${execi 3600 brweather --option=Day1T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C1T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT1}/${execi 3600 brweather --option=HT1} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid1} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV1}-${execi 3600 brweather --option=UV1T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para o segundo dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day2T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C2T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT2}/${execi 3600 brweather --option=HT2} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid2} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV2}-${execi 3600 brweather --option=UV2T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC2} ${hr} ##Previsão para o terceiro dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day3T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C3T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT3}/${execi 3600 brweather --option=HT3} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid3} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV3}-${execi 3600 brweather --option=UV3T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC3} ${hr} ##Imagens ${execpi 3600 brweather --imagem7=CN -p 0,40 -s 100x100} ${execpi 3600 brweather --imagem7=C1 -p 0,220 -s 80x80} ${execpi 3600 brweather --imagem7=C2 -p 0,370 -s 80x80} ${execpi 3600 brweather --imagem7=C3 -p 0,510 -s 80x80} ##Termometro ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>-110}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=0}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>0}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=5}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>5}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=10}${image ~/.brweather/conky10/termometro/05.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>10}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=15}${image ~/.brweather/conky10/termometro/10.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>15}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=20}${image ~/.brweather/conky10/termometro/15.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>20}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=25}${image ~/.brweather/conky10/termometro/20.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>25}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=30}${image ~/.brweather/conky10/termometro/25.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>30}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=35}${image ~/.brweather/conky10/termometro/30.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>35}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=40}${image ~/.brweather/conky10/termometro/35.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>40}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=45}${image ~/.brweather/conky10/termometro/40.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>45}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<110}${image ~/.brweather/conky10/termometro/45.png -p 195,100 -s 50x98}${endif}${endif}
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 undecorated,below,above,sticky,skip_taskbar,skip_pager # -- 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 250 200 maximum_width 250 gap_x 0 gap_y 0 # -- Graphics settings -- # draw_shades no draw_outline nos draw_borders no draw_graph_borders no # -- Text settings -- # use_xft yes xftfont Droid Sans:size=10 xftalpha 0.4 uppercase no # -- Colors -- # default_color E7F4F8 color1 FFFFFF color2 C8C8C8 color3 000000 TEXT ##Cidade ${font Droid Sans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'} ${hr} ##Condições atuais ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=CNT} ${goto 150}${font Droid Sans:size=30}${execi 3600 brweather --option=TN} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UVN}-${execi 3600 brweather --option=UVNT} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para as próximas horas ${font Droid Sans:size=15}${execi 3600 brweather --option=Day1T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C1T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT1}/${execi 3600 brweather --option=HT1} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid1} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV1}-${execi 3600 brweather --option=UV1T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para o segundo dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day2T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C2T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT2}/${execi 3600 brweather --option=HT2} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid2} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV2}-${execi 3600 brweather --option=UV2T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC2} ${hr} ##Previsão para o terceiro dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day3T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C3T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT3}/${execi 3600 brweather --option=HT3} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid3} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV3}-${execi 3600 brweather --option=UV3T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC3} ${hr} ##Imagens ${execpi 3600 brweather --imagem8=CN -p 0,40 -s 100x100} ${execpi 3600 brweather --imagem8=C1 -p 0,220 -s 80x80} ${execpi 3600 brweather --imagem8=C2 -p 0,370 -s 80x80} ${execpi 3600 brweather --imagem8=C3 -p 0,510 -s 80x80} ##Termometro ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>-110}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=0}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>0}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=5}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>5}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=10}${image ~/.brweather/conky10/termometro/05.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>10}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=15}${image ~/.brweather/conky10/termometro/10.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>15}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=20}${image ~/.brweather/conky10/termometro/15.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>20}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=25}${image ~/.brweather/conky10/termometro/20.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>25}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=30}${image ~/.brweather/conky10/termometro/25.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>30}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=35}${image ~/.brweather/conky10/termometro/30.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>35}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=40}${image ~/.brweather/conky10/termometro/35.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>40}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=45}${image ~/.brweather/conky10/termometro/40.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>45}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<110}${image ~/.brweather/conky10/termometro/45.png -p 195,100 -s 50x98}${endif}${endif}
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 undecorated,below,above,sticky,skip_taskbar,skip_pager # -- 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 250 200 maximum_width 250 gap_x 0 gap_y 0 # -- Graphics settings -- # draw_shades no draw_outline nos draw_borders no draw_graph_borders no # -- Text settings -- # use_xft yes xftfont Droid Sans:size=10 xftalpha 0.4 uppercase no # -- Colors -- # default_color E7F4F8 color1 FFFFFF color2 C8C8C8 color3 000000 TEXT ##Cidade ${font Droid Sans:size=15}${execi 3600 brweather --option=city | cut -f1 -d'-'} ${hr} ##Condições atuais ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=CNT} ${goto 150}${font Droid Sans:size=30}${execi 3600 brweather --option=TN} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UVN}-${execi 3600 brweather --option=UVNT} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para as próximas horas ${font Droid Sans:size=15}${execi 3600 brweather --option=Day1T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C1T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT1}/${execi 3600 brweather --option=HT1} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid1} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV1}-${execi 3600 brweather --option=UV1T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC1} ${hr} ##Previsão para o segundo dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day2T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C2T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT2}/${execi 3600 brweather --option=HT2} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid2} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV2}-${execi 3600 brweather --option=UV2T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC2} ${hr} ##Previsão para o terceiro dia ${font Droid Sans:size=15}${execi 3600 brweather --option=Day3T} ${goto 100}${font Droid Sans:size=10}${execi 3600 brweather --option=C3T} ${goto 170}${font Droid Sans:size=15}${execi 3600 brweather --option=LT3}/${execi 3600 brweather --option=HT3} ${font Droid Sans:size=10}Umidade: ${execi 3600 brweather --option=umid3} ${font Droid Sans:size=10}UV: ${execi 3600 brweather --option=UV3}-${execi 3600 brweather --option=UV3T} ${font Droid Sans:size=10}Poss. de Chuva: ${execi 3600 brweather --option=PC3} ${hr} ##Imagens ${execpi 3600 brweather --imagem9=CN -p 0,40 -s 100x100} ${execpi 3600 brweather --imagem9=C1 -p 0,220 -s 80x80} ${execpi 3600 brweather --imagem9=C2 -p 0,370 -s 80x80} ${execpi 3600 brweather --imagem9=C3 -p 0,510 -s 80x80} ##Termometro ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>-110}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=0}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>0}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=5}${image ~/.brweather/conky10/termometro/00.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>5}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=10}${image ~/.brweather/conky10/termometro/05.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>10}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=15}${image ~/.brweather/conky10/termometro/10.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>15}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=20}${image ~/.brweather/conky10/termometro/15.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>20}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=25}${image ~/.brweather/conky10/termometro/20.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>25}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=30}${image ~/.brweather/conky10/termometro/25.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>30}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=35}${image ~/.brweather/conky10/termometro/30.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>35}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=40}${image ~/.brweather/conky10/termometro/35.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>40}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<=45}${image ~/.brweather/conky10/termometro/40.png -p 195,100 -s 50x98}${endif}${endif} ${if_match ${execi 3600 brweather --option=TN | sed s/°//}>45}${if_match ${execi 3600 brweather --option=TN | sed s/°//}<110}${image ~/.brweather/conky10/termometro/45.png -p 195,100 -s 50x98}${endif}${endif}
Até a próxima!
Nenhum comentário:
Postar um comentário