def get_connected_xrandr_outputs(pl):
 return (match.groupdict() for match in XRANDR_OUTPUT_RE.finditer(run_cmd(pl, [u'xrandr', u'-q'])))

def get_connected_xrandr_outputs ( pl ) : return ( match . groupdict ( ) for match in XRANDR_OUTPUT_RE . finditer ( run_cmd ( pl , [ u'xrandr' , u'-q' ] ) ) )
iterate over xrandr outputs outputs are represented by a dictionary with name .