Skip to content

Commit 5a5e2fb

Browse files
amomchilovyannbertrand
authored andcommitted
Add Finder's NewWindowTarget option
1 parent 2a08b77 commit 5a5e2fb

File tree

1 file changed

+32
-0
lines changed

1 file changed

+32
-0
lines changed

defaults.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -447,6 +447,38 @@ categories:
447447
text: Large
448448
versions: [Monterey, Big Sur, Catalina]
449449
after: killall Finder
450+
- key: NewWindowTarget
451+
domain: com.apple.finder
452+
title: "Initial folder shown by new Finder windows"
453+
description: >-
454+
Set by the "New Finder windows show:" drop down menu in the Finder preferences.
455+
Often used in conjunction with `NewWindowTargetPath`.
456+
param:
457+
type: string
458+
values: [PfCm, PfVo, PfHm, PfDe, PfDo, PfAF, PfLo]
459+
examples:
460+
- value: PfCm
461+
text: Your computer (e.g. "Bob's MacBook Pro")
462+
- value: PfVo
463+
text: The root of your file system (e.g. "Macintosh HD"). Accompanied by `NewWindowTargetPath = "file:///"`.
464+
- value: PfHm
465+
text: Home. Accompanied by `NewWindowTargetPath = "file:///Users/bob/"`.
466+
- value: PfDe
467+
text: Desktop. Accompanied by `NewWindowTargetPath = "file:///bob/Desktop/"`.
468+
- value: PfDo
469+
text: Documents. Accompanied by `NewWindowTargetPath = "file:///Users/bob/Documents/"`.
470+
- value: PfAF
471+
text: Recents. Accompanied by `NewWindowTargetPath = "file:///System/Library/CoreServices/Finder.app/Contents/Resources/MyLibraries/myDocuments.cannedSearch/"`.
472+
- value: PfLo
473+
text: Other location. Accompanied by `NewWindowTargetPath = "file:///the/other/location/`.
474+
- key: NewWindowTargetPath
475+
domain: com.apple.finder
476+
title: "Initial folder shown by new Finder windows"
477+
param:
478+
type: string
479+
description:
480+
Set by the "New Finder windows show:" drop down menu in the Finder preferences.
481+
See `NewWindowTarget`.
450482

451483
- folder: menubar
452484
name: Menu Bar

0 commit comments

Comments
 (0)