Skip to content

Instantly share code, notes, and snippets.

@ihashacks
Created June 11, 2013 04:48
Show Gist options
  • Save ihashacks/5754526 to your computer and use it in GitHub Desktop.
Save ihashacks/5754526 to your computer and use it in GitHub Desktop.
bluetooth fun
#!/bin/bash
rhythmbox-client --no-start --pause
(xscreensaver -nosplash &); sleep 1; xscreensaver-command -l
python $HOME/.local/bin/empathy_set_status.py away
#!/bin/bash
function killxscreensaver() {
killall xscreensaver
echo ""
return
}
killxscreensaver
rhythmbox-client --no-start --play
python $HOME/.local/bin/empathy_set_status.py available
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment