-
Notifications
You must be signed in to change notification settings - Fork 1
/
.system
35 lines (25 loc) · 1 KB
/
.system
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
#!/bin/bash
# Set trackpad speed and key repeat
defaults write -g com.apple.mouse.scaling 4
defaults write nsglobaldomain keyrepeat -int 1
defaults write nsglobaldomain initialkeyrepeat -int 10
# Set battery percentage
defaults write com.apple.menuextra.battery ShowPercent -string "YES"
defaults write com.apple.menuextra.battery ShowTime -string "NO"
# Disable dock bouncing icons
defaults write com.apple.dock no-bouncing -bool TRUE
killall Dock
# Hide all desktop icons
defaults write com.apple.finder CreateDesktop false
killall Finder
# Reset changed apps
for app in cfprefsd Dock finder systemuiserver; do
killall "${app}" &> /dev/null
done
# Enable aptx codec
sudo defaults write bluetoothaudiod "Enable AptX codec" -bool true
# Enable aac codec
sudo defaults write bluetoothaudiod "Enable AAC codec" -bool true
# Change directory for screenshot
defaults write com.apple.screencapture location $HOME/Documents/Screenshot
defaults write /Library/Preferences/com.apple.airport.bt.plist bluetoothCoexMgmt Hybrid