fix(desktop): correct dwindle keybinds and speed up the terminal

Two issues surfaced on the live neogaia session. Hyprland rejected two names
at load: the split toggle is a dwindle layout message reached through
layoutmsg, not a top-level dispatcher, and dwindle:pseudotile no longer exists
in this version. Bind Super+T via layoutmsg and drop the pseudotile option.

Ghostty also cold-started GTK on every launch. Configure it through
home-manager with gtk-single-instance so windows after the first open in the
existing process. Record the dispatcher/option version-drift trap in CLAUDE.md.
This commit is contained in:
2026-07-22 09:02:51 -04:00
parent 4b6fbfe732
commit b9749dd6a2
3 changed files with 13 additions and 4 deletions

View File

@@ -94,7 +94,6 @@ in
};
dwindle = {
pseudotile = true;
preserve_split = true;
};
@@ -121,7 +120,8 @@ in
"$mod, Space, togglefloating,"
"$mod, F, fullscreen,"
"$mod, T, togglesplit,"
# togglesplit is a dwindle layout message, reached through layoutmsg.
"$mod, T, layoutmsg, togglesplit"
"$mod SHIFT, Q, killactive,"
"$mod CTRL, Q, forcekillactive,"
]

View File

@@ -1,7 +1,6 @@
{
config,
lib,
pkgs,
...
}:
# Ghostty as the desktop terminal.
@@ -13,6 +12,12 @@ in
options.modules.desktop.terminal.enable = lib.mkEnableOption "Ghostty as the desktop terminal";
config = lib.mkIf cfg.enable {
home-manager.users.${user}.home.packages = [ pkgs.ghostty ];
home-manager.users.${user}.programs.ghostty = {
enable = true;
# Reuse a single process, so each window after the first opens instantly
# instead of paying a fresh GTK startup.
settings.gtk-single-instance = true;
};
};
}