diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-19 07:39:23 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-05-19 07:39:23 +0200 |
commit | b522060cef3a5cd00ef35688e58cc397e4cc806b (patch) | |
tree | 57d01fe7bd65dbea65b2d7eb886536a930c38e21 /doc/en/autogen | |
parent | 138af6e7dd146696de82cb4ce452028e7107c1f0 (diff) | |
download | weechat-b522060cef3a5cd00ef35688e58cc397e4cc806b.zip |
buflist: add variable ${current_buffer} in bar item evaluation
Diffstat (limited to 'doc/en/autogen')
-rw-r--r-- | doc/en/autogen/user/buflist_commands.adoc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc index 59ea83eac..cd3519d00 100644 --- a/doc/en/autogen/user/buflist_commands.adoc +++ b/doc/en/autogen/user/buflist_commands.adoc @@ -28,6 +28,7 @@ The following variables can be used in these options: - irc_channel: IRC channel data, defined only on an IRC channel buffer (see hdata "irc_channel" in API doc) - extra variables added by buflist for convenience: - ${format_buffer}: the evaluated value of option buflist.format.buffer; this can be used in option buflist.format.buffer_current to just change the background color for example + - ${current_buffer}: a boolean ("0" or "1"), "1" if this is the current buffer; it can be used in a condition: ${if:${current_buffer}?...:...} - ${format_number}: indented number with separator (evaluation of option buflist.format.number) - ${number}: indented number, for example " 1" if there are between 10 and 99 buffers - ${indent}: indentation for name (channel and private buffers are indented) (evaluation of option buflist.format.indent) |