diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-28 09:36:10 +0400 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2023-12-28 09:36:10 +0400 |
| commit | 249f2b7a21f883726e0c8c49cc3bbec52cc1b6cc (patch) | |
| tree | 78e692b5e01704c803d76a887420804335f0c3bd /resources | |
| parent | f3e5e13c4503978d47934fb4828bb12fbe606220 (diff) | |
| download | niri-249f2b7a21f883726e0c8c49cc3bbec52cc1b6cc.tar.gz niri-249f2b7a21f883726e0c8c49cc3bbec52cc1b6cc.tar.bz2 niri-249f2b7a21f883726e0c8c49cc3bbec52cc1b6cc.zip | |
Add disable-power-key-handling option
Diffstat (limited to 'resources')
| -rw-r--r-- | resources/default-config.kdl | 6 |
1 files changed, 6 insertions, 0 deletions
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). |
