diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-02 09:33:44 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-11-02 10:53:55 +0300 |
| commit | 05d218113c1209f58b0dcdd415f1e095d4ff2b46 (patch) | |
| tree | 57a10521ada23b1974e67f144a02fd92ad6a2c40 /wiki/Configuration:-Layout.md | |
| parent | ef6af6adc1094db05d1df3953a18f6550816f71e (diff) | |
| download | niri-05d218113c1209f58b0dcdd415f1e095d4ff2b46.tar.gz niri-05d218113c1209f58b0dcdd415f1e095d4ff2b46.tar.bz2 niri-05d218113c1209f58b0dcdd415f1e095d4ff2b46.zip | |
Add gradient support for the insert hint
Implement it via FocusRing which already handles SolidColor vs. Border
render element.
Diffstat (limited to 'wiki/Configuration:-Layout.md')
| -rw-r--r-- | wiki/Configuration:-Layout.md | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md index 02921b48..c7a68835 100644 --- a/wiki/Configuration:-Layout.md +++ b/wiki/Configuration:-Layout.md @@ -45,6 +45,7 @@ layout { insert-hint { // off color "#ffc87f80" + // gradient from="#ffbb6680" to="#ffc88080" angle=45 relative-to="workspace-view" } struts { @@ -316,13 +317,14 @@ Settings for the window insert position hint during an interactive window move. `off` disables the insert hint altogether. -`color` lets you change the color of the hint and has the same syntax as colors in border and focus ring. +`color` and `gradient` let you change the color of the hint and have the same syntax as colors and gradients in border and focus ring. ```kdl layout { insert-hint { // off color "#ffc87f80" + gradient from="#ffbb6680" to="#ffc88080" angle=45 relative-to="workspace-view" } } ``` |
