From 51da9745fa73bc6fde4b143d185db3114b3433eb Mon Sep 17 00:00:00 2001 From: Adam Gausmann Date: Wed, 19 Mar 2025 11:48:36 -0500 Subject: [PATCH] niri: do not handle the power button. --- templates/.config/niri/config.kdl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/templates/.config/niri/config.kdl b/templates/.config/niri/config.kdl index 7d28520..3a44faa 100644 --- a/templates/.config/niri/config.kdl +++ b/templates/.config/niri/config.kdl @@ -56,6 +56,9 @@ input { // Focus windows and outputs automatically when moving the mouse into them. // Setting max-scroll-amount="0%" makes it work only on windows already fully on screen. // focus-follows-mouse max-scroll-amount="0%" + + // https://github.com/YaLTeR/niri/wiki/Configuration:-Input#disable-power-key-handling + disable-power-key-handling } % for output in host.outputs: