diff --git a/homeManagerModules/desktop/sway/settings.nix b/homeManagerModules/desktop/sway/settings.nix index 10a6d650..79a4afdc 100644 --- a/homeManagerModules/desktop/sway/settings.nix +++ b/homeManagerModules/desktop/sway/settings.nix @@ -59,6 +59,21 @@ in { defaultWorkspace = "workspace number 1"; + floating.criteria = [ + {app_id = ".blueman-manager-wrapped";} + {app_id = "blueberry.py";} + {app_id = "com.github.wwmm.easyeffects";} + {app_id = "nm-connection-editor";} + {app_id = "pavucontrol";} + {app_id = "solaar";} + {title = "Open File";} + {title = "Open Folder";} + {window_role = "bubble";} + {window_role = "dialog";} + {window_role = "pop-up";} + {window_type = "dialog";} + ]; + focus = { followMouse = "always"; newWindow = "focus"; @@ -175,21 +190,6 @@ in { ] ++ lib.optional (!cfg.services.randomWallpaper.enable) {command = "${lib.getExe pkgs.swaybg} -i ${cfg.theme.wallpaper}";}; - floating.criteria = [ - {app_id = ".blueman-manager-wrapped";} - {app_id = "blueberry.py";} - {app_id = "com.github.wwmm.easyeffects";} - {app_id = "nm-connection-editor";} - {app_id = "pavucontrol";} - {app_id = "solaar";} - {title = "Open File";} - {title = "Open Folder";} - {window_role = "bubble";} - {window_role = "dialog";} - {window_role = "pop-up";} - {window_type = "dialog";} - ]; - window = { titlebar = false; commands = [