X-Git-Url: https://vcs.fsf.org/?a=blobdiff_plain;f=rainbowstream%2Fcolorset%2Fconfig;h=6bfd43e6358488a8f50dc792149fd3008a3b725b;hb=13bcdaf1ab4c477633a164e7a4e8453e3c13a7f8;hp=2003630d2579f7dbf4fcb65dd40a803403065d41;hpb=335e7803e51d6c981c422f835a102e3e51429d8f;p=rainbowstream.git diff --git a/rainbowstream/colorset/config b/rainbowstream/colorset/config index 2003630..6bfd43e 100644 --- a/rainbowstream/colorset/config +++ b/rainbowstream/colorset/config @@ -1,6 +1,10 @@ { + // 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 @@ -8,13 +12,26 @@ // 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 @@ -26,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", @@ -37,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 }