diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-25 15:28:53 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-04-25 15:29:42 +0300 |
| commit | 62d47d77d5b75789e8b6b7ec318d604bb918b530 (patch) | |
| tree | 3d7dd6349da6000d96c254ec48b2717a28b7fc6d | |
| parent | 85cd64e83017459f0a6edfd7b91ba31d70b0ef17 (diff) | |
| download | niri-62d47d77d5b75789e8b6b7ec318d604bb918b530.tar.gz niri-62d47d77d5b75789e8b6b7ec318d604bb918b530.tar.bz2 niri-62d47d77d5b75789e8b6b7ec318d604bb918b530.zip | |
wiki: Document backdrop-color and overview-open-close animation
| -rw-r--r-- | wiki/Configuration:-Animations.md | 18 | ||||
| -rw-r--r-- | wiki/Configuration:-Outputs.md | 18 |
2 files changed, 35 insertions, 1 deletions
diff --git a/wiki/Configuration:-Animations.md b/wiki/Configuration:-Animations.md index 046da29c..3460777d 100644 --- a/wiki/Configuration:-Animations.md +++ b/wiki/Configuration:-Animations.md @@ -50,6 +50,10 @@ animations { duration-ms 200 curve "ease-out-quad" } + + overview-open-close { + spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 + } } ``` @@ -374,6 +378,20 @@ animations { } ``` +#### `overview-open-close` + +<sup>Since: next release</sup> + +The open/close zoom animation of the [Overview](./Overview.md). + +```kdl +animations { + overview-open-close { + spring damping-ratio=1.0 stiffness=800 epsilon=0.0001 + } +} +``` + ### Synchronized Animations <sup>Since: 0.1.5</sup> diff --git a/wiki/Configuration:-Outputs.md b/wiki/Configuration:-Outputs.md index 2a2ee4cf..0a86395e 100644 --- a/wiki/Configuration:-Outputs.md +++ b/wiki/Configuration:-Outputs.md @@ -15,6 +15,7 @@ output "eDP-1" { variable-refresh-rate // on-demand=true focus-at-startup background-color "#003300" + backdrop-color "#001100" } output "HDMI-A-1" { @@ -191,7 +192,7 @@ output "DP-2" { <sup>Since: 0.1.8</sup> -Set the background color that niri draws for this output. +Set the background color that niri draws for workspaces on this output. This is visible when you're not using any background tools like swaybg. The alpha channel for this color will be ignored. @@ -201,3 +202,18 @@ output "HDMI-A-1" { background-color "#003300" } ``` + +### `backdrop-color` + +<sup>Since: next release</sup> + +Set the backdrop color that niri draws for this output. +This is visible between workspaces or in the overview. + +The alpha channel for this color will be ignored. + +```kdl +output "HDMI-A-1" { + backdrop-color "#001100" +} +``` |
