Switch to ghostty

This commit is contained in:
Alexander Wainwright
2026-01-01 10:08:52 +10:00
parent 1e7e7b1dab
commit 7df535c64f
2 changed files with 12 additions and 4 deletions

View File

@@ -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 = {

View File

@@ -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;