config: allow disabling window titles
This commit is contained in:
parent
796269d31e
commit
daafb98336
19 changed files with 222 additions and 74 deletions
|
|
@ -146,6 +146,9 @@ impl ActionParser<'_> {
|
|||
"show-bar" => ShowBar(true),
|
||||
"hide-bar" => ShowBar(false),
|
||||
"toggle-bar" => ToggleBar,
|
||||
"show-titles" => ShowTitles(true),
|
||||
"hide-titles" => ShowTitles(false),
|
||||
"toggle-titles" => ToggleTitles,
|
||||
"focus-prev" => FocusHistory(Timeline::Older),
|
||||
"focus-next" => FocusHistory(Timeline::Newer),
|
||||
"focus-below" => FocusLayerRel(LayerDirection::Below),
|
||||
|
|
|
|||
|
|
@ -146,6 +146,7 @@ impl Parser for ConfigParser<'_> {
|
|||
workspace_display_order_val,
|
||||
auto_reload,
|
||||
simple_im_val,
|
||||
show_titles,
|
||||
),
|
||||
) = ext.extract((
|
||||
(
|
||||
|
|
@ -202,6 +203,7 @@ impl Parser for ConfigParser<'_> {
|
|||
opt(val("workspace-display-order")),
|
||||
recover(opt(bol("auto-reload"))),
|
||||
opt(val("simple-im")),
|
||||
recover(opt(bol("show-titles"))),
|
||||
),
|
||||
))?;
|
||||
let mut keymap = None;
|
||||
|
|
@ -562,6 +564,7 @@ impl Parser for ConfigParser<'_> {
|
|||
pointer_revert_key,
|
||||
use_hardware_cursor: use_hardware_cursor.despan(),
|
||||
show_bar: show_bar.despan(),
|
||||
show_titles: show_titles.despan(),
|
||||
focus_history,
|
||||
middle_click_paste: middle_click_paste.despan(),
|
||||
input_modes,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue