Commit 217e3704 authored by Peter Hutterer's avatar Peter Hutterer
Browse files

xisxwayland 1

parent fc33fce2
Pipeline #147994 passed with stages
in 51 seconds
xiswayland
==========
`xisxwayland` is a tool to be used within shell scripts to determine whether
the X server in use is Xwayland. It exits with status 0 if the server is an
Xwayland server and 1 otherwise. Any error results in an exit code of 3.
......@@ -5,7 +8,7 @@ Xwayland server and 1 otherwise. Any error results in an exit code of 3.
The usual use-case would be like this:
```
if [ -z "$DISPLAY" ]; then
if [ -z "$DISPLAY" ]; then
echo "cannot check, DISPlAY is unset"
exit 1
fi
......@@ -14,3 +17,21 @@ if xisxwayland; then
echo "yay, xwayland"
fi
```
Source code
-----------
The source code of xiswayland can be found at:
https://gitlab.freedesktop.org/xorg/app/xisxwayland
Reporting Bugs
--------------
Bugs can be filed in the freedesktop.org GitLab instance:
https://gitlab.freedesktop.org/xorg/app/xisxwayland/issues/
License
-------
`xisxwayland` is licensed under the MIT license. See the COPYING file for full
license information.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment