Skip to content

Commit 63698cb

Browse files
authored
Merge pull request #64 from SebastianMC/60-simplified-integration-with-obsidian-icon-folder
60 simplified integration with obsidian icon folder
2 parents 18faf70 + bd875fa commit 63698cb

File tree

8 files changed

+613
-31
lines changed

8 files changed

+613
-31
lines changed

src/custom-sort/custom-sort-types.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ export enum CustomSortGroupType {
88
ExactSuffix,
99
ExactHeadAndTail, // Like W...n or Un...ed, which is shorter variant of typing the entire title
1010
HasMetadataField, // Notes (or folder's notes) containing a specific metadata field
11-
StarredOnly
11+
StarredOnly,
12+
HasIcon
1213
}
1314

1415
export enum CustomSortOrder {
@@ -59,6 +60,7 @@ export interface CustomSortGroup {
5960
matchFilenameWithExt?: boolean
6061
foldersOnly?: boolean
6162
withMetadataFieldName?: string // for 'with-metadata:' grouping
63+
iconName?: string // for integration with obsidian-folder-icon community plugin
6264
priority?: number
6365
combineWithIdx?: number
6466
}

0 commit comments

Comments
 (0)