code: def dpms(self):
          
          if "DPMS is Enabled" in self.py3.command_output("xset -q"):
              _format = self.icon_on
              color = self.color_on
          else:
              _format = self.icon_off
              color = self.color_off
  
          icon = self.py3.safe_format(_format)
  
          return {
              "cached_until": self.py3.time_in(self.cache_timeout),
              "full_text": self.py3.safe_format(self.format, {"icon": icon}),
              "color": color,
          }
docs: Display a colorful state of DPMS.