Commit c63ec53
feat(theme): summon_keys + summon_window_name for global Win+Space toggle
Per operator: "MiOS app should be invokable via a chord/keycombo
like winkey + Spacebar to open and close the window at will".
mios.toml [theme.terminal]:
summon_keys = "win+space" (override to "ctrl+shift+space" etc.)
summon_window_name = "MiOS" (the named window the chord targets)
mios-config.html: two new fields under "theme.terminal & theme.prompt"
fieldset so the operator can edit the chord through the configurator.
The actual binding is written to WT's settings.json by Get-MiOS.ps1's
Install-MiOSTerminalProfile (lands in mios-bootstrap concurrently).
The binding uses WT's globalSummon action with toggleVisibility=true,
monitor=toMouse so the window appears on whichever monitor the cursor
is currently on (matches the existing centering logic).
Note: Win+Space is normally Windows' keyboard-layout switch. WT's
globalSummon overrides it WHILE WT is running. If the operator
prefers to keep layout-switch on Win+Space, they can override the
toml key to "ctrl+shift+space" / "win+grave_accent" / "ctrl+win+m"
without touching code.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>1 parent ff7c008 commit c63ec53
2 files changed
Lines changed: 13 additions & 0 deletions
File tree
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
551 | 551 | | |
552 | 552 | | |
553 | 553 | | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
554 | 558 | | |
555 | 559 | | |
556 | 560 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1343 | 1343 | | |
1344 | 1344 | | |
1345 | 1345 | | |
| 1346 | + | |
| 1347 | + | |
| 1348 | + | |
| 1349 | + | |
| 1350 | + | |
| 1351 | + | |
| 1352 | + | |
| 1353 | + | |
| 1354 | + | |
1346 | 1355 | | |
1347 | 1356 | | |
1348 | 1357 | | |
| |||
0 commit comments