|
Slobodni softver Teme o softveru otvorenog koda (programi i operativni sistemi), projektima, zajednici... |
|
Alatke vezane za temu | Vrste prikaza |
20.8.2018, 8:05 | #1 |
Veteran
Član od: 29.6.2007.
Poruke: 941
Zahvalnice: 215
Zahvaljeno 421 puta na 229 poruka
|
Conky weather
Je l' moguce jos uvek naterati conky da prikazuje vremensku prognozu? Ja sam juce pokusavao 2 sata i ne ide... Koristio sam conky manager, radi manje patnje, evo ovde je text od weather dela:
HTML kod:
# conky package by qaisar nawaz # Conky settings # background no update_interval 600 double_buffer yes no_buffers yes # Window specifications # own_window yes own_window_type normal own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager own_window_title own_window_colour BEBEBE own_window_argb_visual no own_window_argb_value 205 minimum_size 263 110 maximum_width 263 # Alignment # alignment top_right gap_x 218 gap_y 445 border_inner_margin 10 border_outer_margin 0 # Graphics settings # draw_shades no draw_outline no draw_borders no draw_graph_borders no # Text settings # use_xft yes xftalpha 0 xftfont Open Sans Light:size=10 override_utf8_locale yes imlib_cache_size 0 # Color scheme # default_color 333333 color1 0099CC color2 9933CC color3 669900 color4 FF8800 color5 CC0000 color6 AAAAAA color7 DDDDDD own_window_transparent yes TEXT ${color1}Now$color${execi 300 curl -s "http://xml.weather.yahoo.com/forecastrss?w=535658&u=c" -o ~/.cache/weather.xml} ${alignr 10}${voffset -27}${font Open Sans Light:size=11}${voffset 10}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "text=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*" | tr '[a-z]' '[A-Z]'}${font} ${voffset 0}${offset 30}${font Open Sans Light:size=30}${execi 300 grep "yweather:condition" ~/.cache/weather.xml | grep -o "temp=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}°${font}${voffset -14} ${execi 300 cp -f ./conky_icons/$(grep "yweather:condition" ~/.cache/weather.xml | grep -o "code=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*").png ~/.cache/weather.png}${image ~/.cache/weather.png -p 160,35 -s 60x60} ${image ./conky_icons/wind.png -p 17,76 -s 15x15}${offset 40}${execi 300 grep "yweather:wind" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}${execi 300 grep "yweather:units" ~/.cache/weather.xml | grep -o "speed=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"} ${image ./conky_icons/humidity.png -p 17,96 -s 15x15}${offset 40}${execi 300 grep "yweather:atmosphere" ~/.cache/weather.xml | grep -o "humidity=\"[^\"]*\"" | grep -o "\"[^\"]*\"" | grep -o "[^\"]*"}%${voffset -58} |
17.2.2019, 0:27 | #2 |
Novi član
Član od: 4.8.2008.
Poruke: 28
Zahvalnice: 1
Zahvaljeno 0 puta na 0 poruka
|
Re: Conky weather
Probao sam ovaj tvoj conky,prekopirao sam u gedit i ubacio u conky menager ali nema vremenske prognoze na desktopu samo piše now i mali kružić.
inače i ja sam se mučio da nađem neku lepu vremensku prognozu ali to na moj linux LMDE 3 teško ide |
Bookmarks sajtovi |
|
|
Slične teme | ||||
tema | temu započeo | forum | Odgovora | Poslednja poruka |
Pro Evolution Soccer 2015 (PES 2015) | Chicharito 14 | Sportske simulacije | 895 | 16.2.2023 20:52 |
Weather Win7 Gadget | Black Adder | Operativni sistemi | 3 | 19.7.2015 11:44 |
Problem sa Weather gadgetsom! | shkobo | Operativni sistemi | 4 | 5.12.2013 15:19 |
Conky,konfig fajlovi i pomoc | Payne | Slobodni softver | 40 | 25.12.2012 19:39 |
Tesla The Weather Man | zika | Platformske igre | 10 | 15.8.2011 0:49 |