From a9aad0dc5605944c4d811c5ae91ff6b8896f4eba Mon Sep 17 00:00:00 2001 From: Teddy Wing Date: Tue, 12 Dec 2023 20:15:51 +0100 Subject: 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. --- activity_bar.pl | 4 ++-- 1 file 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; -- cgit v1.2.3