#NEWLINE# def cmd_toggle_group( self , group_name = None ) : #NEWLINE# #INDENT# 'Switch to the selected group or to the previously active one' #NEWLINE# group = self . qtile . groupMap . get ( group_name ) #NEWLINE# if ( self in ( self . group , None ) ) : #NEWLINE# #INDENT# group = self . previous_group #NEWLINE# #UNINDENT# self . setGroup ( group )