blob: 65f6254240f68fb07807cbc0d1f72e05f630262c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
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 5 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.
** Please note ** CTW does not currently display a full 10 day forecast
due to changes with weather.com.
** 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.
|