From ada99c0af5665828abc725923bf2f104c577c852 Mon Sep 17 00:00:00 2001 From: Ultrabug Date: Tue, 31 Mar 2015 13:14:25 +0200 Subject: move config parameters on every module docstring, overall QA --- py3status/modules/spaceapi.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'py3status/modules/spaceapi.py') diff --git a/py3status/modules/spaceapi.py b/py3status/modules/spaceapi.py index c4eac58..ac70b2f 100644 --- a/py3status/modules/spaceapi.py +++ b/py3status/modules/spaceapi.py @@ -2,6 +2,14 @@ """ Display if your favorite hackerspace is open or not. +Configuration Parameters: + - cache_timeout: Set timeout between calls in seconds + - closed_color: color if space is closed + - closed_text: text if space is closed, strftime parameters will be translated + - open_color: color if space is open + - open_text: text if space is open, strftime parmeters will be translated + - url: URL to SpaceAPI json file of your space + @author timmszigat @license WTFPL """ @@ -15,15 +23,7 @@ import urllib.request class Py3status: """ - Configuration Parameters: - - cache_timeout: Set timeout between calls in seconds - - closed_color: color if space is closed - - closed_text: text if space is closed, strftime parameters will be translated - - open_color: color if space is open - - open_text: text if space is open, strftime parmeters will be translated - - url: URL to SpaceAPI json file of your space """ - # available configuration parameters cache_timeout = 60 closed_color = None -- cgit v1.3