code: def monitors(self):
          # type: () -> Monitors
          
  
          if not self._monitors:
              display = MSS.display
              int_ = int
              xrandr = self.xrandr
  
              # All monitors
              gwa = XWindowAttributes()
              self.xlib.XGetWindowAttributes(display, self.root, ctypes.byref(gwa))
              self._monitors.append(
                  {
                      "left": int_(gwa.x),
                      "top": int_(gwa.y),
                      "width": int_(gwa.width),
                      "height": int_(gwa.height),
                  }
              )
  
              # Each monitors
              mon = xrandr.XRRGetScreenResourcesCurrent(display, self.drawable).contents
              crtcs = mon.crtcs
              for idx in range(mon.ncrtc):
                  crtc = xrandr.XRRGetCrtcInfo(display, mon, crtcs[idx]).contents
                  if crtc.noutput == 0:
                      xrandr.XRRFreeCrtcInfo(crtc)
                      continue
  
                  self._monitors.append(
                      {
                          "left": int_(crtc.x),
                          "top": int_(crtc.y),
                          "width": int_(crtc.width),
                          "height": int_(crtc.height),
                      }
                  )
                  xrandr.XRRFreeCrtcInfo(crtc)
              xrandr.XRRFreeScreenResources(mon)
  
          return self._monitors
docs: Get positions of monitors (see parent class property).