mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-20 12:01:34 +00:00
Add setting to hide icon from dock/cmd-tab
This commit is contained in:
committed by
Mitchell Hashimoto
parent
aeccbd266a
commit
d7a82f212a
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user