about summary refs log tree commit diff
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2020-12-22 17:45:50 +0000
committerAlyssa Ross <hi@alyssa.is>2020-12-22 17:45:50 +0000
commit084a80d4beb645e0693076a72add2b6929fec174 (patch)
tree7a60fcdeb11dc219ad51cabf72cfcc5943bd6bd7
parent55f2bef9faf78f3e47058292f3a9513778e64f98 (diff)
downloadnixlib-084a80d4beb645e0693076a72add2b6929fec174.tar
nixlib-084a80d4beb645e0693076a72add2b6929fec174.tar.gz
nixlib-084a80d4beb645e0693076a72add2b6929fec174.tar.bz2
nixlib-084a80d4beb645e0693076a72add2b6929fec174.tar.lz
nixlib-084a80d4beb645e0693076a72add2b6929fec174.tar.xz
nixlib-084a80d4beb645e0693076a72add2b6929fec174.tar.zst
nixlib-084a80d4beb645e0693076a72add2b6929fec174.zip
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.
-rw-r--r--modules/workstation/windowing/sway/config.in2
1 files changed, 1 insertions, 1 deletions
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,