wiki: Document output background-color
Browse files at this commitbbdc07ee6c266a8d082f74ec8b47480bca26e3ffParent: 689338f1 changed file +16 -0
wiki/Configuration:-Outputs.mdmodified+16 -0
| @@ -13,6 +13,7 @@ output "eDP-1" { | |||
| 13 | transform "90" | 13 | transform "90" |
| 14 | position x=1280 y=0 | 14 | position x=1280 y=0 |
| 15 | variable-refresh-rate | 15 | variable-refresh-rate |
| 16 | + background-color "#003300" | ||
| 16 | } | 17 | } |
| 17 | 18 | ||
| 18 | output "HDMI-A-1" { | 19 | output "HDMI-A-1" { |
| @@ -145,3 +146,18 @@ output "HDMI-A-1" { | |||
| 145 | variable-refresh-rate | 146 | variable-refresh-rate |
| 146 | } | 147 | } |
| 147 | ``` | 148 | ``` |
| 149 | + | ||
| 150 | +### `background-color` | ||
| 151 | + | ||
| 152 | +<sup>Since: 0.1.8</sup> | ||
| 153 | + | ||
| 154 | +Set the background color that niri draws for this output. | ||
| 155 | +This is visible when you're not using any background tools like swaybg. | ||
| 156 | + | ||
| 157 | +The alpha channel for this color will be ignored. | ||
| 158 | + | ||
| 159 | +```kdl | ||
| 160 | +output "HDMI-A-1" { | ||
| 161 | + background-color "#003300" | ||
| 162 | +} | ||
| 163 | +``` | ||