Dando continuidade à atualização dos Conkys. Eis um modelo que não precisa de atualização. = )
Este é o ConkyBR que mostra uma função à parte do BrWeather: Fases da Lua!
Nome: ConkyBR-5
Características: Exibe a fase atual da Lua (com atualização diária*), além das próximas fases.
*Atualização diária, no sentido de a imagem ir mudando a cada dia. Veja esta sequência de prints:
Download: ConkyBR-5.tar.gz
Funciona no modo Google: Sim.
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/conky5.
Observações: Não precisa de acesso à Internet para funcionar. Ele utiliza uma base de dados própria.
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 2
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 500 200
#maximum_width 500
gap_x 0
gap_y 0
# -- 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 -- #
default_color 8b8b8b
color1 FFFFFF
color2 C8C8C8
color3 000000
TEXT
${goto 5}${color0}${font Sans:size=14}FASES DA LUA
${voffset 0}${alignc}${font Sans:size=13}${color0}${execpi 3600 brweather --option=LUA1T}
# segunda
${voffset 100}${goto 5}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA2D}
# terceira
${voffset -10}${alignc}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA3D}
# quarta
${voffset -10}${alignr 10}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA4D}
# Segunda
${voffset 0}${goto 5}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA2T}
# terceira
${voffset -10}${alignc}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA3T}
# quarta
${voffset -10}${alignr 10}${font Sans:size=6}${color0}${execpi 3600 brweather --option=LUA4T}
# Imagem de fundo
${image ~/.brweather/conky5/imagem.png -p 0,0}
# Imagem das luas
# Hoje
${execpi 3600 brweather --option=LUA1I -s 90x90 -p 25,50}
# Segunda lua
${execpi 3600 brweather --option=LUA2I -s 30x30 -p 0,180}
# Terceira lua
${execpi 3600 brweather --option=LUA3I -s 30x30 -p 55,180}
# quarta lua
${execpi 3600 brweather --option=LUA4I -s 30x30 -p 100,180}
Até a próxima!


Nenhum comentário:
Postar um comentário