34 lines
1.2 KiB
Fish
Executable file
34 lines
1.2 KiB
Fish
Executable file
#!/usr/bin/env fish
|
|
|
|
source "$DOT/script/utils.fish"
|
|
|
|
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
|
|
|
|
print_subtitle "UI & UX"
|
|
|
|
execute "defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true && \
|
|
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true" \
|
|
"Avoid creating '.DS_Store' files on network or USB volumes"
|
|
|
|
execute "defaults write com.apple.menuextra.battery ShowPercent -string 'YES'" \
|
|
"Show battery percentage in the menu bar"
|
|
|
|
execute "defaults write com.apple.CrashReporter UseUNC 1" \
|
|
"Make crash reports appear as notifications"
|
|
|
|
execute "defaults write com.apple.LaunchServices LSQuarantine -bool false" \
|
|
"Disable 'Are you sure you want to open this application?' dialog"
|
|
|
|
execute "defaults write com.apple.screencapture location -string '$HOME/Desktop'" \
|
|
"Save screenshots to the Desktop"
|
|
|
|
execute "defaults write com.apple.screencapture type -string 'png'" \
|
|
"Save screenshots as PNGs"
|
|
|
|
execute "defaults write -g AppleFontSmoothing -int 2" \
|
|
"Enable subpixel font rendering on non-Apple LCDs"
|
|
|
|
execute "defaults write -g NSNavPanelExpandedStateForSaveMode -bool true" \
|
|
"Expand save panel by default"
|
|
|
|
killall SystemUIServer &>/dev/null
|