From bdf58c21f3f4122f1e5c067ec31de14adb10d177 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Mon, 22 Jan 2024 11:32:00 +0800 Subject: [PATCH] feat(virt-manager): add sway window commands --- home/virt-manager/home.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/home/virt-manager/home.nix b/home/virt-manager/home.nix index e9a4ca71..b5bf3e67 100644 --- a/home/virt-manager/home.nix +++ b/home/virt-manager/home.nix @@ -49,4 +49,10 @@ }; "${p}/conns/qemu:system".pretty-name = "KVM"; }; + + # floating other than main window + wayland.windowManager.sway.config.window.commands = [ + { criteria.app_id = "virt-manager"; command = "floating enable"; } + { criteria.app_id = "virt-manager"; criteria.title = "Virtual Machine Manager"; command = "floating disable"; } + ]; }