configurable
[rainbowstream.git] / rainbowstream / config.py
CommitLineData
6fa09c14
VNM
1from .colors import *
2
533edcdb 3# 'search': max search record
f405a7d0 4SEARCH_MAX_RECORD = 5
533edcdb 5# 'home': default number of home's tweets
829cc2d8 6HOME_TWEET_NUM = 5
533edcdb 7# 'allrt': default number of retweets
1f24a05a 8RETWEETS_SHOW_NUM = 5
533edcdb 9# 'inbox','sent': default number of direct message
305ce127 10MESSAGES_DISPLAY = 5
533edcdb 11# 'trend': max trending topics
5b2c4faf 12TREND_MAX = 10
533edcdb
VNM
13# 'switch': Filter and Ignore list ex: ['@fat','@mdo']
14ONLY_LIST = []
15IGNORE_LIST = []
16
17# Autocomplete history file name
f5677fb1 18HISTORY_FILENAME = 'completer.hist'
c0440e50 19
eb9781ed
O
20USER_DOMAIN = 'userstream.twitter.com'
21PUBLIC_DOMAIN = 'stream.twitter.com'
22SITE_DOMAIN = 'sitestream.twitter.com'
c0440e50 23DOMAIN = USER_DOMAIN
d51b4107 24
816e305f 25IMAGE_SHIFT = 10
305ce127 26IMAGE_MAX_HEIGHT = 40
533edcdb 27
6fa09c14
VNM
28# Following 16 basic colors is supported:
29# default
30# black
31# red
32# green
33# yellow
34# blue
35# magenta
36# cyan
37# grey
38# light_red
39# light_green
40# light_yellow
41# light_blue
42# light_magenta
43# light_cyan
44# white
45
46TWEET = {
47 'nick' : grey,
48 'clock' : grey,
49 'id' : grey,
50 'favourite' : light_green,
51 'rt' : grey,
52 'link' : light_cyan,
53 'keyword' : on_light_yellow,
54}
55
56MESSAGE = {
57 'sender' : grey,
58 'recipient' : grey,
59 'to' : light_magenta,
60 'clock' : grey,
61 'id' : grey,
62}
63
64PROFILE = {
65 'statuses_count' : light_green,
66 'friends_count' : light_green,
67 'followers_count' : light_green,
68 'nick' : grey,
69 'profile_image_url' : light_cyan,
70 'description' : light_yellow,
71 'location' : light_magenta,
72 'url' : light_cyan,
73 'clock' : white,
74}
75
76TREND = {
77 'url': light_cyan
78}