blob: 7f62a8bea73733e55cf88cc40f674fe913f46d88 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
CurseTheWeather is a python application which displays the weather in a
terminal via a ncurses frontend (ctw). This frontend shows ascii-art weather
icons along with the current weather conditions and 10 day forecast.
weatherfeed.py is the python module that grabs the weather data from
weather.com, and it can used by frontends other than ctw.
** ctw and Transparency, Different Colors **
To modify transparency and color behavior in ctw simply modify
initColors() in /usr/bin/ctw.
To remove transparency, simply delete:
curses.use_default_colors()
at line 125 (just under "curses.start_color()").
Modifying the lines with "curses.init_pair" will allow you to modify the text
colors used.
|