Public feed #892250

Anonymous

public text v1 · immutable
Raw Edit
·published 2008-02-05 07:26 UTC
rendered paste body
               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)