diff options
| author | Ivan Molodetskikh <yalterz@gmail.com> | 2024-09-03 14:12:28 +0300 |
|---|---|---|
| committer | Ivan Molodetskikh <yalterz@gmail.com> | 2024-09-03 14:12:28 +0300 |
| commit | a42717bcac84574a011a12e4457fe00cafc330b8 (patch) | |
| tree | ca8b4ab722bd4acb87ce71a757c95cb12d7b9980 | |
| parent | 6b013a08fc67417f84ad79b7a2e91c41f6141ec7 (diff) | |
| download | niri-a42717bcac84574a011a12e4457fe00cafc330b8.tar.gz niri-a42717bcac84574a011a12e4457fe00cafc330b8.tar.bz2 niri-a42717bcac84574a011a12e4457fe00cafc330b8.zip | |
wiki/Xwayland: Mention adding DISPLAY to config environment
| -rw-r--r-- | wiki/Xwayland.md | 8 |
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. |
