code: def get_desktop_env():
      
      desktop = os.environ.get("XDG_CURRENT_DESKTOP")
      if desktop:
          return desktop
  
      desktop = os.environ.get("DESKTOP_SESSION")
      if desktop:
          return desktop
  
      desktop = os.environ.get("GNOME_DESKTOP_SESSION_ID")
      if desktop:
          return "GNOME"
  
      desktop = os.environ.get("MATE_DESKTOP_SESSION_ID")
      if desktop:
          return "MATE"
  
      desktop = os.environ.get("SWAYSOCK")
      if desktop:
          return "SWAY"
  
      desktop = os.environ.get("DESKTOP_STARTUP_ID")
      if desktop and "awesome" in desktop:
          return "AWESOME"
  
      return None
docs: Identify the current running desktop environment.