code: def getScreenDetails(self):
          
          monitors = self._getMonitorInfo()
          primary_screen = None
          screens = []
          for monitor in monitors:
              # Convert screen rect to Lackey-style rect (x,y,w,h) as position in virtual screen
              screen = {
                  "rect": (
                      monitor["rect"][0],
                      monitor["rect"][1],
                      monitor["rect"][2] - monitor["rect"][0],
                      monitor["rect"][3] - monitor["rect"][1]
                  )
              }
              screens.append(screen)
          return screens
docs: Return list of attached monitors
  
          For each monitor (as dict), ``monitor["rect"]`` represents the screen as positioned
          in virtual screen. List is returned in device order, with the first element (0)
          representing the primary monitor.