From 40c85da102054caeb86b7905cd27c69e392c8f92 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Wed, 17 Jan 2024 10:38:32 +0400 Subject: Add an IPC socket and a niri msg outputs subcommand --- resources/default-config.kdl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index 38a78488..c192467b 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -54,7 +54,8 @@ input { // disable-power-key-handling } -// You can configure outputs by their name, which you can find with wayland-info(1). +// You can configure outputs by their name, which you can find +// by running `niri msg outputs` while inside a niri instance. // The built-in laptop monitor is usually called "eDP-1". // Remember to uncommend the node by removing "/-"! /-output "eDP-1" { @@ -69,7 +70,7 @@ input { // If the refresh rate is omitted, niri will pick the highest refresh rate // for the resolution. // If the mode is omitted altogether or is invalid, niri will pick one automatically. - // All valid modes are listed in niri's debug output when an output is connected. + // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. mode "1920x1080@144" // Position of the output in the global coordinate space. -- cgit