aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-x.osx5
1 files changed, 5 insertions, 0 deletions
diff --git a/.osx b/.osx
index 962d1fc..7ef7f6f 100755
--- a/.osx
+++ b/.osx
@@ -157,6 +157,11 @@ defaults write com.apple.Mail DisableSendAnimations -bool true
# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
+# Disable the “reopen windows when logging back in” option
+# This works, although the checkbox will still appear to be checked.
+defaults write com.apple.loginwindow TALLogoutSavesState -bool false
+defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false
+
# Enable Dashboard dev mode (allows keeping widgets on the desktop)
defaults write com.apple.dashboard devmode -bool true