aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--wiki/Xwayland.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/wiki/Xwayland.md b/wiki/Xwayland.md
index d1ccc503..77f6006f 100644
--- a/wiki/Xwayland.md
+++ b/wiki/Xwayland.md
@@ -15,6 +15,14 @@ env DISPLAY=:0 flatpak run com.valvesoftware.Steam
They will appear as normal windows.
+You can also set `DISPLAY` by default for all apps by adding it to the `environment` section of the niri config:
+
+```kdl
+environment {
+ DISPLAY ":0"
+}
+```
+
## Directly running Xwayland in rootful mode
This method involves invoking XWayland directly and running it as its own window, it also requires an extra X11 window manager running inside it.