Search This Blog

2023-06-18

running xmonad in wayland

 #!/bin/sh

DISPLAY=${1:-:1} ;

cage -s -- Xwayland $DISPLAY & Xwayland=$! ;

export DISPLAY ; 

while ! xhost 2> /dev/null ; do sleep .1 ; done ; 

xmonad ;

kill $Xwayland ;