Skip to content

Instantly share code, notes, and snippets.

@grejppi
Created January 30, 2016 23:12
Show Gist options
  • Save grejppi/3bd7efb72ccb55d65684 to your computer and use it in GitHub Desktop.
Save grejppi/3bd7efb72ccb55d65684 to your computer and use it in GitHub Desktop.
def match(command):
return ('pulseaudio' in command.stderr
and 'jackd' in command.script)
def get_new_command(command):
return 'pasuspender -- {}'.format(command.script)
enabled_by_default = True
requires_output = True
require_confirmation = False
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment