aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Layout.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-02-12 07:59:21 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-02-12 07:59:46 +0300
commit7e552333a993e83a2dba52392109617e486f5f60 (patch)
tree35b9079787535667fe844e2178ffd6bf42db8626 /wiki/Configuration:-Layout.md
parent213eafa2032897e7ce3132f179a135a65d327d9b (diff)
downloadniri-7e552333a993e83a2dba52392109617e486f5f60.tar.gz
niri-7e552333a993e83a2dba52392109617e486f5f60.tar.bz2
niri-7e552333a993e83a2dba52392109617e486f5f60.zip
tab indicator: Add corner-radius setting
Diffstat (limited to 'wiki/Configuration:-Layout.md')
-rw-r--r--wiki/Configuration:-Layout.md4
1 files changed, 4 insertions, 0 deletions
diff --git a/wiki/Configuration:-Layout.md b/wiki/Configuration:-Layout.md
index bc9e4218..d3bd6aaf 100644
--- a/wiki/Configuration:-Layout.md
+++ b/wiki/Configuration:-Layout.md
@@ -63,6 +63,7 @@ layout {
length total-proportion=1.0
position "right"
gaps-between-tabs 2
+ corner-radius 8
active-color "red"
inactive-color "gray"
// active-gradient from="#80c8ff" to="#bbddff" angle=45
@@ -439,6 +440,9 @@ It can be `left`, `right`, `top`, or `bottom`.
`gaps-between-tabs` controls the gap between individual tabs in logical pixels.
+`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.
They have the same semantics as the border and focus ring colors and gradients.