def info(self):
        """Returns a dictionary of info for this object"""
        return dict(
            name=self.name,
            width=self.width,
            text=self.text,
            active=self.active,
        )
Returns a dictionary of info for this object
libqtile/widget/prompt.py