Add setting to hide icon from dock/cmd-tab

This commit is contained in:
Albert Dong
2025-01-15 12:12:42 -08:00
committed by Mitchell Hashimoto
parent aeccbd266a
commit d7a82f212a
3 changed files with 50 additions and 0 deletions

View File

@@ -1974,6 +1974,26 @@ keybind: Keybinds = .{},
/// find false more visually appealing.
@"macos-window-shadow": bool = true,
/// If true, the macOS icon in the dock and app switcher will be hidden. This is
/// mainly intended for those primarily using the quick-terminal mode.
///
/// Note that setting this to true means that keyboard layout changes
/// will no longer be automatic.
///
/// Control whether macOS app is excluded from the dock and app switcher,
/// a "hidden" state. This is mainly intended for those primarily using
/// quick-terminal mode, but is a general configuration for any use
/// case.
///
/// Available values:
///
/// * `never` - The macOS app is never hidden.
/// * `always` - The macOS app is always hidden.
///
/// Note: When the macOS application is hidden, keyboard layout changes
/// will no longer be automatic. This is a limitation of macOS.
@"macos-hidden": MacHidden = .never,
/// If true, Ghostty on macOS will automatically enable the "Secure Input"
/// feature when it detects that a password prompt is being displayed.
///
@@ -5738,6 +5758,12 @@ pub const MacTitlebarProxyIcon = enum {
hidden,
};
/// See macos-hidden
pub const MacHidden = enum {
never,
always,
};
/// See macos-icon
///
/// Note: future versions of Ghostty can support a custom icon with