Skip to content

GlazeWM is a tiling window manager for macOS and Windows inspired by i3wm.

feat: add window rule to sample config for ignoring picture-in-picture (#480)

Amine Djeghri872c2fa259e7
diff --git a/GlazeWM.App/Resources/sample-config.yaml b/GlazeWM.App/Resources/sample-config.yaml
index 73d46951..5dc5860f 100644
--- a/GlazeWM.App/Resources/sample-config.yaml
+++ b/GlazeWM.App/Resources/sample-config.yaml
@@ -95,6 +95,12 @@ window_rules:
- command: "set floating"
match_class_name: "#32770"
+ # Do not manage picture-in-picture windows for browsers. Note that the default is for
+ # English; change `match_title` to the window's title if you use another language.
+ - command: "ignore"
+ match_title: "[Pp]icture.in.[Pp]icture"
+ match_class_name: "Chrome_WidgetWin_1|MozillaDialogClass"
+
# Some applications (eg. Steam) have borders that extend past the normal border size.
- command: "resize borders 0px -7px -7px -7px"
match_process_name: "steam"