mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-01-09 14:52:47 +00:00
config: macos blur settings enable blur on non-Mac
This commit is contained in:
@@ -933,6 +933,9 @@ palette: Palette = .{},
|
||||
/// * `macos-glass-regular` - Standard glass effect with some opacity
|
||||
/// * `macos-glass-clear` - Highly transparent glass effect
|
||||
///
|
||||
/// If the macOS values are set, then this implies `background-blur = true`
|
||||
/// on non-macOS platforms.
|
||||
///
|
||||
/// Supported on macOS and on some Linux desktop environments, including:
|
||||
///
|
||||
/// * KDE Plasma (Wayland and X11)
|
||||
@@ -8368,6 +8371,11 @@ pub const BackgroundBlur = union(enum) {
|
||||
.false => false,
|
||||
.true => true,
|
||||
.radius => |v| v > 0,
|
||||
|
||||
// We treat these as true because they both imply some blur!
|
||||
// This has the effect of making the standard blur happen on
|
||||
// Linux.
|
||||
.@"macos-glass-regular", .@"macos-glass-clear" => true,
|
||||
};
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user