by throwanem · 2y ago · 0 comments
For those unfamiliar, that's a window tied to a show/hide keybinding which when shown floats above all other windows, making a terminal instantly available everywhere - a feature I could live without, but don't care to. I'd love to switch for all of WezTerm's other features, but without that it's simply a nonstarter for me.
I don't have a keybinding to hide, but you could easily achieve that by inspecting the active window with `hs.window.focusedWindow()`/`hs.window.frontmostWindow()` and making the behavior conditional based on the application: https://www.hammerspoon.org/docs/hs.window.html#focusedWindo...
In WezTerm, you can control whether the terminal is always on top with the `ToggleAlwaysOnTop` action: https://wezfurlong.org/wezterm/config/lua/keyassignment/Togg...
The iTerm2 hotkey window, is a floating window, which for example also works in a space with another Fullscreen window/app opened (without moving to another space.)
You could probably even use Hammerspoon to initiate the keyboard shortcut if you didn't want to mark the window manually.
It's described here: https://github.com/wez/wezterm/issues/1751#issuecomment-1973...
https://gist.github.com/spartanatreyu/850788a0441e1c5565668a...
Thank you.
---
[0] "old" because there's a new kid in town: wayland.
How long can we call something that’s at least 15 years old “the new kid”?