Skip to content

Commit

Permalink
disable configs that no longer work on Ventura
Browse files Browse the repository at this point in the history
See mathiasbynens#1027 for details
  • Loading branch information
Okeanos committed Apr 10, 2023
1 parent 839cf93 commit a1f09a0
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions macos.sh
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ msg "${GREEN}Configuring General UI/UX.${NOFORMAT}"
sudo nvram SystemAudioVolume=" "

# Disable transparency in the menu bar and elsewhere on Yosemite
# cannot be enabled anymore this way on macOS Ventura, see https://github.com/mathiasbynens/dotfiles/issues/1027
#defaults write com.apple.universalaccess reduceTransparency -bool true

# Set highlight color to green
Expand Down Expand Up @@ -368,10 +369,11 @@ defaults write com.apple.BluetoothAudioAgent "Apple Bitpool Min (editable)" -int
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3

# Use scroll gesture with the Ctrl (^) modifier key to zoom
defaults write com.apple.universalaccess closeViewScrollWheelToggle -bool false || echo "ignoring"
defaults write com.apple.universalaccess HIDScrollZoomModifierMask -int 262144 || echo "ignoring"
# cannot be enabled anymore this way on macOS Ventura, see https://github.com/mathiasbynens/dotfiles/issues/1027
#defaults write com.apple.universalaccess closeViewScrollWheelToggle -bool false
#defaults write com.apple.universalaccess HIDScrollZoomModifierMask -int 262144
# Follow the keyboard focus while zoomed in
defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true || echo "ignoring"
#defaults write com.apple.universalaccess closeViewZoomFollowsFocus -bool true

# Disable press-and-hold for keys in favor of key repeat in case of Terminal
defaults write com.apple.terminal ApplePressAndHoldEnabled -bool false
Expand Down

0 comments on commit a1f09a0

Please sign in to comment.