aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-05-10 22:34:53 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-05-10 22:42:45 +0300
commit58166914607025ae9fb20d868138238bebd4c6bc (patch)
tree9c1b583ecfd03b98a74288749b682166ceb2c16e /wiki
parent4b5e9e6cb08d269506cad8273ca7e9c93378034e (diff)
downloadniri-58166914607025ae9fb20d868138238bebd4c6bc.tar.gz
niri-58166914607025ae9fb20d868138238bebd4c6bc.tar.bz2
niri-58166914607025ae9fb20d868138238bebd4c6bc.zip
Add urgent color support to tab indicators
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Layout.md4
-rw-r--r--wiki/Configuration:-Window-Rules.md2
2 files changed, 5 insertions, 1 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md
index a4509eef..d0f7fd44 100644
--- a/wiki/Configuration:-Layout.md
+++ b/wiki/Configuration:-Layout.md
@@ -71,8 +71,10 @@ layout {
corner-radius 8
active-color "red"
inactive-color "gray"
+ urgent-color "blue"
// active-gradient from="#80c8ff" to="#bbddff" angle=45
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
+ // urgent-gradient from="#800" to="#a33" angle=45
}
insert-hint {
@@ -448,7 +450,7 @@ It can be `left`, `right`, `top`, or `bottom`.
`corner-radius` sets the rounded corner radius for tabs in the indicator in logical pixels.
When `gaps-between-tabs` is zero, only the first and the last tabs have rounded corners, otherwise all tabs do.
-`active-color`, `inactive-color`, `active-gradient`, `inactive-gradient` let you override the colors for the tabs.
+`active-color`, `inactive-color`, `urgent-color`, `active-gradient`, `inactive-gradient`, `urgent-gradient` let you override the colors for the tabs.
They have the same semantics as the border and focus ring colors and gradients.
Tab colors are picked in this order:
diff --git a/wiki/Configuration:-Window-Rules.md b/wiki/Configuration:-Window-Rules.md
index 871f707c..03af8d41 100644
--- a/wiki/Configuration:-Window-Rules.md
+++ b/wiki/Configuration:-Window-Rules.md
@@ -87,8 +87,10 @@ window-rule {
tab-indicator {
active-color "red"
inactive-color "gray"
+ urgent-color "blue"
// active-gradient from="#80c8ff" to="#bbddff" angle=45
// inactive-gradient from="#505050" to="#808080" angle=45 relative-to="workspace-view"
+ // urgent-gradient from="#800" to="#a33" angle=45
}
geometry-corner-radius 12