X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=rainbowstream%2Fconfig.py;h=daf1cfd7f654d095d6a954975230c6d21d4375da;hp=90e6aa10b8f7df1502211d8df7eb96f1ded5569b;hb=533edcdb18f9b2aa00fa8f00c7093ae219765b53;hpb=f405a7d0c54ab0657af3bab77f6eb28a98f8921e diff --git a/rainbowstream/config.py b/rainbowstream/config.py index 90e6aa1..daf1cfd 100644 --- a/rainbowstream/config.py +++ b/rainbowstream/config.py @@ -1,4 +1,27 @@ -# This is RainbowStream App info -CONSUMER_KEY = 'Xk1DGhR1FJa4xjg7GbdogzLJw' -CONSUMER_SECRET = 'SpHtDmbSGCSm55AAlIeb2PsD3kGEzxyo1325rJgrND5abeOh2T' +# 'search': max search record SEARCH_MAX_RECORD = 5 +# 'home': default number of home's tweets +HOME_TWEET_NUM = 5 +# 'allrt': default number of retweets +RETWEETS_SHOW_NUM = 5 +# 'inbox','sent': default number of direct message +MESSAGES_DISPLAY = 5 +# 'trend': max trending topics +TREND_MAX = 10 +# 'switch': Filter and Ignore list ex: ['@fat','@mdo'] +ONLY_LIST = [] +IGNORE_LIST = [] + +# Autocomplete history file name +HISTORY_FILENAME = 'completer.hist' + +USER_DOMAIN = 'userstream.twitter.com' +PUBLIC_DOMAIN = 'stream.twitter.com' +SITE_DOMAIN = 'sitestream.twitter.com' +DOMAIN = USER_DOMAIN + +IMAGE_SHIFT = 10 +IMAGE_MAX_HEIGHT = 40 + +# Color name can be 'grey', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', or 'white' +SCREEN_NAME_COLOR = 'grey'