Skip to content

Instantly share code, notes, and snippets.

View rusty122's full-sized avatar

Russell Parker rusty122

View GitHub Profile

Keybase proof

I hereby claim:

  • I am rusty122 on github.
  • I am russellparker (https://keybase.io/russellparker) on keybase.
  • I have a public key whose fingerprint is 9AB7 FA8A FB79 CD14 6259 6E8C 0C68 E0FC 9685 E4AD

To claim this, I am signing this object:

@rusty122
rusty122 / jack.sh
Last active February 28, 2018 15:00
#!/bin/sh
#
# /etc/acpi/jack.sh
#
event="$*"
export PULSE_SERVER="tcp:localhost"
headphones_in() {
pactl set-sink-port @DEFAULT_SINK@ "[Out] Headphones"