From e8aabc62ad5e44a8be034dea9f1ce941c9a47863 Mon Sep 17 00:00:00 2001 From: 514fpv Date: Tue, 16 Jan 2024 14:23:25 +0800 Subject: [PATCH] feat(steam): add floating window rules --- home/steam/home.nix | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/home/steam/home.nix b/home/steam/home.nix index bb63e66b..89fa75bb 100644 --- a/home/steam/home.nix +++ b/home/steam/home.nix @@ -10,4 +10,8 @@ in mkIf enable { cfg.package cfg.package.run ]; + + wayland.windowManager.sway.config.window.commands = [ + { criteria.class = "steam"; command = "floating enable"; } + ]; }