Additional commands could be previewable #13431

Open
opened 2026-01-31 03:42:31 +00:00 by claunia · 0 comments
Owner

Originally created by @zadjii-msft on GitHub (Apr 14, 2021).

This is a follow-up to #9794

Potential follow-ups

  • changing the font size
  • changing the font face
  • changing the opacity of acrylic (#11205)
  • Toggling acrylic? (#2531)
  • SetPixelShaderPath?
  • SetWindowTheme (light/dark/system/<some theme from #3327>)?
  • sendInput, see 60f63b09c

Each of these could have default nested commands that have some example values. Like

{
    // Font size
    "name": { "key": "SetFontSizeCommandKey" },
    "commands": [
        { "command": { "action": "setFontSize", "size": 8 } },
        { "command": { "action": "setFontSize", "size": 10 } },
        { "command": { "action": "setFontSize", "size": 12 } },
        { "command": { "action": "setFontSize", "size": 16 } },
        { "command": { "action": "setFontSize", "size": 18 } },
        { "command": { "action": "setFontSize", "size": 24 } },
        { "command": { "action": "setFontSize", "size": 32 } },
        { "command": { "action": "setFontSize", "size": 48 } }
    ]
},

Originally created by @zadjii-msft on GitHub (Apr 14, 2021). This is a follow-up to #9794 ### Potential follow-ups * [ ] changing the font size * [ ] changing the font face * [x] changing the opacity of acrylic (#11205) * [ ] Toggling acrylic? (#2531) * [ ] SetPixelShaderPath? * [ ] SetWindowTheme (light/dark/system/<some theme from #3327>)? * [x] `sendInput`, see 60f63b09c Each of these could have default nested commands that have some example values. Like ```jsonc { // Font size "name": { "key": "SetFontSizeCommandKey" }, "commands": [ { "command": { "action": "setFontSize", "size": 8 } }, { "command": { "action": "setFontSize", "size": 10 } }, { "command": { "action": "setFontSize", "size": 12 } }, { "command": { "action": "setFontSize", "size": 16 } }, { "command": { "action": "setFontSize", "size": 18 } }, { "command": { "action": "setFontSize", "size": 24 } }, { "command": { "action": "setFontSize", "size": 32 } }, { "command": { "action": "setFontSize", "size": 48 } } ] }, ```
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#13431