From 249f2b7a21f883726e0c8c49cc3bbec52cc1b6cc Mon Sep 17 00:00:00 2001 From: Ivan Molodetskikh Date: Thu, 28 Dec 2023 09:36:10 +0400 Subject: Add disable-power-key-handling option --- resources/default-config.kdl | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'resources') diff --git a/resources/default-config.kdl b/resources/default-config.kdl index f2c567f3..bf1c004b 100644 --- a/resources/default-config.kdl +++ b/resources/default-config.kdl @@ -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). -- cgit