if self.active == 'compiz': # use a copy, not the original compiz_command = self['compiz'].command[:] for option in options: if options[option].enabled: compiz_command.append(options[option].switch) if env.glx_vendor != 'SGI': compiz_command.append('--no-libgl-fallback') kill_list = ['killall'] for decorator in decorators: kill_list.append(decorators[decorator].base) run(kill_list, 'call') time.sleep(0.5) # do it print ' ... executing:', ' '.join(compiz_command) run(compiz_command, quiet=False) elif self.active: run(self[self.active].command)