wiki: Document window rule for steam notifications (#1341)
Browse files at this commit1 changed file +12 -0
- wiki/Application-Issues.md +12 -0
wiki/Application-Issues.mdmodified+12 -0
| @@ -52,3 +52,15 @@ Other game launchers such as [Lutris](https://lutris.net/) have their own ways o | |||
| 52 | 52 | ||
| 53 | Running X11-based games with this method doesn't require Xwayland as gamescope creates its own Xwayland server. | 53 | Running X11-based games with this method doesn't require Xwayland as gamescope creates its own Xwayland server. |
| 54 | You can run Wayland-native games as well by passing `--expose-wayland` to gamescope, therefore eliminating X11 from the equation. | 54 | You can run Wayland-native games as well by passing `--expose-wayland` to gamescope, therefore eliminating X11 from the equation. |
| 55 | + | ||
| 56 | +### Steam | ||
| 57 | + | ||
| 58 | +Steam notifications don't run through the standard notification daemon and show up as floating windows in the center of the screen. | ||
| 59 | +You can move them to a more convenient location by adding a window rule in your niri config: | ||
| 60 | + | ||
| 61 | +```kdl | ||
| 62 | +window-rule { | ||
| 63 | + match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"# | ||
| 64 | + default-floating-position x=10 y=10 relative-to="bottom-right" | ||
| 65 | +} | ||
| 66 | +``` | ||