avoid code duplication in configdata descriptions

* available placeholders are defined for tabs.title.format
 * tabs.title.format_pinned refers to that definition
 * window.title.format repeats the identical(!) definition
 * this replaces the repetion by another reference
This commit is contained in:
Marcel Schilling 2017-10-30 16:33:35 +01:00
parent fe8b9519c8
commit e744a7c25a

View File

@ -1435,19 +1435,8 @@ window.title_format:
- current_url
default: '{perc}{title}{title_sep}qutebrowser'
desc: |
The format to use for the window title.
The following placeholders are defined:
* `{perc}`: The percentage as a string like `[10%]`.
* `{perc_raw}`: The raw percentage, e.g. `10`
* `{title}`: The title of the current web page
* `{title_sep}`: The string ` - ` if a title is set, empty otherwise.
* `{id}`: The internal window ID of this window.
* `{scroll_pos}`: The page scroll position.
* `{host}`: The host of the current web page.
* `{backend}`: Either ''webkit'' or ''webengine''
* `{private}` : Indicates when private mode is enabled.
* `{current_url}` : The URL of the current web page.
The format to use for the window title. The same placeholders like for
`tabs.title.format` are defined.
## zoom