From 80e034cbc5830a752df588ca9aa79c01bdd4a711 Mon Sep 17 00:00:00 2001 From: Nico Date: Tue, 19 Aug 2025 19:05:40 +1000 Subject: [PATCH] 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 --- stow/.config/ghostty/config | 5 ++++- stow/.config/skhd/skhdrc | 1 - 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/stow/.config/ghostty/config b/stow/.config/ghostty/config index effae8f..1a34bf0 100644 --- a/stow/.config/ghostty/config +++ b/stow/.config/ghostty/config @@ -5,10 +5,13 @@ background-blur-radius = 20 window-decoration = true gtk-titlebar = false -quit-after-last-window-closed = true font-family = "ComicShannsMono Nerd Font" font-size = 18 window-padding-x = 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 diff --git a/stow/.config/skhd/skhdrc b/stow/.config/skhd/skhdrc index 354f1a5..7a22dd5 100644 --- a/stow/.config/skhd/skhdrc +++ b/stow/.config/skhd/skhdrc @@ -1,3 +1,2 @@ -alt + shift - q : open -n /Applications/Ghostty.app alt + shift - b : /opt/homebrew/bin/firefox --new-window alt + shift - f : open ~