diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-24 08:30:26 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-03-24 08:30:26 +0400 |
| commit | 8b4a9d68e0ba8093e88d20f3a003f78ef27cac0e (patch) | |
| tree | b09c2b2d0237f36b36d01d6fc47657d8497d1c61 /resources | |
| parent | a16a0f0e52d6df8abd602baa15cee44e0656d790 (diff) | |
| download | niri-8b4a9d68e0ba8093e88d20f3a003f78ef27cac0e.tar.gz niri-8b4a9d68e0ba8093e88d20f3a003f78ef27cac0e.tar.bz2 niri-8b4a9d68e0ba8093e88d20f3a003f78ef27cac0e.zip | |
Implement opacity window rule
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/default-config.kdl | 10 |
1 files changed, 10 insertions, 0 deletions
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 |
