config: make quick-terminal-autohide=false on Linux (#6613)

See diff for explanation
pull/6617/head
Leah Amelia Chen 2025-03-07 17:36:05 +01:00 committed by GitHub
commit 6c00c36d62
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 11 additions and 1 deletions

View File

@ -1675,7 +1675,17 @@ keybind: Keybinds = .{},
/// Automatically hide the quick terminal when focus shifts to another window.
/// Set it to false for the quick terminal to remain open even when it loses focus.
@"quick-terminal-autohide": bool = true,
///
/// Defaults to true on macOS and on false on Linux. This is because global
/// shortcuts on Linux require system configuration and are considerably less
/// accessible than on macOS, meaning that it is more preferable to keep the
/// quick terminal open until the user has completed their task.
/// This default may change in the future.
@"quick-terminal-autohide": bool = switch (builtin.os.tag) {
.linux => false,
.macos => true,
else => false,
},
/// This configuration option determines the behavior of the quick terminal
/// when switching between macOS spaces. macOS spaces are virtual desktops