Skip to content

Instantly share code, notes, and snippets.

@Scrumplex
Created January 10, 2018 20:13
Show Gist options
  • Save Scrumplex/9add17aefeaa9cf90fda8db4c50068e0 to your computer and use it in GitHub Desktop.
Save Scrumplex/9add17aefeaa9cf90fda8db4c50068e0 to your computer and use it in GitHub Desktop.
Kill Steam on Desktop exit
#!/bin/bash
_term() {
pkill -f -9 $HOME/.local/share/Steam/ubuntu12_32/steam
}
trap _term EXIT
sleep infinity
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment