From f61d7d0f7d2ea78399b8d5f759f5f2b2df7d87be Mon Sep 17 00:00:00 2001 From: Colin Date: Tue, 5 Dec 2023 08:54:18 +0000 Subject: [PATCH] sxmo: decrease power-button timeout --- hosts/modules/gui/sxmo/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hosts/modules/gui/sxmo/default.nix b/hosts/modules/gui/sxmo/default.nix index ab1ffab3..15d59066 100644 --- a/hosts/modules/gui/sxmo/default.nix +++ b/hosts/modules/gui/sxmo/default.nix @@ -477,7 +477,7 @@ in # map sequences of "events" to an argument to pass to sxmo_hook_inputhandler.sh # tap the power button N times to trigger N different actions - power_pressed.timeout.ms = 1200; # press w/o release. this is a long timeout because it's tied to the "kill window" action. + power_pressed.timeout.ms = 1100; # press w/o release. this is a long timeout because it's tied to the "kill window" action, and interacts with the volume adjustments. power_pressed.timeout.trigger = "powerhold"; power_pressed.power_released.timeout.trigger = "powerbutton_one"; power_pressed.power_released.timeout.ms = 600; # long timeout to make `powertoggle_*` easier