From ff937fc0c126e27320e275e43a847bc5dee6cd76 Mon Sep 17 00:00:00 2001
From: Wout Van Den Driessche <vandendriessche@gmail.com>
Date: Tue, 16 Feb 2021 00:04:38 +0100
Subject: [PATCH 1/2] I use the bear-cli to boost my journaling habit. So I
 won't skip a day anymore without a note.

---
 examples/journaling/README.md               | 14 ++++++++++++++
 examples/journaling/journaling.cmd          |  3 +++
 examples/journaling/templates/journaling.md | 17 +++++++++++++++++
 3 files changed, 34 insertions(+)
 create mode 100755 examples/journaling/README.md
 create mode 100755 examples/journaling/journaling.cmd
 create mode 100644 examples/journaling/templates/journaling.md

diff --git a/examples/journaling/README.md b/examples/journaling/README.md
new file mode 100755
index 0000000..5d48f2c
--- /dev/null
+++ b/examples/journaling/README.md
@@ -0,0 +1,14 @@
+# Journaling
+This one-liner (run in this folder..) will automatically make a template with date of today:
+
+`sed "s#<date>#$( date +"%d/%m/%Y")#" templates/journaling.md | bear create`
+
+You can also run this when logging in (that’s what I do):
+
+Just add the `journaling.cmd` file to System Preferences > Accounts > Login item
+
+Happy Journaling!
+
+## TODO
+- [ ] check if note of the day doesn’t exist yet, before creating
+- [ ] change the title to more descriptive date. (keep the / for categorising)
diff --git a/examples/journaling/journaling.cmd b/examples/journaling/journaling.cmd
new file mode 100755
index 0000000..5f5971b
--- /dev/null
+++ b/examples/journaling/journaling.cmd
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+sed "s#<date>#$( date +"%Y/%m/%d")#" $( cd "$(dirname "$0")" ; pwd -P )/templates/journaling.md | bear create
\ No newline at end of file
diff --git a/examples/journaling/templates/journaling.md b/examples/journaling/templates/journaling.md
new file mode 100644
index 0000000..2736dd7
--- /dev/null
+++ b/examples/journaling/templates/journaling.md
@@ -0,0 +1,17 @@
+# <date>
+
+## Book notes
+
+## Sleep notes
+
+## Work notes
+
+## Personal notes
+
+## Workout notes
+
+## Side project notes
+
+#me/journal/<date>
+
+

From e99f7d2650d5633336fe7b128b70ccd2a25a1404 Mon Sep 17 00:00:00 2001
From: Wout Van Den Driessche <vandendriessche@gmail.com>
Date: Thu, 18 Mar 2021 20:44:59 +0100
Subject: [PATCH 2/2] added investment notes

---
 examples/journaling/templates/journaling.md | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/examples/journaling/templates/journaling.md b/examples/journaling/templates/journaling.md
index 2736dd7..5c366e3 100644
--- a/examples/journaling/templates/journaling.md
+++ b/examples/journaling/templates/journaling.md
@@ -12,6 +12,8 @@
 
 ## Side project notes
 
+## Investment notes
+
 #me/journal/<date>