From bbdc07ee6c266a8d082f74ec8b47480bca26e3ff Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Fri, 26 Jul 2024 11:28:42 +0300 Subject: wiki: Document output background-color --- wiki/Configuration:-Outputs.md | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) 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` + +Since: 0.1.8 + +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" +} +``` -- cgit