From 7f318edc4d0b7f5ad44cd816e6033df828b0a550 Mon Sep 17 00:00:00 2001 From: John Ogle Date: Mon, 10 Nov 2025 08:49:24 -0800 Subject: [PATCH] Switch from kitty to ghostty --- home/home-darwin-work.nix | 9 ++++++--- home/modules/i3+sway/default.nix | 2 +- home/modules/plasma-manager/default.nix | 6 +++--- home/roles/desktop/default.nix | 2 +- 4 files changed, 11 insertions(+), 8 deletions(-) diff --git a/home/home-darwin-work.nix b/home/home-darwin-work.nix index 3dea0bb..a251a01 100644 --- a/home/home-darwin-work.nix +++ b/home/home-darwin-work.nix @@ -16,6 +16,8 @@ in autoraise ]; + # Note: ghostty installed via Homebrew (managed outside of nix) + # Auto-start autoraise on login launchd.agents.autoraise = { enable = true; @@ -117,10 +119,11 @@ in "${leader}-enter" = '' exec-and-forget osascript <<'APPLESCRIPT' - tell application "Terminal" - set newWindow to make new window + tell application "Ghostty" activate - tell newWindow to set index to 1 + tell application "System Events" + keystroke "n" using {command down} + end tell end tell APPLESCRIPT ''; diff --git a/home/modules/i3+sway/default.nix b/home/modules/i3+sway/default.nix index 29e8391..b4b83b6 100644 --- a/home/modules/i3+sway/default.nix +++ b/home/modules/i3+sway/default.nix @@ -7,7 +7,7 @@ let shared_config = recursiveUpdate rec { modifier = "Mod4"; - terminal = "kitty"; + terminal = "ghostty"; defaultWorkspace = "workspace number 1"; bars = [{ diff --git a/home/modules/plasma-manager/default.nix b/home/modules/plasma-manager/default.nix index e53589d..6513825 100644 --- a/home/modules/plasma-manager/default.nix +++ b/home/modules/plasma-manager/default.nix @@ -13,10 +13,10 @@ enable = true; overrideConfig = true; - hotkeys.commands."launch-konsole" = { - name = "Launch Konsole"; + hotkeys.commands."launch-ghostty" = { + name = "Launch Ghostty"; key = "Meta+Return"; - command = "konsole"; + command = "ghostty"; }; shortcuts = { diff --git a/home/roles/desktop/default.nix b/home/roles/desktop/default.nix index 6b6e793..e32684f 100644 --- a/home/roles/desktop/default.nix +++ b/home/roles/desktop/default.nix @@ -16,7 +16,7 @@ in bitwarden dunst keepassxc - kitty + unstable.ghostty # Desktop utilities feh # Image viewer and wallpaper setter for X11