From 3a159d24f70fd1d7db7e53f3c9475f77a4ad69e1 Mon Sep 17 00:00:00 2001 From: Psidium Date: Sun, 18 Oct 2015 16:52:42 -0200 Subject: [PATCH 1/2] Add caring chime sound tip --- README.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/README.md b/README.md index 7de79c4..1b79334 100644 --- a/README.md +++ b/README.md @@ -511,6 +511,15 @@ sudo systemsetup -setcomputersleep 60 sudo systemsetup -setcomputersleep Never ``` +#### Play chime sound when MagSafe is connected (iPhone charging sound) +```bash +defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app +``` + +#### Disable chime sound when MagSafe is connected +```bash +defaults write com.apple.PowerChime ChimeOnAllHardware -bool false; open /System/Library/CoreServices/PowerChime.app +``` ## Input Devices From 923b8396023f41157ddf3e7b30a6169b531920fa Mon Sep 17 00:00:00 2001 From: Psidium Date: Sun, 18 Oct 2015 18:55:37 -0200 Subject: [PATCH 2/2] Fix title and description of chime --- README.md | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index 1b79334..41797f3 100644 --- a/README.md +++ b/README.md @@ -511,14 +511,17 @@ sudo systemsetup -setcomputersleep 60 sudo systemsetup -setcomputersleep Never ``` -#### Play chime sound when MagSafe is connected (iPhone charging sound) +#### Enable Chime when Charging +Play iOS charging sound when MagSafe is connected. ```bash -defaults write com.apple.PowerChime ChimeOnAllHardware -bool true; open /System/Library/CoreServices/PowerChime.app +defaults write com.apple.PowerChime ChimeOnAllHardware -bool true && \ +open /System/Library/CoreServices/PowerChime.app ``` -#### Disable chime sound when MagSafe is connected +#### Disable Chime when Charging ```bash -defaults write com.apple.PowerChime ChimeOnAllHardware -bool false; open /System/Library/CoreServices/PowerChime.app +defaults write com.apple.PowerChime ChimeOnAllHardware -bool false && \ +open /System/Library/CoreServices/PowerChime.app ``` ## Input Devices