1
0
Fork 0
forked from wry/wry

config: allow disabling window titles

This commit is contained in:
Sean Day 2025-10-16 17:48:47 +02:00 committed by Julian Orth
parent 796269d31e
commit daafb98336
19 changed files with 222 additions and 74 deletions

View file

@ -1030,6 +1030,10 @@
"type": "boolean",
"description": "Configures whether the built-in bar is shown.\n\nThe default is `true`.\n"
},
"show-titles": {
"type": "boolean",
"description": "Configures whether title bars on windows are shown.\n\nThe default is `true`.\n"
},
"focus-history": {
"description": "Configures the focus-history settings.\n\n- Example:\n\n ```toml\n [focus-history]\n only-visible: true\n same-workspace: true\n ```\n",
"$ref": "#/$defs/FocusHistory"
@ -1831,6 +1835,9 @@
"show-bar",
"hide-bar",
"toggle-bar",
"show-titles",
"hide-titles",
"toggle-titles",
"focus-prev",
"focus-next",
"focus-below",

View file

@ -851,7 +851,7 @@ The string should have one of the following values:
- `default`:
The default brightness setting.
The default brightness setting.
The behavior depends on the EOTF:
@ -2086,6 +2086,14 @@ The table has the following fields:
The value of this field should be a boolean.
- `show-titles` (optional):
Configures whether title bars on windows are shown.
The default is `true`.
The value of this field should be a boolean.
- `focus-history` (optional):
Configures the focus-history settings.
@ -4159,6 +4167,18 @@ The string should have one of the following values:
Toggles the built-in bar.
- `show-titles`:
Shows window titles.
- `hide-titles`:
Hides window titles.
- `toggle-titles`:
Toggles window titles.
- `focus-prev`:
Focuses the previous window in the focus history.

View file

@ -1009,6 +1009,12 @@ SimpleActionName:
description: Hides the built-in bar.
- value: toggle-bar
description: Toggles the built-in bar.
- value: show-titles
description: Shows window titles.
- value: hide-titles
description: Hides window titles.
- value: toggle-titles
description: Toggles window titles.
- value: focus-prev
description: Focuses the previous window in the focus history.
- value: focus-next
@ -1053,7 +1059,7 @@ SimpleActionName:
- value: enable-unicode-input
description: |
Enables Unicode input in the simple, XCompose based input method.
This has no effect if the simple IM is not currently active.
@ -2841,6 +2847,13 @@ Config:
description: |
Configures whether the built-in bar is shown.
The default is `true`.
show-titles:
kind: boolean
required: false
description: |
Configures whether title bars on windows are shown.
The default is `true`.
focus-history:
ref: FocusHistory
@ -3419,7 +3432,7 @@ Brightness:
values:
- value: default
description: |
The default brightness setting.
The default brightness setting.
The behavior depends on the EOTF: