Add disable-power-key-handling option

This commit is contained in:
Ivan Molodetskikh
2023-12-28 09:36:10 +04:00
parent f3e5e13c45
commit 249f2b7a21
4 changed files with 30 additions and 4 deletions
+6
View File
@@ -37,6 +37,12 @@ input {
// existing outputs.
map-to-output "eDP-1"
}
// By default, niri will take over the power button to make it sleep
// instead of power off.
// Uncomment this if you would like to configure the power button elsewhere
// (i.e. logind.conf).
// disable-power-key-handling
}
// You can configure outputs by their name, which you can find with wayland-info(1).