how to check if a programm is running in wayland code example Example: how to check if am using wayland echo $XDG_SESSION_TYPE