diff --git a/.obsidian/workspace.json b/.obsidian/workspace.json index b1b7db4..8e95aab 100644 --- a/.obsidian/workspace.json +++ b/.obsidian/workspace.json @@ -7,9 +7,37 @@ "id": "657c08911bbed8eb", "type": "tabs", "children": [ + { + "id": "2d6c71e84273c20a", + "type": "leaf", + "pinned": true, + "state": { + "type": "markdown", + "state": { + "file": "00. Inbox/Habit Tracker.md", + "mode": "preview", + "source": true + }, + "pinned": true + } + }, { "id": "3b4577823cedf427", "type": "leaf", + "pinned": true, + "state": { + "type": "markdown", + "state": { + "file": "00. Inbox/01. TODO.md", + "mode": "source", + "source": true + }, + "pinned": true + } + }, + { + "id": "8cf28d8feb53986f", + "type": "leaf", "state": { "type": "markdown", "state": { @@ -18,21 +46,9 @@ "source": true } } - }, - { - "id": "2d6c71e84273c20a", - "type": "leaf", - "state": { - "type": "markdown", - "state": { - "file": "00. Inbox/Habit Tracker.md", - "mode": "source", - "source": true - } - } } ], - "currentTab": 1 + "currentTab": 2 } ], "direction": "vertical" @@ -90,7 +106,7 @@ "state": { "type": "backlink", "state": { - "file": "00. Inbox/Habit Tracker.md", + "file": "01. 個人/01. Daily/2023-01-31(週二).md", "collapseAll": false, "extraContext": false, "sortOrder": "alphabetical", @@ -107,7 +123,7 @@ "state": { "type": "outline", "state": { - "file": "00. Inbox/Habit Tracker.md" + "file": "01. 個人/01. Daily/2023-01-31(週二).md" } } }, @@ -152,17 +168,17 @@ "periodic-notes:Open today": false } }, - "active": "2d6c71e84273c20a", + "active": "8cf28d8feb53986f", "lastOpenFiles": [ + "00. Inbox/01. TODO.md", "01. 個人/01. Daily/2023-01-31(週二).md", + "05. 資料收集/99. templates/日記.md", "00. Inbox/Habit Tracker.md", + "00. Inbox/未命名.md", + "05. 資料收集/99. templates/front matter.md", "__test/2023-01-31(週二).md", "01. 個人/20230214 - 日本福岡旅遊.md", "01. 個人/00. Informations/Datas.md", - "05. 資料收集/99. templates/2col.md", - "02. 工作/01. Logitech/Bolide.md", - "00. Inbox/vc-fwUpdate code trace.canvas", - "01. 個人/01. Daily/2023/01/2023-01-19(週四).md", - "01. 個人/01. Daily/2023/01/2023-01-20(週五).md" + "05. 資料收集/99. templates/2col.md" ] } \ No newline at end of file diff --git a/00. Inbox/Habit Tracker.md b/00. Inbox/Habit Tracker.md index 494c5ac..91b8ac4 100644 --- a/00. Inbox/Habit Tracker.md +++ b/00. Inbox/Habit Tracker.md @@ -1,3 +1,5 @@ +`````col +````col-md # Anki ```tracker searchType: frontmatter @@ -5,6 +7,167 @@ searchTarget: anki folder: 01. 個人/01. Daily dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' datasetName: Anki +startDate: 2023-01-01 +month: + mode: annotation + annotation: 🐍 + startWeekOn: 'Mon' + color: steelblue +``` + +```tracker +searchType: frontmatter +searchTarget: anki +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` +```` + +````col-md +# 讀書(技術) +```tracker +searchType: frontmatter +searchTarget: readingSkill +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 讀書(技術) +startDate: 2023-01-01 +month: + mode: annotation + annotation: 📘 + startWeekOn: 'Mon' + color: steelblue +``` + +```tracker +searchType: frontmatter +searchTarget: readingSkill +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` +```` + +````col-md +# 讀書(休閒) +```tracker +searchType: frontmatter +searchTarget: readingCasual +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 讀書(休閒) +startDate: 2023-01-01 +month: + mode: annotation + annotation: 📖 + startWeekOn: 'Mon' + color: steelblue +``` + +```tracker +searchType: frontmatter +searchTarget: readingCasual +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` +````` + +---------------------------------------- + +`````col +````col-md +# 深蹲 +```tracker +searchType: frontmatter +searchTarget: 深蹲 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 深蹲 +startDate: 2023-01-01 +bar: + title: 深蹲 + yAxisLabel: Count + yMin: 0 + barColor: darkolivegreen +``` + +```tracker +searchType: frontmatter +searchTarget: 深蹲 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` +```` + +````col-md +# 啞鈴 +```tracker +searchType: frontmatter +searchTarget: 啞鈴 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 啞鈴 +startDate: 2023-01-01 +bar: + title: 啞鈴 + yAxisLabel: Count + yMin: 0 + barColor: darkolivegreen +``` + +```tracker +searchType: frontmatter +searchTarget: 啞鈴 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` +```` + +````col-md +# 仰臥起坐 +```tracker +searchType: frontmatter +searchTarget: 仰臥起坐 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 仰臥起坐 +startDate: 2023-01-01 +bar: + title: 仰臥起坐 + yAxisLabel: Count + yMin: 0 + barColor: darkolivegreen +``` + +```tracker +searchType: frontmatter +searchTarget: 仰臥起坐 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +```` +````` + +---------------------------------------- + +# Anki +```tracker +searchType: frontmatter +searchTarget: anki +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: Anki +startDate: 2023-01-01 month: mode: annotation annotation: 🐍 @@ -21,6 +184,78 @@ summary: template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" ``` +# 讀書(技術) +```tracker +searchType: frontmatter +searchTarget: readingSkill +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 讀書(技術) +startDate: 2023-01-01 +month: + mode: annotation + annotation: 📘 + startWeekOn: 'Mon' + color: steelblue +``` + +```tracker +searchType: frontmatter +searchTarget: readingSkill +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` + +# 讀書(休閒) +```tracker +searchType: frontmatter +searchTarget: readingCasual +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 讀書(休閒) +startDate: 2023-01-01 +month: + mode: annotation + annotation: 📖 + startWeekOn: 'Mon' + color: steelblue +``` + +```tracker +searchType: frontmatter +searchTarget: readingCasual +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` + +# 深蹲 +```tracker +searchType: frontmatter +searchTarget: 深蹲 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 深蹲 +startDate: 2023-01-01 +bar: + title: 深蹲 + yAxisLabel: Count + yMin: 0 + barColor: darkolivegreen +``` + +```tracker +searchType: frontmatter +searchTarget: 深蹲 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" +``` + # 啞鈴 ```tracker searchType: frontmatter @@ -29,7 +264,6 @@ folder: 01. 個人/01. Daily dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' datasetName: 啞鈴 startDate: 2023-01-01 -endDate: 2023-12-31 bar: title: 啞鈴 yAxisLabel: Count @@ -44,4 +278,27 @@ folder: 01. 個人/01. Daily dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' summary: template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" -``` \ No newline at end of file +``` + +# 仰臥起坐 +```tracker +searchType: frontmatter +searchTarget: 仰臥起坐 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +datasetName: 仰臥起坐 +startDate: 2023-01-01 +bar: + title: 仰臥起坐 + yAxisLabel: Count + yMin: 0 + barColor: darkolivegreen +``` + +```tracker +searchType: frontmatter +searchTarget: 仰臥起坐 +folder: 01. 個人/01. Daily +dateFormatSuffix: '(\(週一\)|\(週二\)|\(週三\)|\(週四\)|\(週五\)|\(週六\)|\(週日\))' +summary: + template: "Longest Streak: {{maxStreak()}} day(s)\nLongest Breaks: {{maxBreaks()}} day(s)\nLast streak: {{currentStreak()}} day(s)" \ No newline at end of file diff --git a/01. 個人/01. Daily/2023-01-31(週二).md b/01. 個人/01. Daily/2023-01-31(週二).md index 38039b5..64cd37c 100644 --- a/01. 個人/01. Daily/2023-01-31(週二).md +++ b/01. 個人/01. Daily/2023-01-31(週二).md @@ -1,14 +1,14 @@ --- -tags: meditation +tags: aliases: date: 2023-01-31 time: 19:55:51 description: anki: 1 -readingSkill: 0 +readingSkill: 1 readingCasual: 0 -squat: 0 -啞鈴: 60 +深蹲: 0 +啞鈴: 0 仰臥起坐: 0 --- @@ -34,3 +34,7 @@ squat: 0 接著接睿睿,回到家都已經5點了。 沒有生產力的一天,今天要11點睡,明天7點起床。 + +不知怎麼的又開始對習慣App產生興趣,可是又不想再買新的App,一來是覺得沒那個價值,因為目前的App的功能都差不多,再來是受夠了訂閱制了。後來想說Obsidian搞不好會有類似的功能,一搜尋之下果然有,那就是:[obsidian-tracker: A plugin tracks occurrences and numbers in your notes](https://github.com/pyrochlore/obsidian-tracker),看說明有點小複雜,但是看這個Youtube之後就滿容易理解了:[Building a USEFUL Habit Tracker in Obsidian](https://www.youtube.com/watch?v=W_leEJHBZW4)。 + +設定過程因為日記檔名的關係碰到一些小問題,幸好這個plugin很完整,可以用regex解決:[Using prefix and suffix with regular expression](https://github.com/pyrochlore/obsidian-tracker/blob/master/examples/TestDateFormats.md#using-prefix-and-suffix-with-regular-expression)。 diff --git a/05. 資料收集/99. templates/日記.md b/05. 資料收集/99. templates/日記.md index dace5ef..14821d4 100644 --- a/05. 資料收集/99. templates/日記.md +++ b/05. 資料收集/99. templates/日記.md @@ -1,3 +1,17 @@ +--- +tags: +aliases: +date: {{date}} +time: {{time:HH:mm:ss}} +description: +anki: 0 +readingSkill: 0 +readingCasual: 0 +squat: 0 +啞鈴: 0 +仰臥起坐: 0 +--- + 時間:{{time:HH:mm:ss}} ### TAG