From 41e9ec13647d13b68346a0fe4022baebd1a0f9ff Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 4 Feb 2025 08:23:29 +0300 Subject: wiki: Document tab indicators --- wiki/Configuration:-Window-Rules.md | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) (limited to 'wiki/Configuration:-Window-Rules.md') diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md index 03fd2e1d..fe4858cf 100644 --- a/wiki/Configuration:-Window-Rules.md +++ b/wiki/Configuration:-Window-Rules.md @@ -81,6 +81,13 @@ window-rule { // inactive-color "#00000064" } + tab-indicator { + active-color "red" + inactive-color "gray" + // active-gradient from="#80c8ff" to="#bbddff" angle=45 + // inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view" + } + geometry-corner-radius 12 clip-to-geometry true @@ -665,6 +672,25 @@ window-rule { } ``` +#### `tab-indicator` + +Since: next release + +Override the tab indicator options for the window. + +Options in this rule match the same options as the normal tab indicator config in the [layout](./Configuration:-Layout.md) section, so check the documentation there. + +```kdl +// Make KeePassXC tab have a dark red inactive color. +window-rule { + match app-id=r#"^org\.keepassxc\.KeePassXC$"# + + tab-indicator { + inactive-color "darkred" + } +} +``` + #### `geometry-corner-radius` Since: 0.1.6 -- cgit