diff --git a/niri/config.kdl b/niri/config.kdl index 7458191..b6ce783 100644 --- a/niri/config.kdl +++ b/niri/config.kdl @@ -157,3 +157,30 @@ window-rule { match app-id="^thunar$" title="^File Operation Progress$" open-floating true } + +// Steam client + child windows: float and center (friends list, settings, +// game properties, dialogs). Games (steam_app_) are handled above, unaffected. +window-rule { + match app-id="^steam$" + open-floating true +} + +// Steam main library window: float large (centered by niri) +window-rule { + match app-id="^steam$" title="^Steam$" + default-column-width { proportion 0.75; } + default-window-height { proportion 0.85; } +} + +// Steam notification toasts: unobtrusive, bottom-right, no border/focus-ring +window-rule { + match app-id="^steam$" title="^notificationtoasts" + open-floating true + default-floating-position x=16 y=16 relative-to="bottom-right" + border { + off + } + focus-ring { + off + } +}