From 05d218113c1209f58b0dcdd415f1e095d4ff2b46 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Sat, 2 Nov 2024 09:33:44 +0300 Subject: Add gradient support for the insert hint Implement it via FocusRing which already handles SolidColor vs. Border render element. --- wiki/Configuration:-Layout.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'wiki/Configuration:-Layout.md') 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" } } ``` -- cgit