aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2025-04-28 07:53:03 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2025-04-28 09:14:43 +0300
commitfd389af6d8c905b8af3d0896a109a301bf404658 (patch)
tree78069fa7b9ca5615518276bb8304c7a5054c7082 /wiki
parentdb09727b183d34675f645b499e8153c822260bfa (diff)
downloadniri-fd389af6d8c905b8af3d0896a109a301bf404658.tar.gz
niri-fd389af6d8c905b8af3d0896a109a301bf404658.tar.bz2
niri-fd389af6d8c905b8af3d0896a109a301bf404658.zip
Add backdrop-color setting to overview {}
Diffstat (limited to 'wiki')
-rw-r--r--wiki/Configuration:-Miscellaneous.md12
-rw-r--r--wiki/Overview.md16
2 files changed, 20 insertions, 8 deletions
diff --git a/wiki/Configuration:-Miscellaneous.md b/wiki/Configuration:-Miscellaneous.md
index 1d5bf0f8..be957721 100644
--- a/wiki/Configuration:-Miscellaneous.md
+++ b/wiki/Configuration:-Miscellaneous.md
@@ -25,6 +25,7 @@ cursor {
overview {
zoom 0.5
+ backdrop-color "#262626"
}
clipboard {
@@ -161,6 +162,17 @@ overview {
}
```
+`backdrop-color` sets the backdrop color behind workspaces in the overview.
+The backdrop is also visible between workspaces when switching.
+
+The alpha channel for this color will be ignored.
+
+```kdl
+overview {
+ backdrop-color "#262626"
+}
+```
+
### `clipboard`
<sup>Since: 25.02</sup>
diff --git a/wiki/Overview.md b/wiki/Overview.md
index 6ea27b3b..99da885c 100644
--- a/wiki/Overview.md
+++ b/wiki/Overview.md
@@ -38,6 +38,14 @@ overview {
}
```
+To change the color behind the workspaces, use the `backdrop-color` setting:
+
+```kdl
+overview {
+ backdrop-color "#777777"
+}
+```
+
You can also disable the hot corner:
```kdl
@@ -48,11 +56,3 @@ gestures {
}
}
```
-
-To change the color behind the workspaces, use the `backdrop-color` output setting:
-
-```kdl
-output "HDMI-A-1" {
- backdrop-color "#777777"
-}
-```