X-Git-Url: https://vcs.fsf.org/?p=rainbowstream.git;a=blobdiff_plain;f=rainbowstream%2Fcolorset%2Fconfig;h=54b76ff055b8af68deaf410c630e4198c2fcc9c7;hp=173f522c78c8b0244af1ee8c7876e8fd9255b93a;hb=7ce368df9167dc64f2bf3f0e29a287b4c922b637;hpb=d6cc4c67f3bf71ea6a434fdb438d23a08ff814e9 diff --git a/rainbowstream/colorset/config b/rainbowstream/colorset/config index 173f522..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 }