From 7df535c64faa6e2a7539109b4ad75babcffb98ca Mon Sep 17 00:00:00 2001 From: Alexander Wainwright Date: Thu, 1 Jan 2026 10:08:52 +1000 Subject: [PATCH] Switch to ghostty --- alex/desktop.nix | 9 +++++++++ alex/sway.nix | 7 +++---- 2 files changed, 12 insertions(+), 4 deletions(-) diff --git a/alex/desktop.nix b/alex/desktop.nix index 69149be..ffcf1eb 100644 --- a/alex/desktop.nix +++ b/alex/desktop.nix @@ -28,6 +28,15 @@ loupe ]; + programs.ghostty = { + enable = true; + settings = { + font-family = "JetBrainsMono Nerd Font"; + font-size = 10; + theme = "Catppuccin Mocha"; + }; + }; + xdg.mimeApps = { enable = true; defaultApplications = { diff --git a/alex/sway.nix b/alex/sway.nix index dd94ca7..54f682d 100644 --- a/alex/sway.nix +++ b/alex/sway.nix @@ -81,9 +81,8 @@ in config = { modifier = "Mod4"; - terminal = "wezterm"; + terminal = "ghostty"; menu = "fuzzel"; - fonts = { names = [ "JetBrainsMono Nerd Font" ]; style = "Regular"; @@ -155,7 +154,7 @@ in keybindings = let modifier = "Mod4"; in lib.mkOptionDefault { - "${modifier}+Return" = "exec wezterm"; + "${modifier}+Return" = "exec ghostty"; "${modifier}+d" = "exec fuzzel"; "${modifier}+Shift+q" = "kill"; "${modifier}+Shift+c" = "reload"; @@ -262,7 +261,7 @@ in enable = true; settings = { main = { - terminal = "${pkgs.wezterm}/bin/wezterm"; + terminal = "${pkgs.ghostty}/bin/ghostty"; layer = "overlay"; width = 100; line-height = 40;