aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTeddy Wing2023-12-12 20:15:51 +0100
committerTeddy Wing2023-12-12 20:20:54 +0100
commita9aad0dc5605944c4d811c5ae91ff6b8896f4eba (patch)
tree94cabc4295cad48742586c7ff34e3c10a52e0dc6
parent2baff3c74a078443058828e4a01a32fbec9285b5 (diff)
downloadweechat-activity-bar-a9aad0dc5605944c4d811c5ae91ff6b8896f4eba.tar.bz2
activity_bar.pl: Swap privmsg and regular message colours
After using the plugin for a couple days, I decided that orange is too insistent a colour to describe messages I probably don't need to read immediately. Swap the blue and orange colours so that now blue means regular message and orange means private message. This feels better in terms of message priority.
-rw-r--r--activity_bar.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/activity_bar.pl b/activity_bar.pl
index fdb02f8..9c4f54a 100644
--- a/activity_bar.pl
+++ b/activity_bar.pl
@@ -75,7 +75,7 @@ sub print_cb {
my $buffer_notify = weechat::buffer_get_integer($buffer, 'notify');
if ($buffer_type eq 'private') {
- anybar_send('blue');
+ anybar_send('orange');
}
elsif ($highlight == 1) {
anybar_send('purple');
@@ -83,7 +83,7 @@ sub print_cb {
# Notify about regular messages if the buffer's `notify` property allows it.
elsif ($buffer_notify > 1) {
- anybar_send('orange');
+ anybar_send('blue');
}
return weechat::WEECHAT_RC_OK;