From 3fcf854c2d3a4e58c5fac64ab905af5a27cd106d Mon Sep 17 00:00:00 2001 From: Asmir A Date: Sun, 27 Aug 2023 19:20:53 +0200 Subject: [PATCH] services/caps2esc: add second delay before starting intercepting to avoid enter beeing stuck --- configuration.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/configuration.nix b/configuration.nix index db26354..9e99196 100644 --- a/configuration.nix +++ b/configuration.nix @@ -133,6 +133,7 @@ wantedBy = ["multi-user.target"]; serviceConfig.Nice = -20; script = '' + sleep 1 ${pkgs.interception-tools}/bin/intercept \ -g /dev/input/by-path/platform-i8042-serio-0-event-kbd | \ ${caps2esc.defaultPackage.x86_64-linux}/bin/caps2esc | ${pkgs.interception-tools}/bin/uinput \