[mac] disable disk ejected message'

This commit is contained in:
Piotr Domański 2024-11-28 14:12:17 +01:00
parent 6e06aec5ef
commit 8cdfd4a819
2 changed files with 1 additions and 0 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View file

@ -23,6 +23,7 @@ configure_macos() {
defaults write -g KeyRepeat -int 1 defaults write -g KeyRepeat -int 1
defaults write com.apple.Dock autohide-delay -float 0; killall Dock defaults write com.apple.Dock autohide-delay -float 0; killall Dock
defaults write -g com.apple.mouse.scaling -integer -1 defaults write -g com.apple.mouse.scaling -integer -1
sudo defaults write /Library/Preferences/SystemConfiguration/com.apple.DiskArbitration.diskarbitrationd.plist DADisableEjectNotification -bool YES && sudo pkill diskarbitrationd
} }