GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.
feat(boot,domain): move window rule for floating file copy/move dialog to default rules in `UserConfigService`
Lars Berger2e8ed2246b9f
diff --git a/GlazeWM.Bootstrapper/sample-config.yaml b/GlazeWM.Bootstrapper/sample-config.yamlindex d70e4323..b5e00f2a 100644--- a/GlazeWM.Bootstrapper/sample-config.yaml+++ b/GlazeWM.Bootstrapper/sample-config.yaml@@ -40,10 +40,6 @@ window_rules:- command: "set floating"match_class_name: "#32770"- # Launches file copy & move dialog as floating by default.- - command: "set floating"- match_class_name: "OperationStatusWindow"-# Some applications (eg. Steam) have borders that extend past the normal border size.- command: "resize borders 0px -7px -7px -7px"match_process_name: "steam"diff --git a/GlazeWM.Domain/UserConfigs/UserConfigService.cs b/GlazeWM.Domain/UserConfigs/UserConfigService.csindex f659ac24..767575df 100644--- a/GlazeWM.Domain/UserConfigs/UserConfigService.cs+++ b/GlazeWM.Domain/UserConfigs/UserConfigService.cs@@ -83,6 +83,22 @@ namespace GlazeWM.Domain.UserConfigswindowRules.Add(windowRule);}+ var classNamesToFloat = new List<string> {+ // Dialog shown when moving and deleting files.+ "OperationStatusWindow",+ };++ foreach (var className in classNamesToFloat)+ {+ var windowRule = new WindowRuleConfig()+ {+ MatchClassName = className,+ Command = "set floating",+ };++ windowRules.Add(windowRule);+ }+var chromiumBrowserProcessNames = new List<string> {"chrome","msedge",