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:
parent
fe8b9519c8
commit
e744a7c25a
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user