Skip to content

Instantly share code, notes, and snippets.

@glarizza
Created October 13, 2010 14:37
Show Gist options
  • Save glarizza/624146 to your computer and use it in GitHub Desktop.
Save glarizza/624146 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>NSWorkspace</key>
<dict>
<key>NSWorkspaceDidMountNotification</key>
<dict>
<key>command</key>
<string>/bin/echo "A new volume was mounted!"</string>
</dict>
<key>NSWorkspaceDidWakeNotification</key>
<dict>
<key>command</key>
<string>/bin/echo "The system woke from sleep!"</string>
</dict>
<key>NSWorkspaceWillSleepNotification</key>
<dict>
<key>command</key>
<string>/bin/echo "The system is about to go to sleep!"</string>
</dict>
</dict>
<key>SystemConfiguration</key>
<dict>
<key>State:/Network/Global/IPv4</key>
<dict>
<key>command</key>
<string>/bin/echo "Global IPv4 config changed"</string>
</dict>
</dict>
</dict>
</plist>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment