aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Molodetskikh <yalterz@gmail.com>2024-09-03 14:12:28 +0300
committerIvan Molodetskikh <yalterz@gmail.com>2024-09-03 14:12:28 +0300
commita42717bcac84574a011a12e4457fe00cafc330b8 (patch)
treeca8b4ab722bd4acb87ce71a757c95cb12d7b9980
parent6b013a08fc67417f84ad79b7a2e91c41f6141ec7 (diff)
downloadniri-a42717bcac84574a011a12e4457fe00cafc330b8.tar.gz
niri-a42717bcac84574a011a12e4457fe00cafc330b8.tar.bz2
niri-a42717bcac84574a011a12e4457fe00cafc330b8.zip
wiki/Xwayland: Mention adding DISPLAY to config environment
-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.