diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-04-10 09:16:29 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-04-10 09:16:29 -0700 |
commit | 6cd049d88e48b86fbf6216cb5c5f39119ec87372 (patch) | |
tree | 835b606e9079922fe06e6657f9ea61376f755e2b /wee_slack.py | |
parent | 287a92974a3a6ea801075cf545710cd1ff87c28b (diff) | |
download | wee-slack-6cd049d88e48b86fbf6216cb5c5f39119ec87372.tar.gz |
set baritem color to yellow
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 1aea706..ce048f4 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -178,6 +178,8 @@ def process_message(message_json): def typing_bar_item_cb(data, buffer, args): if typing: + #TODO: make this a config option + color = w.color('yellow') typing_here = [] for chan_and_user in typing.keys(): chan, user = chan_and_user.split(":") @@ -188,7 +190,7 @@ def typing_bar_item_cb(data, buffer, args): typing_here.append(user) pass if len(typing_here) > 0: - return "typing: " + ", ".join(typing_here) + return color + "typing: " + ", ".join(typing_here) return "" def typing_update_cb(data, remaining_calls): |