From 8b4a9d68e0ba8093e88d20f3a003f78ef27cac0e Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sun, 24 Mar 2024 08:30:26 +0400 Subject: Implement opacity window rule --- resources/default-config.kdl | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 485ab649..0878f213 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -414,6 +414,16 @@ animations { // Set this to `false` to draw them as borders around the window even for // windows which use client-side decorations. draw-border-with-background false + + // Set the opacity of the window. + // This is applied on top of the window's own opacity, so semitransparent + // windows will become even more transparent. + // Opacity is applied to every surface of the window individually, so + // subsurfaces and pop-up menus will show window content behind them. + // Also, focus ring and border with background will show through + // semitransparent windows (see prefer-no-csd and + // the draw-border-with-background property above). + opacity 0.5 } // Here's a useful example. Work around WezTerm's initial configure bug -- cgit