diff options
Diffstat (limited to 'doc/en/autogen')
-rw-r--r-- | doc/en/autogen/user/buflist_commands.adoc | 8 | ||||
-rw-r--r-- | doc/en/autogen/user/buflist_options.adoc | 2 |
2 files changed, 8 insertions, 2 deletions
diff --git a/doc/en/autogen/user/buflist_commands.adoc b/doc/en/autogen/user/buflist_commands.adoc index effe55abe..6d2392043 100644 --- a/doc/en/autogen/user/buflist_commands.adoc +++ b/doc/en/autogen/user/buflist_commands.adoc @@ -17,7 +17,13 @@ The lines with buffers are displayed using string evaluation (see /help eval for - buflist.format.buffer: format for a buffer which is not current buffer - buflist.format.buffer_current: format for the current buffer -The following variables can be used in these options: +The following variables can be used in the option "buflist.look.display_conditions" (see below for the description): + - bar_item + - buffer + - irc_server + - irc_channel + +The following variables can be used in the options "buflist.format.*": - bar item data (see hdata "bar_item" in API doc for a complete list), for example: - ${bar_item.name} - buffer data (see hdata "buffer" in API doc for a complete list), for example: diff --git a/doc/en/autogen/user/buflist_options.adoc b/doc/en/autogen/user/buflist_options.adoc index a28f958e9..211dcfd2f 100644 --- a/doc/en/autogen/user/buflist_options.adoc +++ b/doc/en/autogen/user/buflist_options.adoc @@ -99,7 +99,7 @@ ** default value: `+50+` * [[option_buflist.look.display_conditions]] *buflist.look.display_conditions* -** description: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist); for example to hide server buffers if they are merged with core buffer: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"] +** description: pass:none[conditions to display a buffer (note: content is evaluated, see /help buflist); variables available are: bar_item, buffer, irc_server and irc_channel (see /help buflist for more information); for example to hide server buffers if they are merged with core buffer: "${buffer.hidden}==0 && ((${type}!=server && ${buffer.full_name}!=core.weechat) || ${buffer.active}==1)"] ** type: string ** values: any string ** default value: `+"${buffer.hidden}==0"+` |