Note that the precise appearance depends on the configuration of your notification system as well as on the used icon.
- Put the
- Add a symbolic link to it in the
~/.weechat/python/autoload/directory to make the script load automatically when WeeChat starts:
$ cd ~/.weechat/python/autoload $ ln -s ../notify_send.py
The script allows you to set the following options, either by running
/set plugins.var.python.notify_send.XXX YYY or by using the
notify_on_highlights. Send notifications on highlights. Default:
notify_on_privmsgs. Send notifications on private messages. Default:
notify_on_filtered_messages. Send notifications also on filtered (hidden) messages. Default:
notify_when_away: Send also notifications when away. Default:
notify_for_current_buffer: Send also notifications for the currently active buffer. Default:
notify_on_all_messages_in_buffers: A comma-separated list of buffers for which you want to receive notifications on all messages that appear in them. You can use either short names (
#buffer) or full names (
min_notification_delay. A minimal delay in milliseconds between successive notifications from the same buffer. It is used to protect from floods/spam. Set it to
0to disable this feature (i.e. all notifications will be shown). Default:
ignore_messages_tagged_with: A comma-separated list of message tags for which no notifications should be shown. Default:
ignore_buffers: A comma-separated list of buffers from which no notifications should be shown. You can use either short names (
#buffer) or full names (
ignore_buffers_starting_with: A comma-separated list of buffer prefixes from which no notifications should be shown. Default:
ignore_nicks: A comma-separated list of nicks from which no notifications should be shown. Default:
ignore_nicks_starting_with: A comma-separated list of nick prefixes from which no notifications should be shown. Default:
nick_separator: A separator to be put between a nick and a message. Default:
escape_html: Escapes the
&HTML characters in notification messages. Default:
max_length: The maximal length of a notification (0 means no limit). Default: 72.
ellipsis: An ellipsis to be used for notifications that are too long. Default:
icon: A path to an icon to be shown in notifications. Default:
timeout: Time after which the notification disappears (in milliseconds). Set it to 0 to disable the timeout. Default: 5000 (5 seconds).
transient: When a notification expires or is dismissed, remove it from the notification bar. Set it to
offto keep the notification. Default:
urgency: Notification urgency (
Copyright (c) 2015 Petr Zemek (firstname.lastname@example.org) and contributors.
Distributed under the MIT license. See the
file for more details.