by technojamin · 2y ago · 0 comments
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...