aboutsummaryrefslogtreecommitdiff
path: root/resources
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-02-01 10:07:52 +0400
committerIvan Molodetskikh <yalterz@gmail.com>2024-02-01 10:08:15 +0400
commit89ac95867059340b80a37ef81ff32a589bffd185 (patch)
tree54b9cf026e1d8ba6f5401fa47a5f366eb3dba418 /resources
parent2e50f8dee0f877f8192d04cc2c910fd9efe8451b (diff)
downloadniri-89ac95867059340b80a37ef81ff32a589bffd185.tar.gz
niri-89ac95867059340b80a37ef81ff32a589bffd185.tar.bz2
niri-89ac95867059340b80a37ef81ff32a589bffd185.zip
default-config: Document how focus ring and border draw behind
Related: https://github.com/YaLTeR/niri/issues/150
Diffstat (limited to 'resources')
-rw-r--r--resources/default-config.kdl7
1 files changed, 7 insertions, 0 deletions
diff --git a/resources/default-config.kdl b/resources/default-config.kdl
index 4aae7cc4..49e2eb02 100644
--- a/resources/default-config.kdl
+++ b/resources/default-config.kdl
@@ -90,6 +90,13 @@ input {
}
layout {
+ // By default focus ring and border are rendered as a solid background rectangle
+ // behind windows. That is, they will show up through semitransparent windows.
+ // This is because windows using client-side decoratins can have an arbitrary shape.
+ //
+ // If you don't like that, you should uncomment `prefer-no-csd` below.
+ // Niri will draw focus ring and border *around* windows that agree to use SSD.
+
// You can change how the focus ring looks.
focus-ring {
// Uncomment this line to disable the focus ring.