# BSD echo command needs this for escape sequences. # This is run by "SleepWatcher" through /etc/rc.sleep and /etc/rc.wakeup ![]() # This file should be $HOME/.sleep and $HOME/.wakeup. Mac Sleepwatcherblueutil brew sleepwatcher brew install sleepwatcher brew services start sleepwatcher sleepwatcher ps aux grep sleepwatcher. sleep, it mounts my music volume (on the server SERENA) when waking up and disconnects when going to sleep. install bluetoothconnector from Homebrew - run bluetoothconnector on terminal to get the speakers MAC address - run Automator, create a shell script with command bluetoothconnector -connect xx-xx-xx-xx-xx-xx and save it as an application - drag the new application to Login Items in System Preferences Users & Groups. These files are just plain old shell scripts so you can do anything you like within them, just ensure you mark them executable by the user. wakeup files in the user's directory (e.g. To perform tasks at the sleep/wakeup moment create. This is a pain for me because I have all my music on a single samba share, using SleepWatcher ensures that volume is always mounted when I wake my Mac from its slumber. ![]() If you have ever mounted a network volume you'll know that chances are if the Mac goes to sleep it won't remount the volume when it wakes up. To perform tasks at the sleep/wakeup moment create.
0 Comments
Leave a Reply. |