From f82d9fdedc4b91afcb3f01094dc34dfc20f5c112 Mon Sep 17 00:00:00 2001 From: Sam Al-Sapti Date: Thu, 6 Oct 2022 17:53:35 +0200 Subject: [PATCH] Fix Brave PWAs --- sway/.config/sway/config.d/02_behavior | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/sway/.config/sway/config.d/02_behavior b/sway/.config/sway/config.d/02_behavior index b22c1be..5a86c0f 100644 --- a/sway/.config/sway/config.d/02_behavior +++ b/sway/.config/sway/config.d/02_behavior @@ -20,6 +20,9 @@ workspace 10 output "DP-2" # Browser screenshare dialog for_window [title="is sharing your screen.$"] border none, +# Fix Brave PWAs inhibiting keyboard shortcuts +for_window [app_id="^brave-.*-.*$"] shortcuts_inhibitor disable, + # Config for application launcher for_window [app_id="^launcher$"] floating enable, resize set 25 ppt 55 ppt, border pixel 4 @@ -30,10 +33,8 @@ for_window [title="^Unlock Database - KeePassXC$"] floating enable, resize set 4 for_window [title="^Nextcloud$"] floating enable, border none, # Tor Browser -for_window [title="^About Tor Browser$"] floating enable, for_window [app_id="^Tor Browser$"] title_format %app_id, - -# Tor Browser NoScript windows (doesn't always work) +for_window [title="^About Tor Browser$"] floating enable, for_window [title="about:blank.*Tor Browser"] floating enable, # Yubico Authenticator