Feature Request: Add a toggle key to switch between quake mode and floating window
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 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?
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.
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.