-
Notifications
You must be signed in to change notification settings - Fork 0
/
macos
38 lines (29 loc) · 1.76 KB
/
macos
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
# TODO MANUALLY
# https://apple.stackexchange.com/questions/110569/disable-esc-shortcut-to-quit-fullscreen
# ------------ Automated
## Checkout https://github.com/aaronbates/dotfiles/blob/master/macos/.macos
# For all options, checkout `defaults read`
# "Apple Global Domain" == "NSGlobalDomain"
# Show dotfiles in finder
defaults write com.apple.finder AppleShowAllFiles YES
# Full Keyboard Access mode - mainly to tab in dialogs
# Toggle with ctrl-F7
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
# Disable press-and-hold for keys in favor of key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Automatically illuminate built-in MacBook keyboard in low light
defaults write com.apple.BezelServices kDim -bool true
# Turn off keyboard illumination when computer is not used for 15 seconds
defaults write com.apple.BezelServices kDimTime -int 15
# https://apple.stackexchange.com/questions/33600/how-can-i-make-auto-hide-show-for-the-dock-faster
defaults write com.apple.dock autohide-time-modifier -int 0;killall Dock
# https://apple.stackexchange.com/questions/59556/is-there-a-way-to-completely-disable-dock
defaults write com.apple.dock autohide-delay -float 2000; killall Dock
# Chrome: Disable left right to go back and forward in history
# https://superuser.com/questions/840102/how-do-you-disable-swipe-history-navigation-in-chrome
# defaults write com.google.Chrome AppleEnableSwipeNavigateWithScrolls -bool false
# Disable menu var visible
# defaults write NSGlobalDomain AppleMenuBarVisibleInFullscreen -bool false
# defaults write NSGlobalDomain AppleMenuBarVisibleInFullscreen -bool true
# defaults write com.colliderli.iina AppleMenuBarVisibleInFullscreen -bool false
# defaults delete com.colliderli.iina AppleMenuBarVisibleInFullscreen