ghostty: unfocused-split-opacity 1, unfocused windows were opaque

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
rope 2026-08-31 19:13:21 +01:00
parent 7dc5ee4a7d
commit b823a0c82a

View file

@ -143,6 +143,13 @@ in
# windows too (decoration.blur), so what comes through is softened # windows too (decoration.blur), so what comes through is softened
# rather than readable detail. # rather than readable detail.
background-opacity = 0.70; 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; confirm-close-surface = false;
gtk-titlebar = false; gtk-titlebar = false;
gtk-single-instance = true; gtk-single-instance = true;