X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=rainbowstream%2Fcolorset%2Fconfig;h=31e6294ad757bb49c691d5b7df7c331054547520;hp=2003630d2579f7dbf4fcb65dd40a803403065d41;hb=1d01129e5baa3ef92e63e54480f5dffa57bf2890;hpb=335e7803e51d6c981c422f835a102e3e51429d8f diff --git a/rainbowstream/colorset/config b/rainbowstream/colorset/config index 2003630..31e6294 100644 --- a/rainbowstream/colorset/config +++ b/rainbowstream/colorset/config @@ -1,4 +1,6 @@ { + // After 120 minutes, the stream will automatically hangup + "HEARTBEAT_TIMEOUT" : 120, // Image on term "IMAGE_ON_TERM" : false, // Themes @@ -9,12 +11,25 @@ "HIDE_PROMPT" : true, // Prefix "PREFIX" : "", - // 'search': max search record + // '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 RT #owner: #tweet", + // '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 @@ -26,9 +41,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", @@ -37,11 +55,11 @@ "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 \u20AA:#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" } } }