aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Window-Rules.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-01-23 10:40:52 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-01-23 11:13:55 +0300
commita10705fb200b452802a1ba7cd47679536e0ef849 (patch)
tree7e12f0602c4652e043021392632e7e4e24ebb4fe /wiki/Configuration:-Window-Rules.md
parentb01b8afa8c8f9070300243050d9790e38fd19145 (diff)
downloadniri-a10705fb200b452802a1ba7cd47679536e0ef849.tar.gz
niri-a10705fb200b452802a1ba7cd47679536e0ef849.tar.bz2
niri-a10705fb200b452802a1ba7cd47679536e0ef849.zip
Add toggle-window-rule-opacity action
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
-rw-r--r--wiki/Configuration:-Window-Rules.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md
index d3fb9068..cd0a65b2 100644
--- a/wiki/Configuration:-Window-Rules.md
+++ b/wiki/Configuration:-Window-Rules.md
@@ -492,6 +492,8 @@ This is applied on top of the window's own opacity, so semitransparent windows w
Opacity is applied to every surface of the window individually, so subsurfaces and pop-up menus will show window content behind them.
+Opacity can be toggled on or off for a window using the [`toggle-window-rule-opacity`](./Configuration:-Key-Bindings.md) action.
+
![Screenshot showing Adwaita Demo with a semitransparent pop-up menu.](./img/opacity-popup.png)
Also, focus ring and border with background will show through semitransparent windows (see `prefer-no-csd` and the `draw-border-with-background` window rule below).