X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=rainbowstream%2Fcolorset%2Fconfig;h=54b76ff055b8af68deaf410c630e4198c2fcc9c7;hb=6bb36e28788f8763ccad6ef4f1afa2122e526569;hp=d2388d8b6401751a4e789eceb528bca0872c98d6;hpb=0d9977c739e5e448af4b49332bd6df1aa9edafc3;p=rainbowstream.git diff --git a/rainbowstream/colorset/config b/rainbowstream/colorset/config index d2388d8..54b76ff 100644 --- a/rainbowstream/colorset/config +++ b/rainbowstream/colorset/config @@ -1,18 +1,37 @@ { + // After 120 minutes, the stream will automatically hangup + "HEARTBEAT_TIMEOUT" : 120, // Image on term "IMAGE_ON_TERM" : false, + // Resize image to fit on terminal view + "IMAGE_RESIZE_TO_FIT" : false, // Themes "THEME" : "monokai", // Ascii Art "ASCII_ART" : true, + // Hide promt when receive a tweet + "HIDE_PROMPT" : true, // Prefix - "PREFIX" : "", - // 'search': max search record + "PREFIX" : "#owner#place#me#keyword", + // 'search': search type ('mixed','recent','popular') + "SEARCH_TYPE" : "mixed", + // 'search': search max result, number over 100 will fallback to 100 "SEARCH_MAX_RECORD" : 5, // 'home': default number of home's tweets "HOME_TWEET_NUM" : 5, // 'allrt': default number of retweets "RETWEETS_SHOW_NUM" : 5, + // 'conversation': max tweet in a thread + "CONVERSATION_MAX" : 30, + // 'quote' format + "QUOTE_FORMAT" : "#comment https://twitter.com/#owner/status/#tid", + // 'thread' meta format + "THREAD_META_LEFT" : "(#id) #clock", + "THREAD_META_RIGHT" : "#clock (#id)", + // 'thread' frame's minimum width + "THREAD_MIN_WIDTH" : 20, + // 'Notification' format + "NOTIFY_FORMAT" : " #source_user #notify #clock", // 'inbox','sent': default number of direct message "MESSAGES_DISPLAY" : 5, // 'trend': max trending topics @@ -24,9 +43,12 @@ "IGNORE_LIST" : [], // Autocomplete history file name "HISTORY_FILENAME" : "completer.hist", - // Image config - "IMAGE_SHIFT" : 10, - "IMAGE_MAX_HEIGHT" : 40, + // Image margin + "IMAGE_SHIFT" : 2, + // Image max height + "IMAGE_MAX_HEIGHT" : 90, + // Seconds to wait before displaying another tweet, will drop all tweets while waiting. + "STREAM_DELAY" : 0, // Stream config "USER_DOMAIN" : "userstream.twitter.com", "PUBLIC_DOMAIN" : "stream.twitter.com", @@ -35,11 +57,12 @@ "FORMAT": { "TWEET": { "CLOCK_FORMAT" : "%Y/%m/%d %H:%M:%S", - "DISPLAY" : "\n #name #nick:\n [#clock] [id=#id] #fav\n #tweet" + "DISPLAY" : "\n #name #nick #clock \n \u267A:#rt_count \u2665:#fa_count id:#id via #client #fav\n #tweet" }, "MESSAGE": { "CLOCK_FORMAT" : "%Y/%m/%d %H:%M:%S", - "DISPLAY" : "\n #sender_name #sender_nick #to #recipient_name #recipient_nick :\n [#clock] [message_id=#id]\n #message" + "DISPLAY" : "\n #sender_name #sender_nick #to #recipient_name #recipient_nick :\n #clock message_id:#id\n #message" } - } + }, + "POCKET_SUPPORT": false }