I'm using the quick terminal setting to do this.
https://ghostty.org/docs/config/keybind/reference#toggle_qui...
https://ghostty.org/docs/config/keybind/reference#toggle_qui...
keybind = global:cmd+ctrl+alt+shift+t=toggle_visibility
overall I have had better experience using `toggle_visibility` to show/hide Ghostty for hotkey style window.Last time I checked it didn't work on Linux (or I couldn't make it work on my setup, I don't remember). It seems it still has some limitations but better than before.