def on_click(self, i3s_output_list, i3s_config, event):
        if event['button'] == 1:
            if self.run:
                self.run = False
                system("xset -dpms;xset s off")
            else:
                self.run = True
                system("xset +dpms;xset s on")
Enable/Disable DPMS on left click.
dataset/ETHPy150Open ultrabug/py3status/py3status/modules/dpms.py/Py3status.on_click