How to determine if your are using X11 or Wayland
You open the terminal and then enter the code below
$ echo $XDG_SESSION_TYPE
If its wayland you this output
wayland
Else its
x11
Source: https://unix.stackexchange.com/questions/202891/how-to-know-whether-wayland-or-x11-is-being-used