Compositor
Distribution
If Other, please specify
No response
dms doctor -v
n/a
Description
According to niri wiki, Steam notifications should be matched like this (with added ^ and $ in the regex to match the other ones we have):
match app-id=r#"^steam$"# title=r#"^notificationtoasts_\d+_desktop$"#
Currently, they are handled like this for niri and hyprland:
core/internal/config/embedded/hyprland.conf
101:windowrule = float on, match:class ^(steam)$
core/internal/config/embedded/niri.kdl
231: match app-id=r#"^steam$"#
This leads to all Steam windows, even the main one, opening as floating, which is a little confusing.
This is what I personally had before switching to DMS and I found it worked well:
window-rule {
match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"#
default-floating-position x=10 y=10 relative-to="bottom-right"
open-focused false
}
For hyprland, it seems a lot of users have these lines in their configs, but I haven't tested them:
windowrulev2=noinitialfocus, title:(^notificationtoasts.*)
windowrulev2 = pin,class:^(steam),title:^(notificationtoasts)(.*)
Expected Behavior
No response
Steps to Reproduce & Installation Method
open steam, and it opens as floating - it has no reason to open floating by default unless it's a notification
Error Messages/Logs
No response
Screenshots/Recordings
No response
Compositor
Distribution
If Other, please specify
No response
dms doctor -v
n/a
Description
According to niri wiki, Steam notifications should be matched like this (with added ^ and $ in the regex to match the other ones we have):
Currently, they are handled like this for niri and hyprland:
This leads to all Steam windows, even the main one, opening as floating, which is a little confusing.
This is what I personally had before switching to DMS and I found it worked well:
For hyprland, it seems a lot of users have these lines in their configs, but I haven't tested them:
Expected Behavior
No response
Steps to Reproduce & Installation Method
open steam, and it opens as floating - it has no reason to open floating by default unless it's a notification
Error Messages/Logs
No response
Screenshots/Recordings
No response