Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add AutoMuteOnWake * Convert tabs to spaces * Add trailing space * Misc improvements – Mute on `systemWillSleep` as well. This makes sure that sound doesn't play for a split second on wake. Also makes it more robust since we're muting all devices twice (if one of the two events doesn't trigger properly for example). – Set the volume to `0`, and only actually mute if setting the volume to 0 failed. It's more convenient to increase the volume starting from 0 in my experience than restoring the previous sound level. * Rename spoon to AutoMuteOnSleep * AutoMuteOnWake → AutoMuteOnSleep * Update init.lua
- Loading branch information