From 4534d3726676a403eb3dd19d28371bd8acd98401 Mon Sep 17 00:00:00 2001 From: Maya Nordland Date: Mon, 24 Mar 2025 21:39:59 -0700 Subject: wiki: Document window rule for steam notifications (#1341) * wiki: Document window rule for steam notifications * Update wiki/Application-Issues.md --------- Co-authored-by: Ivan Molodetskikh --- wiki/Application-Issues.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/wiki/Application-Issues.md b/wiki/Application-Issues.md index b5a18e8a..518d3290 100644 --- a/wiki/Application-Issues.md +++ b/wiki/Application-Issues.md @@ -52,3 +52,15 @@ Other game launchers such as [Lutris](https://lutris.net/) have their own ways o Running X11-based games with this method doesn't require Xwayland as gamescope creates its own Xwayland server. You can run Wayland-native games as well by passing `--expose-wayland` to gamescope, therefore eliminating X11 from the equation. + +### Steam + +Steam notifications don't run through the standard notification daemon and show up as floating windows in the center of the screen. +You can move them to a more convenient location by adding a window rule in your niri config: + +```kdl +window-rule { + match app-id="steam" title=r#"^notificationtoasts_\d+_desktop$"# + default-floating-position x=10 y=10 relative-to="bottom-right" +} +``` -- cgit