aboutsummaryrefslogtreecommitdiffstats
path: root/activity_bar.pl
AgeCommit message (Collapse)Author
2023-12-12activity_bar.pl: Don't show activity for messages below notify levelTeddy Wing
If a message comes in on a buffer whose notify level is set to highlights and higher, then don't update AnyBar activity. We should only be changing the AnyBar colour when we receive messages that we want to be notified of based on our configuration.
2023-12-10Add license (GNU GPLv3+)Teddy Wing
2023-12-10activity_bar.pl: Add documentation about terminal focus handlingTeddy Wing
2023-12-10activity_bar.pl: Prevent adding the hook more than onceTeddy Wing
The `enable` subcommand should be a no-op if the hook is already enabled.
2023-12-09activity_bar.pl: Add `enable` and `disable` commandsTeddy Wing
Add new commands that enable and disable the print hook. We can use these commands in terminal focus handlers, to turn on activity monitoring when WeeChat is not focused, and turn it off once it is focused.
2023-12-09activity_bar.pl: Add `/activity_bar clear` commandTeddy Wing
Command to clear the activity notification colour from AnyBar and turn it hollow.
2023-12-09activity_bar.pl: Update the AnyBar colour when messages are receivedTeddy Wing
2023-12-09activity_bar.pl: Get notified of activity in buffersTeddy Wing
Register a `hook_print` to get notified of activity in buffers. This prints the message to the WeeChat core buffer.