ghostty: create new window with a keybind on macOS w/ghostty itself

used to use skhd to create new instances with `open -n`, this required
enabling the option to quit ghostty upon closing the last window in an
instance. now ghostty does this itself in one instance
This commit is contained in:
Nico 2025-08-19 19:05:40 +10:00
parent 4a1b49ef6a
commit 80e034cbc5
Signed by: nico
SSH key fingerprint: SHA256:XuacYOrGqRxC3jVFjfLROn1CSvLz85Dec6N7O9Gwu/0
2 changed files with 4 additions and 2 deletions

View file

@ -5,10 +5,13 @@ background-blur-radius = 20
window-decoration = true window-decoration = true
gtk-titlebar = false gtk-titlebar = false
quit-after-last-window-closed = true
font-family = "ComicShannsMono Nerd Font" font-family = "ComicShannsMono Nerd Font"
font-size = 18 font-size = 18
window-padding-x = 8 window-padding-x = 8
window-padding-y = 8 window-padding-y = 8
quit-after-last-window-closed = false
keybind = global:opt+shift+q=new_window
keybind = global:cmd+opt+q=toggle_quick_terminal

View file

@ -1,3 +1,2 @@
alt + shift - q : open -n /Applications/Ghostty.app
alt + shift - b : /opt/homebrew/bin/firefox --new-window alt + shift - b : /opt/homebrew/bin/firefox --new-window
alt + shift - f : open ~ alt + shift - f : open ~