aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wiki/Configuration:-Outputs.md16
1 files changed, 16 insertions, 0 deletions
diff --git a/wiki/Configuration:-Outputs.md b/wiki/Configuration:-Outputs.md
index 1adf29fb..eef06fef 100644
--- a/wiki/Configuration:-Outputs.md
+++ b/wiki/Configuration:-Outputs.md
@@ -13,6 +13,7 @@ output "eDP-1" {
transform "90"
position x=1280 y=0
variable-refresh-rate
+ background-color "#003300"
}
output "HDMI-A-1" {
@@ -145,3 +146,18 @@ output "HDMI-A-1" {
variable-refresh-rate
}
```
+
+### `background-color`
+
+<sup>Since: 0.1.8</sup>
+
+Set the background color that niri draws for this output.
+This is visible when you're not using any background tools like swaybg.
+
+The alpha channel for this color will be ignored.
+
+```kdl
+output "HDMI-A-1" {
+ background-color "#003300"
+}
+```