def cmd_swap_left(self):
        x = self._get_window().x
        y = self._get_window().y
        candidates = [c for c in self.clients if c.info()['x'] < x]
        target = self._get_closest(x, y, candidates)
        self.cmd_swap(self._get_window(), target)
Swap current window with closest window to the left
dataset/ETHPy150Open qtile/qtile/libqtile/layout/xmonad.py/MonadTall.cmd_swap_left