Add toggle-window-rule-opacity action

This commit is contained in:
Ivan Molodetskikh
2025-01-23 10:40:52 +03:00
parent b01b8afa8c
commit a10705fb20
13 changed files with 115 additions and 2 deletions
+11
View File
@@ -253,3 +253,14 @@ Or, in scripts:
```shell
niri msg action do-screen-transition --delay-ms 100
```
#### `toggle-window-rule-opacity`
Toggle the opacity window rule of the focused window.
This only has an effect if the window's opacity window rule is already set to semitransparent.
```kdl
binds {
Mod+O { toggle-window-rule-opacity; }
}
```