├── Daily Journal
├── Daily Journal V1.1
├── Header
├── README.md
├── Weekly journal
└── lineWidth
/Daily Journal:
--------------------------------------------------------------------------------
1 | ---
2 | cssclass:
3 | creation date: 2022-11-01 09:47
4 | tags:
5 | -
6 | ---
7 |
8 |
[[<% tp.date. now ("MMMM Do YYYY, dddd",-1,"{{title}}","MMMM Do YYYY, dddd") %>]] | [[<% tp.date. now ("MMMM Do YYYY, dddd",1,"{{title}}","MMMM Do YYYY, dddd") %>]]
9 | ---
10 |
11 |
12 | ```start-multi-column
13 | ID: ID_g6fc9
14 | Number of Columns: 2
15 | largest column: left
16 | border: false
17 | shadow: false
18 | ```
19 |
20 | ```ad-quote
21 | title: Quote of the day:
22 |
23 | <% tp.web.daily_quote() %>
24 |
25 | ```
26 |
27 | --- column-end ---
28 |
29 |
30 |
31 |
32 |
33 | Daily Schedule |
34 |
35 |
36 |
37 | DOTW |
38 | Work START |
39 | Lunch |
40 | Work END |
41 |
42 |
43 | - |
44 | - |
45 | - |
46 | - |
47 |
48 |
49 |
50 | === end-multi-column
51 |
52 | ---
53 |
54 | ```start-multi-column
55 | ID: ID_7fc8
56 | Number of Columns: 2
57 | largest column: left
58 | ```
59 |
60 | **Morning notes:**
61 | ####
62 | #### What main project do I want done today?
63 | -
64 | ####
65 | #### What can I do today that will help me feel more in control of my life?
66 | -
67 | ####
68 | #### something that makes me feel happy about today.
69 | -
70 | ####
71 | #### Where do I need to take a new action this morning?
72 | -
73 |
74 | **End of day notes:**
75 | ####
76 | #### What was I able to achieve today?
77 | -
78 | ####
79 | #### What did I do TODAY that I'm proud of?:
80 | -
81 | ####
82 | #### What could I have done better?:
83 | -
84 | ####
85 | #### How will I improve TOMORROW?:
86 | -
87 |
88 |
89 | Brain Dump/Scratch Pad
90 | -
91 |
92 |
93 |
94 | --- column-end ---
95 |
96 | #### **Todays To-Do**
97 | ╔.***⮮***.═══════════════════════════════════╗
98 |
99 | ```todoist
100 | {
101 | "name": "Todays tasks",
102 | "filter": "today"
103 | }
104 | ```
105 | ╚═══════════════════════════════════.***⮭***.╝
106 | ╔.***⮮***.═══════════════════════════════════╗
107 |
108 | ```todoist
109 | {
110 | "name": "Overdue tasks",
111 | "filter": "overdue"
112 | }
113 | ```
114 |
115 | ╚═══════════════════════════════════.***⮭***.╝
116 |
117 | {= #TASKS =}
118 |
119 | === end-multi-column
120 |
--------------------------------------------------------------------------------
/Daily Journal V1.1:
--------------------------------------------------------------------------------
1 | ---
2 | cssclass:
3 | tags: daily
4 | cleaning:
5 | #CleaningInfo: can leave it blank or put a 1 - this tells the dataview table to mark the calendar as a day you cleaned - or w/e you want to change it to.
6 | weight:
7 | #WeightInfo: Just put it in and the Dataview table should track that number as lbs
8 | spent:
9 | - {name: Example purchase, value: 420.69}
10 | #SpentInfo: When entering in purchases above DO NOT TAB INDENT - must use 2 spaces only (can delete this field)
11 | mood:
12 | #MoodInfo: 1-9 depending on your mood the color ranges from a dark red to a dark green to indicate mood (will update in the future more colors for different moods like - Happy, Depressed, Excited, Busy etc.)
13 | ---
14 |
15 |
%% Include an image here as i did in, or use banner plugin to get one on the top of the page %%
16 |
17 | ```start-multi-column
18 | ID: ID_7fc8hhgh
19 | Number of Columns: 2
20 | largest column: right
21 | ```
22 | ### TODAYS TASKS
23 | ```todoist
24 | {
25 | "name": "",
26 | "filter": "today"
27 | }
28 | ```
29 | ### OVERDUE
30 | ```todoist
31 | {
32 | "name": "",
33 | "filter": "overdue"
34 | }
35 | ```
36 | --- column-end ---
37 | CASH LOGS
38 |
39 | ```dataviewjs
40 | // defining the query for current day
41 | const DQL = await dv.tryQuery(`
42 | TABLE WITHOUT ID S.name, S.value
43 | WHERE file.path = this.file.path
44 | FLATTEN spent AS S
45 | `)
46 |
47 | // Total title 1
48 | const totalTitle = ["Total Spent"]
49 |
50 | // calculate today total
51 | const spentToday = DQL.values.map(g => g[1]).reduce((acc, val) => acc + val, 0).toFixed(2);
52 |
53 |
54 | // Total today
55 | const totalToday = ["Today", "$ " + spentToday]
56 |
57 | // calculate costs in the current week until today
58 | const DQLWeek = await dv.tryQuery(`
59 | TABLE WITHOUT ID round(sum(rows.val),2)
60 | WHERE spent
61 | WHERE dateformat(file.day, "yyyy-WW") = dateformat(this.file.day, "yyyy-WW") AND file.day <= this.file.day
62 | FLATTEN spent.value AS val
63 | GROUP BY true
64 | `)
65 |
66 | // Total week
67 | const totalWeek = ["This week", "$ " + (DQLWeek.values[0] || "0.00")];
68 |
69 | // calculate costs in the current month
70 | const DQLMonth = await dv.tryQuery(`
71 | TABLE WITHOUT ID round(sum(rows.val),2)
72 | WHERE spent
73 | WHERE dateformat(file.day, "yyyy-MM") = dateformat(this.file.day, "yyyy-MM") AND file.day <= this.file.day
74 | FLATTEN spent.value AS val
75 | GROUP BY true
76 | `)
77 |
78 | // Total month
79 | const totalMonth = ["This month", "$ " + (DQLMonth.values[0] || "0.00")]
80 |
81 | // calculate costs in the current year
82 | const DQLYear = await dv.tryQuery(`
83 | TABLE WITHOUT ID round(sum(rows.val),2)
84 | WHERE spent
85 | WHERE file.day.year = this.file.day.year AND file.day <= this.file.day
86 | FLATTEN spent.value AS val
87 | GROUP BY true
88 | `)
89 |
90 | // Total year
91 | const totalYear = ["This year", "$ " + (DQLYear.values[0] || "0.00")]
92 |
93 |
94 | // define a horizontal line in table
95 | const hrArray = Array(2).fill('
');
96 |
97 | // push all values
98 | DQL.values.push(hrArray)
99 | DQL.values.push(totalTitle)
100 | DQL.values.push(hrArray)
101 | DQL.values.push(totalToday)
102 | DQL.values.push(hrArray)
103 | DQL.values.push(totalWeek)
104 | DQL.values.push(hrArray)
105 | DQL.values.push(totalMonth)
106 | DQL.values.push(hrArray)
107 | DQL.values.push(totalYear)
108 | DQL.values.push(hrArray)
109 |
110 | // create table
111 | dv.table(["Purchased", "Cost"], DQL.values);
112 |
113 | // remove the number of rows in first column title
114 | this.container.querySelectorAll(".table-view-table tr:first-of-type th:first-of-type > span.small-text")[0].style.visibility = "hidden";
115 | ```
116 | ```dataviewjs
117 | dv.span("A Year In Pixels
")
118 | dv.span("---")
119 | const hue1 = 13 //red
120 | const hue2 = 132 //green
121 | const calendarData = {
122 | year: 2022,
123 | intensityScaleStart: 1,
124 | intensityScaleEnd: 9,
125 | colors: { // optional, defaults to green
126 | red2greenX21: [
127 | `hsl(${hue1}, 100%, 37%)`, // 1 - darkest red (worst mood)
128 | `hsl(${hue1}, 100%, 50%)`, // 2 -
129 | `hsl(${hue1}, 100%, 60%)`, // 3 -
130 | `hsl(${hue1}, 100%, 77%)`, // 4 - lightest red
131 | `hsl(0, 0%, 80%)`, // 5 - gray (neutral mood)
132 | `hsl(${hue2}, 59%, 24%)`, // 6 - lightest green
133 | `hsl(${hue2}, 49%, 36%)`, // 7 -
134 | `hsl(${hue2*0.85}, 43%, 56%)`, // 8 -
135 | `hsl(${hue2*0.7}, 70%, 72%)`, // 9 - darkest green (best mood)
136 | ],
137 | },
138 | entries: [] // populated in the DataviewJS loop below
139 | }
140 | for(let page of dv.pages('"1. Notes/dailyNotes"').where(p=>p.mood)){
141 | calendarData.entries.push({
142 | date: page.file.name,
143 | intensity: page.mood,
144 | content: await dv.span(`[](${page.file.name})`), //for hover preview
145 | })
146 | }
147 | renderHeatmapCalendar(this.container, calendarData)
148 | dv.span("
")
149 | ```
150 |
151 | === end-multi-column---
152 |
153 | ```start-multi-column
154 | ID: ID_7fc8
155 | Number of Columns: 2
156 | largest column: left
157 | ```
158 | # Morning Notes
159 |
160 | #### Whats happening today?
161 | -
162 |
163 | #### What can I do today to help me feel more in control in life?
164 | -
165 |
166 | #### something that makes me feel happy about today.
167 | -
168 |
169 | #### Where do I need to take a new action this morning?
170 | -
171 |
172 | # E.O.D. Notes
173 |
174 | #### What was I able to achieve today?
175 | -
176 |
177 | #### What did I do TODAY that I'm proud of?
178 | -
179 |
180 | #### What could I have done better?
181 | -
182 |
183 | #### How will I improve TOMORROW?
184 | -
185 |
186 | --- column-end ---
187 |
188 | {{qotd}}
189 |
190 | ```tracker
191 | searchType: frontmatter
192 | searchTarget: cleaning
193 | folder: 1. Notes/dailyNotes
194 | datasetName: Cleaning
195 | fixedScale: 1.3
196 | month:
197 | color: orange
198 | ```
199 | ```tracker
200 | searchType: frontmatter
201 | searchTarget: weight
202 | folder: 1. Notes/dailyNotes
203 | fixedScale: 1.1
204 | line:
205 | title: Weight Tracker
206 | yAxisLabel: Weight
207 | ```
208 | === end-multi-column
209 |
--------------------------------------------------------------------------------
/Header:
--------------------------------------------------------------------------------
1 | h1 { color: #2456a1 !important; }
2 | h2 { color: #1eddff !important; }
3 | h3 { color: #a6ff00 !important; }
4 | h4 { color: #FFCE00 !important; }
5 | h5 { color: #797979 !important; }
6 | h6 { color: #ffffff !important; }
7 |
8 |
9 | @-webkit-keyframes blink {
10 | to {
11 | opacity: 0.0;
12 | }
13 | }
14 |
15 | @-moz-keyframes blink {
16 | to {
17 | opacity: 0.0;
18 | }
19 | }
20 |
21 | @-ms-keyframes blink {
22 | to {
23 | opacity: 0.0;
24 | }
25 | }
26 |
27 | @-o-keyframes blink {
28 | to {
29 | opacity: 0.0;
30 | }
31 | }
32 | @keyframes blink {
33 | to {
34 | opacity: 0.0;
35 | }
36 | }
37 | .arrow {
38 | font: italic bold 60px Georgia, serif;
39 | color: white;
40 | text-shadow: 0px 0px 10px #39FF14, 0px 0px 10px #39FF14;
41 | }
42 |
43 | .dash {
44 | font: 40px Georgia, serif;
45 | color: white;
46 | text-shadow: 0px 0px 10px #39FF14, 0px 0px 10px #39FF14, 0px 0px 10px #39FF14;
47 | -webkit-animation-name: blink;
48 | -webkit-animation-duration: 1s;
49 | -webkit-animation-iteration-count: infinite;
50 |
51 | -moz-animation-name: blink;
52 | -moz-animation-duration: 1s;
53 | -moz-animation-iteration-count: infinite;
54 |
55 | -ms-animation-name: blink;
56 | -ms-animation-duration: 1s;
57 | -ms-animation-iteration-count: infinite;
58 |
59 | -o-animation-name: blink;
60 | -o-animation-duration: 1s;
61 | -o-animation-iteration-count: infinite;
62 |
63 | animation-name: blink;
64 | animation-duration: 1s;
65 | animation-iteration-count: infinite;
66 | }
67 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # my templater Daily and weekly notes
2 |
3 | ### Plugins needed to duplicate my set up:
4 |
5 | Plugins used:
6 | - [mulfok/obsidian-absolve](https://github.com/mulfok/obsidian-absolve)
7 | - [ckRobinson/ulti-Column Markdown](https://github.com/ckRobinson/multi-column-markdown)
8 | - [liamcain/obsidian-calendar-plugin](https://github.com/liamcain/obsidian-calendar-plugin)
9 | - [blacksmithgu/obsidian-dataview](https://github.com/blacksmithgu/obsidian-dataview)
10 | - [Richardsl/heatmap-calendar-obsidian](https://github.com/Richardsl/heatmap-calendar-obsidian)
11 | - [twentytwokhz/quote-of-the-day](https://github.com/twentytwokhz/quote-of-the-day)
12 | - [liamcain/obsidian-periodic-notes](https://github.com/liamcain/obsidian-periodic-notes)
13 | - [SilentVoid13/Templater](https://github.com/SilentVoid13/Templater)
14 | - [chhoumann/quickadd](https://github.com/chhoumann/quickadd)
15 | - [shabegom/buttons](https://github.com/shabegom/buttons)
16 |
17 | ## Retired Plugins (for me atleast)
18 | - admonition
19 | - Todoist Plugin
20 | - Banners
21 | ---------------------------------------------------------------------------------------------------------------------``
22 | # Here is a look at what can be done with just these plugins using this template:
23 | ---
24 | THEME: PLN
25 |
26 | 
27 |
28 | starting from the top:
29 | we have a dataviewJS querie that uses information pulled from the YAML to keep track of spending and income with another spot for investing if you feel like messing with the querie a bit. Just make sure you keep the inputs using the blank spots i put in. like so:
30 |
31 | - income:
32 | - {name: Paycheck, value: 420.69}
33 | - {name: eBay payout, value: 101.42}
34 | - spent:
35 | - {name: Coffee- 7/11, value: 4.20}
36 | - {name: Rent - March, value: 600.00}
37 |
38 | 
39 | 
40 | ``
41 |
42 |
43 | Then we have the "year in pixels" and for this all you really need to fill in is the mood in the "Wellbeing" section of the YAML. i have more plans for the rest of it but ATM this is all i got.
44 |
45 | 
46 | 
47 |
48 | You can put in your own color codes and your own scale for the input here.
49 |
50 |
51 | then we have some simple next and previous day - the Quote of the day - some simple queries to pull to-dos and in the main section this requires Quick Add and Buttons PLugins
52 |
53 | QuickAdd settings:
54 | 
55 | Button settings:
56 | 
57 |
58 |
59 |
60 |
61 | ## OLD VERSIONS BELOW THIS LINE
62 | ---------------------------------------------------------------------------------------------------------------------
63 |
64 | ## V1.1 - ~~New And Improved!~~ (Now with less width!)
65 | 
66 |
67 | 
68 |
69 |
70 | 
71 |
--------------------------------------------------------------------------------
/Weekly journal:
--------------------------------------------------------------------------------
1 | ---
2 | title: Weekly Notes
3 | tags:
4 | -
5 | ---
6 |
7 |
8 | Weekly Journal for :
9 |
10 |
11 | ---
12 | [[<% tp.date. now ("gggg-[W]ww",-1,"{{title}}","gggg-[W]ww") %>]] | [[<% tp.date. now ("gggg-[W]ww",1,"{{title}}","gggg-[W]ww") %>]]
13 | ---
14 |
15 | ```start-multi-column
16 | ID: ID_jkop
17 | Number of Columns: 3
18 | Largest Column: center
19 | ```
20 |
21 |
22 |
23 |
24 | THIS WEEKS SCHEDULE |
25 |
26 | DOTW |
27 | Work START |
28 | Lunch |
29 | Work END |
30 |
31 |
32 | SUN |
33 | - |
34 | - |
35 | - |
36 |
37 |
38 | MON |
39 | - |
40 | - |
41 | - |
42 |
43 |
44 | TUE |
45 | - |
46 | - |
47 | - |
48 |
49 |
50 | WED |
51 | - |
52 | - |
53 | - |
54 |
55 |
56 | THU |
57 | - |
58 | - |
59 | - |
60 |
61 |
62 | FRI |
63 | - |
64 | - |
65 | - |
66 |
67 |
68 | SAT |
69 | - |
70 | - |
71 | - |
72 |
73 |
74 |
75 |
76 |
77 | Quotes of the Week: |
78 |
79 |
80 | ╒◖══════════════════════════════════◗╕
81 |
82 | ╘◖══════════════════════════════════◗╛
83 |
84 | --- column-end ---
85 |
86 | #### DID I ACCOMPLISH ALL THAT I SET OUT TO LAST WEEK?:
87 | -
88 |
89 | #### IF NOT THEN WHY? AND HOW WILL I IMPROVE THIS WEEK?:
90 | -
91 |
92 | #### WHT DO I WANT TO ACCOMPLISH THIS WEEK?:
93 | -
94 | ---
95 |
96 | --- column-end ---
97 |
98 | ╔.***⮮***.══════════════════════╗
99 |
100 | ```todoist
101 | {
102 | "name": "Overdue tasks",
103 | "filter": "today | overdue"
104 | }
105 | ```
106 |
107 | ╚══════════════════════.***⮭***.╝
108 |
109 | === end-multi-column
110 |
111 | ---
112 |
--------------------------------------------------------------------------------
/lineWidth:
--------------------------------------------------------------------------------
1 | /* These are used in my notes for the cssclass */
2 | markdown-preview-section {
3 | --file-line-width: 1300px !important;
4 | }
5 | .wide {
6 | --file-line-width: 1600px !important;
7 | }
8 |
9 | .full {
10 | --file-line-width: 100% !important;
11 | }
12 |
13 | .notes {
14 | --file-line-width: 1000px !important;
15 | }
16 |
17 | .booknotes {
18 | --file-line-width: 1200px !important;
19 | }
20 |
21 |
22 | /* I use this to change the location of my "banner" on the page */
23 |
24 | .bottom {
25 | margin: 0px 0px 0px 0px;
26 | width: 100%;
27 | }
28 |
--------------------------------------------------------------------------------