diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-01 14:26:02 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2014-04-01 14:26:02 +0200 |
commit | 3b32d62fa61a6f4f052bbabd492dd06d4e68c066 (patch) | |
tree | 9d56e621232f5fb92f958cc2132b3f197ba58117 /doc/en/autogen/user/trigger_commands.txt | |
parent | e96639123b4e22c975a510d968d80c8258224adc (diff) | |
download | weechat-3b32d62fa61a6f4f052bbabd492dd06d4e68c066.zip |
trigger: add filter in trigger monitor buffer
The filter can be set with /trigger monitor <filter> or by entering data
in the trigger monitor input.
Diffstat (limited to 'doc/en/autogen/user/trigger_commands.txt')
-rw-r--r-- | doc/en/autogen/user/trigger_commands.txt | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/en/autogen/user/trigger_commands.txt b/doc/en/autogen/user/trigger_commands.txt index 863e42cec..553056b7b 100644 --- a/doc/en/autogen/user/trigger_commands.txt +++ b/doc/en/autogen/user/trigger_commands.txt @@ -13,7 +13,7 @@ show <name> del <name>|-all [<name>...] default -yes - monitor + monitor [<filter>] list: list triggers (without argument, this list is displayed) listfull: list triggers with detailed info for each trigger @@ -55,7 +55,8 @@ return_code: return code in callback (ok (default), ok_eat, error) del: delete a trigger -all: do action on all triggers default: restore default triggers - monitor: open the trigger monitor buffer + monitor: open the trigger monitor buffer, with optional filter: + filter: filter hooks/triggers to display (a hook must start with "@", for example "@signal"), many filters can be separated by commas; each trigger name can start or end with "*" When a trigger callback is called, following actions are performed, in this order: 1. check conditions; if false, exit @@ -71,5 +72,7 @@ Examples (you can also look at default triggers with /trigger listdefault): /trigger add resize_big signal signal_sigwinch "${info:term_width} >= 100" "" "/bar show nicklist" silently save config each hour: /trigger add cfgsave timer 3600000;0;0 "" "" "/mute /save" + open trigger monitor and show only modifiers and triggers whose name starts with "resize": + /trigger monitor @modifier,resize* ---- |