'Specific configuration for xmonad wide.'

def _configure_specific(self, client, screen, px, cidx):

    height_main = int((self.group.screen.dheight * self.ratio))
    height_shared = (self.group.screen.dheight - height_main)
    if (self.align == self._up):
        if (cidx == 0):
            ypos = self.group.screen.dy
        else:
            ypos = (self.group.screen.dy + height_main)
    elif (cidx == 0):
        ypos = (self.group.screen.dy + height_shared)
    else:
        ypos = self.group.screen.dy
    if (cidx > 0):
        height = (height_shared - (2 * self.border_width))
        xpos = (self.group.screen.dx + self._get_absolute_size_from_relative(sum(self.relative_sizes[:(cidx - 1)])))
        width = self._get_absolute_size_from_relative(self.relative_sizes[(cidx - 1)])
        if (cidx > 1):
            xpos -= self.margin
            width += self.margin
        client.place(xpos, ypos, (width - (2 * self.border_width)), height, self.border_width, px, margin=self.margin)
    else:
        height = (height_main - (2 * self.border_width))
        client.place((self.group.screen.dx + self.margin), (ypos + self.margin), ((self.group.screen.dwidth - (2 * self.border_width)) - (2 * self.margin)), (height - self.margin), self.border_width, px)
