brewedbits.dev

Personal blog with guides and news on selfhosting, Linux and AI, from the Netherlands

nextDash nextdash --aboutYour bookmarks. Your terminal. checks your links knows your Docker host one container, no cloudLive demo →nextdash.cc ↗

Tip: wt -w _quake drops a Windows Terminal window down from the top of the screen

Terminal
~/tips/tip-windows-terminal-quake-mode

wt -w _quake

Opens a Windows Terminal window that slides down from the top and hides again on a key.

Linux people have had drop-down terminals for ages, the kind that slide down when you press a key and vanish when you’re done. Windows Terminal has one built in. Microsoft calls it quake mode, after the game console, and I think it’s the nicest way to keep a shell one key away.

Start it from Win+R or any shell:

wt -w _quake

Any Terminal window named _quake goes into quake mode. It snaps to the top half of the monitor, can only be resized from the bottom and opens in focus mode. When you minimize it, it hides from the taskbar and from Alt+Tab. There can only be one quake window at a time.

You don’t have to type that command every time. Windows Terminal’s default settings bind the quakeMode action to Win plus the key left of 1 (the backtick on a US layout, written win+sc(41) in the settings). Press it to summon the window, press it again to hide it. If you want another key, bind quakeMode yourself in the actions of settings.json:

{ "keys": "win+sc(41)", "id": "Terminal.QuakeMode" }

This is a global hotkey, and that brings a few catches. It only works while a Windows Terminal instance is already running, so turn on startOnUserLogin if you want it ready after a reboot. While Terminal runs, those keys belong to Terminal and won’t reach other apps. And if another program already registered the same keys, Terminal can’t grab them.

The trap from Microsoft’s own docs: without a key bound to quakeMode, a minimized quake window has no way back, and you need Task Manager to exit that Terminal window. Check the binding before you hide it.

Further reading: Windows Terminal tips and tricks: quake mode (Microsoft Learn), Windows Terminal actions (Microsoft Learn)

More Terminal tips ioreg -rn AppleSmartBattery | grep CycleCount Terminal can save your windows and tabs as a window group Export a Terminal profile to a .terminal file and import it on another Mac mc hidutil property --set '{"UserKeyMapping":[{"HIDKeyboardModifierMappingSrc":0x700000039,"HIDKeyboardModifierMappingDst":0x700000029}]}' All Terminal tips (116) All topics

Link