From bc0ba335c869531377f886866b218ba295c9a260 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Sun, 9 Apr 2023 21:34:04 -0400 Subject: [PATCH] Floating fixes Postfix comments are not ignored --- sway/behaviours | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/sway/behaviours b/sway/behaviours index fcd692f67..efaded895 100644 --- a/sway/behaviours +++ b/sway/behaviours @@ -41,12 +41,16 @@ assign [app_id="argos"] 9 ################################################################################ for_window [app_id="Alacritty-grave"] floating enable, resize set height 600px, resize set width 800px, move position 990px 400px -for_window [app_id="org.gnome.Software"] floating enable # Gnome software doesn't get correct dimensions -for_window [title="SSH Passphrase"] floating enable # SSH auth dialog -for_window [title="^Picture-in-Picture$"] floating enable # Picture-in-picture firefox +# Gnome software doesn't get correct dimensions +for_window [app_id="org.gnome.Software"] floating enable +# SSH auth dialog +for_window [title="SSH Passphrase"] floating enable +# Picture-in-picture firefox +for_window [title="^Picture-in-Picture$"] floating enable # Also make Picture-in-picture windows stick to active workspace for_window [title="Picture-in-Picture"] sticky enable -for_window [shell="xdg_shell"] sticky enable # Picture-in-picture firefox +# Picture-in-Picture +for_window [shell="xdg_shell"] sticky enable for_window [instance="Download"] floating enable for_window [window_role="plugin_ui"] floating enable for_window [title="Menu Update"] floating enable