table without id mood + " #_/habits" AS "๐", prayer AS "๐", choice(meditation,"โ ","โ") AS "๐งโโ๏ธ", choice(exercise,"โ ","โ") AS "๐โโ๏ธ", choice(study,"โ ","โ") AS "๐", choice(stretch,"โ ","โ") AS "๐คธ"from "06 - Journal/Daily"where file.name = this.file.name
// List of gratitudeslet gratitudes = [];// Extract gratitudes from pages that have themdv.pages() .where(page => page.gratitude) .forEach(page => { dv.array(page.gratitude) .forEach(gratitude => { gratitudes.push({ message: gratitude, page: page }); })});// List of awesome thingslet learnings = [];// Extract learnings from pages that have themdv.pages() .where(page => page.learning) .forEach(page => { dv.array(page.learning) .forEach(learning => { learnings.push({ message: learning, page: page }); })});let gratitudegreeting = gratitudes[Math.floor(Math.random()*gratitudes.length)]let learninggreeting = learnings[Math.floor(Math.random()*learnings.length)]if (gratitudes.length && learnings.length) { dv.paragraph("*Practice gratitude:* " + gratitudegreeting.message + " (" + gratitudegreeting.page.file.link + ")" + "<br>" + "*A random learning:* " + learninggreeting.message + " (" + learninggreeting.page.file.link + ")");} else { dv.paragraph("Add at least one `Gratitude::` and one `Learning::` entry in your notes to show random prompts here.");}
Gratitude:: Iโm greatfull for the physical health that God gave me, Iโm greatfull for sanity that god gave me. That help me overcome every obstacle I encountered without giving in.
Tasks of the day
name: ''filter: "(!#Work) & due before: tomorrow"sorting:- date- prioritygroup: true
Highlights of the day:
Highlight:: I tried walking very slowly today, and im starting to fell comfortable.
What did I learn today?
Learning:: I realized that if people donโt like me, that is none of my business its thereโs, my business is just me focus on myself improve myself. Donโt give a shit about what people think
What good have I done today?
Good:: Iโm being nice and patient with myself even though Iโm hurting.
What excited or drained me?
Exciting:: Iโm excited about continuing to improve myself because Iโm seeing improvements
Draining:: What drains me is being in public chatting with people not being able to feel comfortable.
// List of kindle highlightslet kindles = [];// Extract kindles from pages that have themdv.pages() .where(page => page.kindle) .forEach(page => { dv.array(page.kindle) .forEach(kindle => { kindles.push({ message: kindle, page: page }); })});let kindlehighlight = kindles[Math.floor(Math.random()*kindles.length)]if (kindles.length) { dv.paragraph("*Kindle highlight:* " + kindlehighlight.message + " (" + kindlehighlight.page.file.link + ")");} else { dv.paragraph("No `kindle` highlights found yet.");}
// List of podcast highlightslet podcasts = [];// Extract kindles from pages that have themdv.pages() .where(page => page.podcast) .forEach(page => { dv.array(page.podcast) .forEach(podcast => { podcasts.push({ message: podcast, page: page }); })});let podcasthighlight = podcasts[Math.floor(Math.random()*podcasts.length)]if (podcasts.length) { dv.paragraph("*Podcast highlight:* " + podcasthighlight.message + " (" + podcasthighlight.page.file.link + ")");} else { dv.paragraph("No `podcast` highlights found yet.");}