From cd90dfc7be11147936c2b637ae822ff0adf5a7b7 Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Tue, 5 Nov 2024 09:40:54 +0300 Subject: Disable laptop panel when the lid is closed --- wiki/Configuration:-Debug-Options.md | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'wiki/Configuration:-Debug-Options.md') diff --git a/wiki/Configuration:-Debug-Options.md b/wiki/Configuration:-Debug-Options.md index c6563595..9d32ffd9 100644 --- a/wiki/Configuration:-Debug-Options.md +++ b/wiki/Configuration:-Debug-Options.md @@ -22,6 +22,7 @@ debug { emulate-zero-presentation-time disable-resize-throttling disable-transactions + keep-laptop-panel-on-when-lid-is-closed } binds { @@ -165,6 +166,19 @@ debug { } ``` +### `keep-laptop-panel-on-when-lid-is-closed` + +Since: 0.1.10 + +By default, niri will disable the internal laptop monitor when the laptop lid is closed. +This flag turns off this behavior and will leave the internal laptop monitor on. + +```kdl +debug { + keep-laptop-panel-on-when-lid-is-closed +} +``` + ### Key Bindings These are not debug options, but rather key bindings. -- cgit