From 8628a5c849dc84d98378232d4a56ddbc816d84d7 Mon Sep 17 00:00:00 2001 From: Aly Raffauf Date: Wed, 14 Aug 2024 21:26:12 -0400 Subject: [PATCH] sway: minor reorg --- homeManagerModules/desktop/sway/settings.nix | 30 ++++++++++---------- 1 file changed, 15 insertions(+), 15 deletions(-) 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 = [