def scratchpad(pl, icons=SCRATCHPAD_ICONS):
 return [{u'contents': icons.get(w.scratchpad_state, icons[u'changed']), u'highlight_groups': scratchpad_groups(w)} for w in get_i3_connection().get_tree().descendents() if (w.scratchpad_state != u'none')]

def scratchpad ( pl , icons = SCRATCHPAD_ICONS ) : return [ { u'contents' : icons . get ( w . scratchpad_state , icons [ u'changed' ] ) , u'highlight_groups' : scratchpad_groups ( w ) } for w in get_i3_connection ( ) . get_tree ( ) . descendents ( ) if ( w . scratchpad_state != u'none' ) ]
returns the windows currently on the scratchpad .