windows-terminal-quake icon indicating copy to clipboard operation
windows-terminal-quake copied to clipboard

Feature Request: Add a toggle key to switch between quake mode and floating window

Open hnstcK opened this issue 8 months ago • 3 comments

Hi, thank you for this great tool!

I'd like to suggest a feature: Would it be possible to implement a toggle key (or hotkey) that switches the Windows Terminal window between quake mode (docked to top, borderless) and normal floating window mode?

This would be really useful when using Windows Terminal both as a drop-down terminal and as a standard terminal window, depending on context.

It could work like a keybind (e.g. Ctrl+Alt+Q) that:

  • Detaches the terminal from quake mode and restores it as a normal window (resizable, movable)
  • Or re-attaches it to the top in quake mode again

Let me know if this would be feasible or if you'd accept a PR in that direction!

Thanks again for your work!

hnstcK avatar May 05 '25 21:05 hnstcK

@hnstcK Thank you for reaching out and for your suggestion!

So I understand the request properly, you want to be able to press a key that makes WTQ detach from Windows Terminal, as if WTQ is not running at that point, or at least not controlling Windows Terminal's position?

flyingpie avatar May 05 '25 22:05 flyingpie

What do you think of detaching a window when double-tapping the hotkey?

Can you take a look at this release, it has a prototype implementation of this: https://github.com/flyingpie/windows-terminal-quake/releases/tag/vDev

Of course, settings would be added to enable/disable the feature altogether, and configure the double-tap interval.

flyingpie avatar May 05 '25 23:05 flyingpie

Two points to note regarding the prototype:

  • Only works properly when the app is currently toggled off, and then double-tapping the hotkey;
  • When using multiple apps, the detached one will be re-attached if toggling another app.

Hopefully still good enough to prove the point though.

flyingpie avatar May 06 '25 08:05 flyingpie