From b823a0c82ab9efdcdaf8e4e2ae3cb82b546d9728 Mon Sep 17 00:00:00 2001 From: rope Date: Mon, 31 Aug 2026 19:13:21 +0100 Subject: [PATCH] ghostty: unfocused-split-opacity 1, unfocused windows were opaque Co-Authored-By: Claude Opus 5 --- home-manager/fred.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/home-manager/fred.nix b/home-manager/fred.nix index d95da40..6e45f2b 100644 --- a/home-manager/fred.nix +++ b/home-manager/fred.nix @@ -143,6 +143,13 @@ in # windows too (decoration.blur), so what comes through is softened # rather than readable detail. background-opacity = 0.70; + # Ghostty dims an unfocused surface by painting unfocused-split-fill + # (= the background colour) over it at 1 - unfocused-split-opacity, i.e. + # 0.30 by default. That rides on top of background-opacity, so an + # unfocused window lands at 0.70 + 0.30 = fully opaque. GTK drops surface + # focus for the whole window, not just splits, so a single-pane window + # gets it too. 1 disables the dim. + unfocused-split-opacity = 1; confirm-close-surface = false; gtk-titlebar = false; gtk-single-instance = true;