From 8e677b097388e35681f5b7afb9e743c947c40245 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 16 Jan 2024 14:16:35 +0800 Subject: [PATCH] feat: add floating window rules --- home/util/home.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/home/util/home.nix b/home/util/home.nix index 4fd9df3c..dcb69b34 100644 --- a/home/util/home.nix +++ b/home/util/home.nix @@ -18,4 +18,9 @@ blhelisuite32 expresslrs-configurator ]; + + wayland.windowManager.sway.config.window.commands = mkIf config.passthrough.gui [ + { criteria.class = "BLHeliSuite32xl"; command = "floating enable"; } + { criteria.app_id = "thunar"; command = "floating enable"; } + ]; }