1 2 3 4 5 6 7
#!/bin/sh if type Xwayland >/dev/null 2>/dev/null; then mkdir -p /tmp/.X11-unix add_weston_argument "--modules=xwayland.so" fi