From 7fb29cec50d1955efe59449324c6e9f4cdb76106 Mon Sep 17 00:00:00 2001 From: Blake Romero Date: Sun, 12 Oct 2025 14:48:13 +0100 Subject: Add floating window rules to sway --- dot-config/sway/config | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'dot-config/sway') diff --git a/dot-config/sway/config b/dot-config/sway/config index 1f3251c..34b21d6 100755 --- a/dot-config/sway/config +++ b/dot-config/sway/config @@ -232,6 +232,7 @@ for_window [class="steam"] floating enable # Firefox #for_window [app_id="firefox"] floating enable, move absolute position centered, resize set 100 ppt 100 ppt +for_window [app_id="firefox" title="Picture-in-Picture"] floating enable, sticky enable, move position 100% 100% for_window [window_role="pop-up"] floating enable for_window [window_role="bubble"] floating enable @@ -242,7 +243,8 @@ for_window [window_role="Preferences"] floating enable for_window [window_role="About"] floating enable for_window [title="Rename ."] floating enable -for_window [class="Pinentry."] floating enable +for_window [class="Pinentry ."] floating enable +for_window [title="Enter name of file to save to…"] floating enable # Startup #exec swaymsg "workspace 0; exec footclient --title=btop btop" -- cgit