Skip to content

Instantly share code, notes, and snippets.

@Gen2ly
Created June 1, 2012 02:32
Show Gist options
  • Save Gen2ly/2848198 to your computer and use it in GitHub Desktop.
Save Gen2ly/2848198 to your computer and use it in GitHub Desktop.
Kill original g9led-random-color loop, run again
#!/bin/sh
# Kill original g9led-random-color loop, run again
case "$1" in
resume | thaw )
killall -9 g9led-random-color
export DISPLAY=:0
su -c - todd /home/todd/.scripts/others/g9led-random-color &
;;
esac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment