def right_click(self):
        """
        Has no action for the first line of the widget nor the gamma line.
        Increase brightness/temperature accordingly.
        """
        if self.error or self._line_index == 0 or self._line_index == self.gamma_idx:
            return
        elif self._line_index == self.brightness_idx:
            self.increase_brightness()
        elif self._line_index == self.temperature_idx:
            self.increase_temperature()
        self._set_text()

        Has no action for the first line of the widget nor the gamma line.
        Increase brightness/temperature accordingly.
        
libqtile/widget/redshift.py