aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Outputs.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-09-03 12:13:04 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-09-03 13:48:08 +0300
commitf0157e03e72714264e684295fac226e2046f0b38 (patch)
tree7bfd198f59697704c5464c8498d3f8d7ff80131d /wiki/Configuration:-Outputs.md
parent4b7c16b04a7c80f5f9b6fcbc4a1d8c9448dffbdb (diff)
downloadniri-f0157e03e72714264e684295fac226e2046f0b38.tar.gz
niri-f0157e03e72714264e684295fac226e2046f0b38.tar.bz2
niri-f0157e03e72714264e684295fac226e2046f0b38.zip
Use libdisplay-info for make/model/serial parsing, implement throughout
Diffstat (limited to 'wiki/Configuration:-Outputs.md')
-rw-r--r--wiki/Configuration:-Outputs.md12
1 files changed, 10 insertions, 2 deletions
diff --git a/wiki/Configuration:-Outputs.md b/wiki/Configuration:-Outputs.md
index f7b3adf8..59bf9182 100644
--- a/wiki/Configuration:-Outputs.md
+++ b/wiki/Configuration:-Outputs.md
@@ -19,14 +19,22 @@ output "eDP-1" {
output "HDMI-A-1" {
// ...settings for HDMI-A-1...
}
+
+output "Some Company CoolMonitor 1234" {
+ // ...settings for CoolMonitor...
+}
```
-Outputs are matched by connector name (i.e. `eDP-1`, `HDMI-A-1`) which you can find by running `niri msg outputs`.
+Outputs are matched by connector name (i.e. `eDP-1`, `HDMI-A-1`), or by monitor manufacturer, model, and serial, separated by a single space each.
+You can find all of these by running `niri msg outputs`.
+
Usually, the built-in monitor in laptops will be called `eDP-1`.
-Matching by output manufacturer and model is planned, but blocked on Smithay adopting libdisplay-info instead of edid-rs.
<sup>Since: 0.1.6</sup> The output name is case-insensitive.
+<sup>Since: 0.1.9</sup> Outputs can be matched by manufacturer, model, and serial.
+Before, they could be matched only by the connector name.
+
### `off`
This flag turns off that output entirely.