Skip to content

Commit

Permalink
Add a "Set value from UI" section
Browse files Browse the repository at this point in the history
  • Loading branch information
romen committed Nov 18, 2024
1 parent 1add4d2 commit 6afc85c
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions docs/misc/nsquitalwayskeepwindows.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@ head:
# Keep windows when quitting an application

When enabled, open documents and windows will be restored when you re-open an application.
This setting is the inverse of the option accessible through
System Preferences > Desktop & Dock > Close windows when quitting an application.

⚠️ Restarting the Mac or closing the session is necessary to take the changes into effect.

Expand Down Expand Up @@ -51,3 +49,11 @@ defaults read NSGlobalDomain "NSQuitAlwaysKeepsWindow"
```bash
defaults delete NSGlobalDomain "NSQuitAlwaysKeepsWindow"
```

## Set value from UI

This setting is the inverse of the following option accessible through
System Preferences.

1. Open the <a href="x-apple.systempreferences:com.apple.preference.dock?Windows">Desktop & Dock preference pane in System Preferences</a>.
2. Toggle "Close windows when quitting an application".

0 comments on commit 6afc85c

Please sign in to comment.