aboutsummaryrefslogtreecommitdiff
path: root/wiki
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-07-26 11:28:42 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-07-26 11:51:29 +0300
commitbbdc07ee6c266a8d082f74ec8b47480bca26e3ff (patch)
tree3f42e379c5f88a065ba81333d5ea0aaa07d38fbd /wiki
parent689338f05960f75082f71d213666978ebc431b40 (diff)
downloadniri-bbdc07ee6c266a8d082f74ec8b47480bca26e3ff.tar.gz
niri-bbdc07ee6c266a8d082f74ec8b47480bca26e3ff.tar.bz2
niri-bbdc07ee6c266a8d082f74ec8b47480bca26e3ff.zip
wiki: Document output background-color
Diffstat (limited to 'wiki')
-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"
+}
+```