diff --git a/more-common-settings.sh b/more-common-settings.sh index ecdcd8a..942e2ab 100755 --- a/more-common-settings.sh +++ b/more-common-settings.sh @@ -1,5 +1,5 @@ # Prevents wallpaper/screensaver fingerprinting... (annyoing!) -echo "[ST] Prevent wallpaper/screensaver fingerprinting... " +echo "[DSMOSS] Prevent wallpaper/screensaver fingerprinting... " osascript -e 'tell application "System Events" to set picture of desktop 1 to POSIX file "/System/Library/Desktop Pictures/Solid Colors/Black.png"' sudo defaults write /Library/Preferences/com.apple.loginwindow DesktopPicture "/System/Library/Desktop Pictures/Solid Colors/Black.png" sudo defaults write /Library/Preferences/com.apple.screensaver modulePath -string "/System/Library/Screen Savers/Blank.saver" @@ -7,27 +7,27 @@ defaults -currentHost write com.apple.screensaver modulePath -string "/System/Li defaults -currentHost write com.apple.screensaver idleTime -int 666 # Adjust time in seconds as needed # Set the key repeat faster (somewhat annoying.) -echo "[ST] Set the key repeat faster..." +echo "[DSMOSS] Set the key repeat faster..." defaults write NSGlobalDomain KeyRepeat -int 3 # Set the delay of key repeat a short time (somewhat annoying.) -echo "[ST] Set the delay of key repeat a short time..." +echo "[DSMOSS] Set the delay of key repeat a short time..." defaults write NSGlobalDomain InitialKeyRepeat -int 15 # Disable click desktop to reveal (VERY annoying! why is this even default!?!) -echo "[ST] Disable click desktop to reveal..." +echo "[DSMOSS] Disable click desktop to reveal..." defaults write com.apple.WindowManager EnableStandardClickToShowDesktop -bool false killall WindowManager # Disable hot corners (annoying!) -echo "[ST] Disable hot corners..." +echo "[DSMOSS] Disable hot corners..." defaults write com.apple.dock wvous-tl-corner -int 0 defaults write com.apple.dock wvous-tr-corner -int 0 defaults write com.apple.dock wvous-bl-corner -int 0 defaults write com.apple.dock wvous-br-corner -int 0 # Add nightshift (it's annoying to have a lack of sleep. lol.) -echo "[ST] Enable nightshift..." +echo "[DSMOSS] Enable nightshift..." defaults write com.apple.ncprefs NightShiftMode -bool true defaults write com.apple.ncprefs NightShiftAutomaticStart -date "2024-10-30 19:00:00" defaults write com.apple.ncprefs NightShiftAutomaticEnd -date "2024-10-31 07:00:00" @@ -35,7 +35,33 @@ defaults write com.apple.ncprefs NightShiftFrequency -int 1 sudo killall SystemUIServer # Disable natural scrolling (super annoying!) -echo "[ST] Disable natural scrolling..." +echo "[DSMOSS] Disable natural scrolling..." defaults write com.apple.swipescrolldirection -bool false defaults write com.apple.mouse.scaling -int 0 -killall Dock \ No newline at end of file +killall Dock + +# Optimizing desktop (annoying.) +echo "[DSMOSS] Optimizing desktop..." +defaults write com.apple.Accessibility DifferentiateWithoutColor -int 1 +defaults write com.apple.Accessibility ReduceMotionEnabled -int 1 +defaults write com.apple.universalaccess reduceMotion -int 1 +defaults write com.apple.universalaccess reduceTransparency -int 1 +sudo pmset -a hibernatemode 0 +sudo sysctl vm.swappiness=10 +sudo pmset -a lidwake 1 +defaults write com.apple.finder DisableAllAnimations -bool true + +# Activate secure empty trash mode... +echo "[DSMOSS] Activate secure empty trash mode..." +defaults write com.apple.finder EmptyTrashSecurely -bool true + +# Optimizing network... +echo "[DSMOSS] Optimizing network settings..." +sudo sysctl -w net.inet.tcp.delayed_ack=0 +sudo sysctl -w net.inet.tcp.mssdflt=1440 + +# Disable iCloud... +echo "[DSMOSS] Disable iCloud..." +killall Photos +sudo defaults write com.apple.CloudDocs DisableCloudKit -bool true +sudo defaults write com.apple.CloudPhotos FrameworkEnabled -bool false \ No newline at end of file