-
Notifications
You must be signed in to change notification settings - Fork 0
/
scripts
39 lines (21 loc) · 1.15 KB
/
scripts
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
36
37
38
39
# Instantly hide dock (Intel)
defaults write com.apple.Dock autohide-delay -float 0.0001; killall Dock
# M2
defaults write com.apple.dock autohide-delay -float 0; killall Dock
# defaults write -g NSWindowShouldDragOnGesture -bool true
Drag any window with ctrl+cmd+drag
# Prevent bluetooth from waking the device
defaults -currentHost write com.apple.Bluetooth RemoteWakeEnabled 0
# Show "Bluesnooze" icon
defaults delete com.oliverpeate.Bluesnooze hideIcon && killall Bluesnooze
# M2 mac wakeup
sudo pmset -a ttyskeepawake 0 tcpkeepalive 0 womp 0 networkoversleep 0 proximitywake 0 ring 0 displaysleep 2 disksleep 5 sleep 5
sudo pmset schedule cancelall
sudo pmset repeat cancel
sudo chflags schg /Library/Preferences/SystemConfiguration/com.apple.AutoWake.plist
# Disable game mode for wowup
defaults write WowUp-CF.app/Contents/Info.plist LSApplicationCategoryType public.app-category.utilities
# Safari ghost cloud tab
rm ~/Library/Containers/com.apple.Safari/Data/Library/Safari/CloudTabs.db
rm ~/Library/Containers/com.apple.Safari/Data/Library/Safari/CloudTabs.db-shm
rm ~/Library/Containers/com.apple.Safari/Data/Library/Safari/CloudTabs.db-wal