From 1591df6e4ff875198a73f27701d20e6924212354 Mon Sep 17 00:00:00 2001 From: John Mertz Date: Mon, 12 Sep 2022 11:41:38 -0400 Subject: [PATCH] Floating windows improvement --- sway/behaviours | 3 ++- sway/config | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/sway/behaviours b/sway/behaviours index 9eb46a2fb..53600ee1e 100644 --- a/sway/behaviours +++ b/sway/behaviours @@ -20,8 +20,9 @@ assign [app_id="com.github.gittyup.Gittyup"] 9 # Floating windows ################################################################################ -for_window [shell="xdg_shell"] floating enable # Picture-in-picture firefox +for_window [title="Picture-in-Picture"] floating enable # Picture-in-picture firefox # 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 for_window [instance="Download"] floating enable for_window [window_role="plugin_ui"] floating enable diff --git a/sway/config b/sway/config index 7b4211dfe..daf98bae8 100755 --- a/sway/config +++ b/sway/config @@ -43,7 +43,7 @@ seat seat0 xcursor_theme FlatbedCursors-Blue # Minimize borders from all windows hide_edge_borders none -default_floating_border normal 1 +default_floating_border none default_border pixel 1 # Font only visible in tabbed mode. Also inheritted by bar.