An open API service indexing awesome lists of open source software.

https://github.com/artginzburg/powerchime

 The missing macOS' PowerChime switcher :loud_sound:
https://github.com/artginzburg/powerchime

bash battery charging cli macos powerchime sound terminal

Last synced: 5 days ago
JSON representation

 The missing macOS' PowerChime switcher :loud_sound:

Awesome Lists containing this project

README

          


powerchime



Quickly switch macOS' PowerChime

![Preview](misc/preview.png)


Just type git.io/nochime to go here.



As far as I can guess, this sound appears only on MacBooks with USB-C charging port, so starting with 2015 MacBook.


Usage

File size in bytes



I don't expect you using it often, so the script doesn't install on your Mac, it just runs and that's all


Open [Terminal](//wikipedia.org/wiki/Terminal_(macOS) "(Terminal.app) is the terminal emulator included in the macOS operating system by Apple. Terminal originated in NeXTSTEP and OPENSTEP, the predecessor operating systems of macOS.") and run the following command:

```powershell
curl -sL git.io/no-chime | sh
```



The script is harmless, [transparent](/powerchime.sh "free, open-source, and secure"), and easily revertable (by running it again)




### Reasons

Annoyance

The sound of a charging cable being connected might be unnecessary and even annoying, because you already see the battery status right in your [Menu Bar](//support.apple.com/en-gb/guide/mac-help/aside/glos33eb8abd/11.0/mac/11.0 "The menu bar runs along the top of the screen on your Mac. The left side of the menu bar contains the Apple menu and app menus. The right side of the menu bar can contain status menus, such as Wi-Fi, Spotlight and Siri — you can customise which items are shown using Dock & Menu Bar preferences. Control Centre and Notification Centre (click the date and time) are always available in the menu bar.").




> The weird thing is that macOS lets you easily switch, for example, [the startup sound](#switching-the-startup-sound), but not PowerChime.

People might be sleeping


To remove PowerChime even with the lid closed...




Starting from Big Sur, the loudness of PowerChime depends on your system's volume. If it's muted — the charging sound won't play. Even with the lid closed.


For Catalina and prior, the charging sound volume has a fixed value — consider reading this article on how to change the charging sound.


### Related

#### Switching the startup sound

> System Preferences... > Sound > Sound Effects > :black_square_button: Play sound on startup