dotfiles/os/macos/dock.pref.fish

31 lines
1 KiB
Fish
Raw Normal View History

#!/usr/bin/env fish
source "$DOT/script/utils.fish"
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
2024-02-03 12:05:02 -08:00
print_subtitle Dock
execute "defaults write com.apple.dock autohide -bool true" \
2024-02-03 12:05:02 -08:00
"Automatically hide/show the dock"
execute "defaults write com.apple.dock autohide-delay -float 0" \
2024-02-03 12:05:02 -08:00
"Disable the hide dock delay"
execute "defaults write com.apple.dock enable-spring-load-actions-on-all-items -bool true" \
2024-02-03 12:05:02 -08:00
"Enable spring loading for all dock items"
execute "defaults write com.apple.dock expose-animation-duration -float 0.1" \
2024-02-03 12:05:02 -08:00
"Make all mission control animations faster"
execute "defaults write com.apple.dock mineffect -string 'scale'" \
2024-02-03 12:05:02 -08:00
"Change minimize/maximize window animation to 'scale'"
execute "defaults write com.apple.dock mru-spaces -bool false" \
2024-02-03 12:05:02 -08:00
"Do not automatically rearrange spaces based on most recent use"
execute "defaults write com.apple.dock show-recents -bool false" \
2024-02-03 12:05:02 -08:00
"Do not show recent applications in dock"
2024-02-03 12:05:02 -08:00
killall Dock &>/dev/null