From 553c4548129a964a1d81c6990a7ac26b849bd784 Mon Sep 17 00:00:00 2001 From: Fabian Hauser Date: Tue, 25 Oct 2022 13:58:56 +0200 Subject: [PATCH] Add workaround for chrome key grab --- home/fhauser/applications/sway.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/home/fhauser/applications/sway.nix b/home/fhauser/applications/sway.nix index 6eb1282..07550d4 100644 --- a/home/fhauser/applications/sway.nix +++ b/home/fhauser/applications/sway.nix @@ -119,6 +119,9 @@ in rec { # Disable the laptop screen when the lid is closed. bindswitch --reload lid:on output eDP-1 disable bindswitch --reload lid:off output eDP-1 enable + + # Workaround for https://bugs.chromium.org/p/chromium/issues/detail?id=1338554 + for_window [app_id="^chrome-.*-.*$"] shortcuts_inhibitor disable ''; };