2010-05-11 22:21:37 +02:00
|
|
|
CurseTheWeather is a python application which displays the weather in a
|
|
|
|
terminal via a ncurses frontend (ctw). This frontend shows ascii-art weather
|
2010-05-13 00:22:22 +02:00
|
|
|
icons along with the current weather conditions and 5 day forecast.
|
2010-05-11 20:00:02 +02:00
|
|
|
|
2010-05-11 22:21:37 +02:00
|
|
|
weatherfeed.py is the python module that grabs the weather data from
|
|
|
|
weather.com, and it can used by frontends other than ctw.
|
2010-05-11 20:00:02 +02:00
|
|
|
|
2010-05-13 00:22:22 +02:00
|
|
|
** Please note ** CTW does not currently display a full 10 day forecast
|
|
|
|
due to changes with weather.com.
|
2010-05-11 20:00:02 +02:00
|
|
|
|
2010-05-11 22:21:37 +02:00
|
|
|
** ctw and Transparency, Different Colors **
|
2010-05-11 20:00:02 +02:00
|
|
|
|
2010-05-13 00:22:22 +02:00
|
|
|
To modify transparency and color behavior in ctw simply modify
|
|
|
|
initColors() in /usr/bin/ctw.
|
2010-05-11 22:21:37 +02:00
|
|
|
|
2010-05-13 00:22:22 +02:00
|
|
|
To remove transparency, simply delete:
|
|
|
|
curses.use_default_colors()
|
2010-05-11 22:21:37 +02:00
|
|
|
at line 125 (just under "curses.start_color()").
|
2010-05-13 00:22:22 +02:00
|
|
|
|
2010-05-11 22:21:37 +02:00
|
|
|
Modifying the lines with "curses.init_pair" will allow you to modify the text
|
|
|
|
colors used.
|