diff options
author | Phillip Warner <pc_warner@yahoo.com> | 2010-05-11 22:21:37 +0200 |
---|---|---|
committer | Michiel van Wessem <michiel@slackbuilds.org> | 2010-05-11 22:21:37 +0200 |
commit | 4331156c527126d26aa63518b8a9a482b8d9b3a2 (patch) | |
tree | 5a393f0f369d5db4e89cbc715cec8112f2285088 /desktop/CurseTheWeather/README | |
parent | 034abc812bc41622b75b82ed0f6ac99fa7fa0895 (diff) |
desktop/CurseTheWeather: Updated for version 0.4
Diffstat (limited to 'desktop/CurseTheWeather/README')
-rw-r--r-- | desktop/CurseTheWeather/README | 27 |
1 files changed, 15 insertions, 12 deletions
diff --git a/desktop/CurseTheWeather/README b/desktop/CurseTheWeather/README index 64f4305c012ea..c3b41705e6a3b 100644 --- a/desktop/CurseTheWeather/README +++ b/desktop/CurseTheWeather/README @@ -1,16 +1,19 @@ -CurseTheWeather v0.3 +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. -CurseTheWeather is a curses application which displays the -weather in a terminal. It can give the current weather as -well as forcast for up to 10 days. +weatherfeed.py is the python module that grabs the weather data from +weather.com, and it can used by frontends other than ctw. -weatherfeed.py is a module that it uses and it can be used -by other frontends to get weather information. Each time it -is instantiated, it grabs the weather from weather.com -Due to the fact that the CurseTheWeather website uses trac the -download is somewhat misformed when using wget. If you use FF or another -browser this problem should not occur. +** ctw and Transparency, Different Colors ** -The following commandshould solve this: -mv CurseTheWeather-0.3.tar.gz\?format\=raw CurseTheWeather-0.3.tar.gz +If you are interested in changing the colors in ctw, or if you use +transparency in your terminals and would like this to work with ctw, then +simply modify initColors() in /usr/bin/ctw. For transparency, simply add: + +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. |