From 5232b8a3e9c77723b49f268960e6cb14a8b382b6 Mon Sep 17 00:00:00 2001 From: coolneng Date: Mon, 2 May 2022 13:23:33 +0200 Subject: [PATCH] Set Firefox PiP as pinned floating window --- sway/.config/sway/config | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sway/.config/sway/config b/sway/.config/sway/config index 5c689f6..789b99c 100644 --- a/sway/.config/sway/config +++ b/sway/.config/sway/config @@ -248,6 +248,8 @@ exec_always { for_window [app_id="mpv"] floating enable for_window [app_id="imv"] floating enable for_window [app_id="popup"] floating enable, resize set 1280 720 +for_window [app_id="firefox" title="^Picture-in-Picture$"] floating enable, resize set 640 480; sticky enable +for_window [title="(?:Open|Save) (?:File|Folder|As)"] floating enable, resize set width 1030 height 710 # Resize zathura to 70% in tiling mode for_window [app_id="org.pwmt.zathura" workspace=$workspace4] resize set width 70 ppt # Resize R plots to 40% in tiling mode