def focus_next(self, win: Window) -> Window | None:
        """
        Returns the client next from win in collection.
        """
        try:
            return self[self.index(win) + 1]
        except IndexError:
            return None

        Returns the client next from win in collection.
        
libqtile/layout/base.py