diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-04 08:23:29 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2025-02-10 07:29:33 -0800 |
| commit | 41e9ec13647d13b68346a0fe4022baebd1a0f9ff (patch) | |
| tree | c8be55bf9de90245dbcb5b5f2e6cbab9901f9925 /wiki/Configuration:-Window-Rules.md | |
| parent | 64544a572698b2df5520783203f9723a2dfcac12 (diff) | |
| download | niri-41e9ec13647d13b68346a0fe4022baebd1a0f9ff.tar.gz niri-41e9ec13647d13b68346a0fe4022baebd1a0f9ff.tar.bz2 niri-41e9ec13647d13b68346a0fe4022baebd1a0f9ff.zip | |
wiki: Document tab indicators
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> |
