aboutsummaryrefslogtreecommitdiff
path: root/wiki/Configuration:-Debug-Options.md
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-11-05 09:40:54 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-11-05 10:03:51 +0300
commitcd90dfc7be11147936c2b637ae822ff0adf5a7b7 (patch)
treefc156451b6c25d454194fbe885eacf455a649c32 /wiki/Configuration:-Debug-Options.md
parenta778ab38977b99edb79275cf3ad2ddffa24044f7 (diff)
downloadniri-cd90dfc7be11147936c2b637ae822ff0adf5a7b7.tar.gz
niri-cd90dfc7be11147936c2b637ae822ff0adf5a7b7.tar.bz2
niri-cd90dfc7be11147936c2b637ae822ff0adf5a7b7.zip
Disable laptop panel when the lid is closed
Diffstat (limited to 'wiki/Configuration:-Debug-Options.md')
-rw-r--r--wiki/Configuration:-Debug-Options.md14
1 files changed, 14 insertions, 0 deletions
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`
+
+<sup>Since: 0.1.10</sup>
+
+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.