From 084a80d4beb645e0693076a72add2b6929fec174 Mon Sep 17 00:00:00 2001 From: Alyssa Ross Date: Tue, 22 Dec 2020 17:45:50 +0000 Subject: modules/sway: fix config error "name" isn't a valid key and would produce a sway error on startup. The correct key is "title". But also, Firefox doesn't seem to prefix the window title with "Extension: " for me any more, so there's no good way to detect every extension window. The only extension I know that creates these windows is NoScript anyway, so let's just use that as the window prefix. --- modules/workstation/windowing/sway/config.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/workstation/windowing/sway/config.in b/modules/workstation/windowing/sway/config.in index e9f156b27beb..a6e09447b7bf 100644 --- a/modules/workstation/windowing/sway/config.in +++ b/modules/workstation/windowing/sway/config.in @@ -16,7 +16,7 @@ for_window [class="Tor Browser"] floating enable for_window [class="XDvi"] floating enable for_window [instance="xdvi"] floating enable for_window [class="XDvi" instance="xdvi"] floating disable -for_window [app_id="firefox" name="Extension: .*"] floating enable +for_window [app_id="firefox" title="NoScript.*"] floating enable # Stop the Firefox sharing indicator (that appears when on an # audio/video call) tiling, or appearing in the center of the display, -- cgit 1.4.1