def click(self):
        """Perform default action on visible item."""
        with contextlib.suppress(IndexError):
            _, action = self._lines[self._line_index]
            action()
Perform default action on visible item.
libqtile/widget/bluetooth.py