def reset_redshift(self):
        """
        Call reset on redshift to reset to default settings.
        """
        try:
            subprocess.run([self.redshift_path, "-x"], check=True)
        except (TypeError, FileNotFoundError) as e:
            self.widget_error(
                f"redshift: could not find redshift executable, check redshift_path: {e}"
            )
        except subprocess.CalledProcessError as e:
            self.widget_error(f"redshift: could not enable redshift: {e}")

        Call reset on redshift to reset to default settings.
        
libqtile/widget/redshift.py