diff options
Diffstat (limited to 'wiki/Configuration:-Window-Rules.md')
| -rw-r--r-- | wiki/Configuration:-Window-Rules.md | 26 |
1 files changed, 26 insertions, 0 deletions
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` + +<sup>Since: next release</sup> + +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` <sup>Since: 0.1.6</sup> |
