vault backup: 2022-12-10 22:19:02

This commit is contained in:
Bram Adams
2022-12-10 22:19:02 -06:00
parent 8ac0657664
commit 79bf95df14
15 changed files with 210 additions and 20 deletions

View File

@@ -62,5 +62,13 @@
],
"key": "N"
}
],
"workspace:toggle-pin": [
{
"modifiers": [
"Mod"
],
"key": "."
}
]
}

View File

@@ -0,0 +1,6 @@
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
var g=Object.create;var o=Object.defineProperty;var h=Object.getOwnPropertyDescriptor;var u=Object.getOwnPropertyNames;var w=Object.getPrototypeOf,m=Object.prototype.hasOwnProperty;var r=i=>o(i,"__esModule",{value:!0});var b=(i,e)=>{r(i);for(var t in e)o(i,t,{get:e[t],enumerable:!0})},f=(i,e,t)=>{if(e&&typeof e=="object"||typeof e=="function")for(let a of u(e))!m.call(i,a)&&a!=="default"&&o(i,a,{get:()=>e[a],enumerable:!(t=h(e,a))||t.enumerable});return i},l=i=>f(r(o(i!=null?g(w(i)):{},"default",i&&i.__esModule&&"default"in i?{get:()=>i.default,enumerable:!0}:{value:i,enumerable:!0})),i);b(exports,{default:()=>p});var s=l(require("obsidian"));var n=l(require("obsidian")),d=class extends n.PluginSettingTab{constructor(e,t){super(e,t);this.plugin=t}display(){let{containerEl:e}=this;e.empty(),new n.Setting(e).setName("New Tab opens\u2026").setDesc("What to open when a new tab is created. (Except for the new tab page, the respective plugin needs to be enabled.)").addDropdown(t=>{t.addOption("new-tab-page","New Tab Page").addOption("daily-notes","Daily Note (Core Plugin)").addOption("periodic-notes:open-daily-note","Daily Note (Periodic Notes Plugin)").addOption("periodic-notes:open-weekly-note","Weekly Note (Periodic Notes Plugin)").addOption("periodic-notes:open-monthly-note","Monthly Note (Periodic Notes Plugin)").addOption("random-note","Random Note (Core Plugin)").addOption("switcher:open","Quick Switcher (Core Plugin)").addOption("obsidian-another-quick-switcher:search-command_recent-search","Another Quick Switcher").setValue(this.plugin.settings.whatToOpen).onChange(async a=>{this.plugin.settings.whatToOpen=a,await this.plugin.saveSettings()})}),new n.Setting(e).setName("Default New Tab Page").setDesc("Path of the note that will be opened in new tabs. Images and PDFs also work. Only takes effect when the setting above is 'New Tab Page'.").addText(t=>t.setPlaceholder("Meta/Homepage.md").setValue(this.plugin.settings.filePath).onChange(async a=>{this.plugin.settings.filePath=a,await this.plugin.saveSettings()})),new n.Setting(e).setName("Mode").setDesc("Select the mode in which the default new tab page will be opened.").addDropdown(t=>{t.addOption("obsidian-default","Obsidian Default").addOption("live-preview","Live Preview").addOption("reading-mode","Reading Mode").addOption("source-mode","Source Mode").setValue(this.plugin.settings.mode).onChange(async a=>{this.plugin.settings.mode=a,await this.plugin.saveSettings()})})}};var P={whatToOpen:"new-tab-page",filePath:"",mode:"obsidian-default"},p=class extends s.Plugin{async onload(){await this.loadSettings(),this.addSettingTab(new d(this.app,this)),app.workspace.onLayoutReady(()=>{let e=new WeakSet;app.workspace.iterateAllLeaves(t=>{e.add(t)}),this.registerEvent(app.workspace.on("layout-change",()=>{this.checkForNewTab(e)}))}),console.log("New Tab Default Page Plugin loaded.")}async loadSettings(){this.settings=Object.assign({},P,await this.loadData())}async saveSettings(){await this.saveData(this.settings)}async onunload(){console.log("New Tab Default Page Plugin unloaded.")}checkForNewTab(e){app.workspace.iterateAllLeaves(t=>{e.has(t)||(e.add(t),!!this.tabIsEmpty(t)&&(this.settings.whatToOpen==="new-tab-page"?this.openDefaultPage(t):this.runCommand(this.settings.whatToOpen,t)))})}runCommand(e,t){let a=e.includes("switcher")?200:0;setTimeout(()=>{if(!this.tabIsEmpty(t))return;this.app.commands.executeCommandById(e)||new s.Notice("Plugin for the New Tab Page is not enabled.")},a)}tabIsEmpty(e){return!e.view||e.view.getViewType()==="empty"}async openDefaultPage(e){let t=this.settings.filePath;if(!t)return;let a=app.metadataCache.getFirstLinkpathDest(t,"/");if(!Boolean(a)){new s.Notice(`${t} is not a valid path to a note in your vault.`);return}await e.openFile(a),this.setViewMode(e,this.settings.mode)}setViewMode(e,t){let a=e.getViewState();switch(t){case"source-mode":a.state.mode="source",a.state.source=!0;break;case"live-preview":a.state.mode="source",a.state.source=!1;break;case"reading-mode":a.state.mode="preview";break}e.setViewState(a)}};

View File

@@ -0,0 +1,11 @@
{
"id": "new-tab-default-page",
"name": "Default New Tab Page",
"version": "0.10.1",
"minAppVersion": "0.16.0",
"description": "Open a note of your choice when creating a new tab, like in the browser.",
"author": "pseudometa",
"fundingUrl": "https://ko-fi.com/pseudometa",
"authorUrl": "https://chris-grieser.de/",
"isDesktopOnly": false
}

View File

@@ -0,0 +1 @@

View File

@@ -13,13 +13,50 @@
"state": {
"type": "markdown",
"state": {
"file": "Computed/Computed.md",
"file": "README.md",
"mode": "source",
"source": false
}
}
},
{
"id": "9d5599b6c43cf899",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Templates/Weekly.md",
"mode": "source",
"source": false
}
}
},
{
"id": "9f2c5b6d909d99cb",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "_PARA/Archive/Archived Project/Archived Project.md",
"mode": "source",
"source": false
}
}
},
{
"id": "b903b7cd0086d222",
"type": "leaf",
"state": {
"type": "markdown",
"state": {
"file": "Templates/Quarterly.md",
"mode": "source",
"source": false
}
}
}
]
],
"currentTab": 3
}
],
"direction": "vertical"
@@ -86,7 +123,7 @@
"state": {
"type": "backlink",
"state": {
"file": "Computed/Computed.md",
"file": "Templates/Quarterly.md",
"collapseAll": false,
"extraContext": false,
"sortOrder": "alphabetical",
@@ -103,7 +140,7 @@
"state": {
"type": "outgoing-link",
"state": {
"file": "Computed/Computed.md",
"file": "Templates/Quarterly.md",
"linksCollapsed": false,
"unlinkedCollapsed": true
}
@@ -126,7 +163,7 @@
"state": {
"type": "outline",
"state": {
"file": "Computed/Computed.md"
"file": "Templates/Quarterly.md"
}
}
},
@@ -167,17 +204,17 @@
"templater-obsidian:Templater": false
}
},
"active": "5b35ae2562686366",
"active": "b903b7cd0086d222",
"lastOpenFiles": [
"_PARA/Archive/Archived Project/Archived Project.md",
"Templates/Quarterly.md",
"Templates/Weekly.md",
"Templates/Daily.md",
"_PARA/Projects/Projects.md",
"_PARA/Archive/Archive.md",
"_PARA/_PARA.md",
"_PARA/Projects/Test Project 2/Test Project 2.md",
"README.md",
"Inbox/Computer Capture/Computer Capture.md",
"Inbox/Smartphone Capture/Smartphone Capture.md",
"Inbox/Scratchpad.md",
"202212101656.md",
"Templates/Zettelkasten Note.md",
"202212101652.md",
"202212101648.md",
"Untitled.md",
"202212090136.md"
"_tests/Private.md"
]
}

View File

@@ -231,7 +231,7 @@ We can ease the "writers' block" of deciding which notes to upkeep by leveraging
The side benfit of all this work is that it publishable! Since a garden is a collection of linked and curated thoughts, a published garden serves as a public utility similar to maintained gardens in the real world. Visitors can meander around your thought garden, stopping to marvel at the hydraengeas, or beelining straight for the mini pagoda and water feature in the corner.
Later, we'll address how to seperate private and public, but for now, assume any note that you do the work to Zettelkasten, will eventually have some sort of public value.
Later, we'll address how to seperate private and public, but for now, assume any note that you do the work to Zettelkasten-ize, will eventually have some sort of public value.
Plugins:
- Publish
@@ -240,8 +240,56 @@ Plugins:
Related philosophies:
- Zettelkasten
- Content Management Systems
...
## An unexamined life is not worth living
**Daily journaling** is a *meta habit*, a habit that anyone can apply to their existing life at any point for an improved experience.
Journaling allows for reflection and revisitation of past thoughts and events, planning and decomposing future desires into attainable goals, and most importantly, journaling serves as a conduit for thought in the present.
The self-Socratic method undertaken by a journaling exercise is both a form of catharsis and a tool for unabated growth.
In BHOV-2023, **the dashboard is the daily note**. The daily note is the reflection of the driver, a trusted sidekick in the goings on of the day. In addition, thanks to Time Block Planning, BHOV-2023 has weekly and Quarterly notes as well, which are linked to the evolving daily note.
Leveleraging Templater and Periodic Notes, BHOV-2023 creates a flexible daily note template that can easily adapt to the owner's life.
Plugins:
- Templater
- Periodic Notes
- Dataview
- Tasks (optional)
- Map View (optional)
- iOS Shortcuts (optional)
- Default New Tab Page (optional)
## Jamming
In music production, **jamming** is getting together with some like minded individuals to create a creative output. The goal is to have fun and find a riff that everyone can groove to, and bring out the best in their instrument.
Obsidian is first and foremost a single player experience. There are ways to engage publicly, but many of these techniques are readonly.
Indeed, the best jamming sessions in Obsidian come from the notes that already exist in the vault. We can use random notes to surface and inspire thought, to break exisiting thought patterns and introduce new concepts into our line of thinking.
Plugins:
- Random Note
- Canvas
- Pinned Notes
## AGILE
In technology, **AGILE** is the process of splitting software development work into two week sprints.
The AGILE methodology pairs well with PARA and Time Block Planning because it forces us to prioritize elements of a project that can be delivered in two weeks.
In BHOV-2023, Weekly Notes highlight active projects, as well as when they were started to give a high level grasp of management. In the projects themselves, there is a `QuickAdd: Add to Project Kanban` option, allowing you to quickly add new to-do items to the project.
Quarterly notes track the opposite. The quarterly note tracks **how much was achieved in the quarter**.
Plugins:
- Dataview
- Templater
- Kanban
# Implementation
@@ -342,6 +390,7 @@ These plugins aren't needed, as some are QoL and others have a steep price tag a
- Map View
- [Shimmering Obsidian](https://github.com/chrisgrieser/shimmering-obsidian) (Alfred plugin)
- Full Calendar
- New Tab Default Page
- GPT-3 Summarizer
- Obsidian Linter
- Tag Wrangler
@@ -349,6 +398,11 @@ These plugins aren't needed, as some are QoL and others have a steep price tag a
...
### New Tab Default Page
[New Tab Default Page](obsidian://show-plugin?id=new-tab-default-page)...
## Migration Guide for Current Obsidian Users
...

0
Templates/Daily.md Normal file
View File

20
Templates/Quarterly.md Normal file
View File

@@ -0,0 +1,20 @@
# Finished Projects
```dataview
table file.ctime as "finished"
from "_PARA/Archive"
where date(completed) >= (date(now) - dur(84 days))
where file.name != "Scratchpad"
where file.name != "Kanban"
where file.name != "Archive"
where file.name != "Readwise Resources"
```

27
Templates/Weekly.md Normal file
View File

@@ -0,0 +1,27 @@
<< [[<% tp.date.now("YYYY") %>-W<% tp.date.now("WW") - -1%>]] | [[<% tp.date.now("YYYY") %>-W<% tp.date.now("WW") - -3 %>]] >>
Quarterly: [[<% tp.date.now('yyyy') %>-Q<% tp.date.now('MM') % 4 + 1 %>]]
# Retro
## What did I finish this week? (finished writings, finished art pieces, etc.)
## What lessons did I learn this week?
## What should I do differently next week?
## What still puzzles me?
## What appointments do I have for the upcoming week? Are there any appointments I need to make?
# Open Projects
```dataview
table file.ctime as "started"
from "_PARA/Projects"
where file.name != "Scratchpad"
where file.name != "Kanban"
where file.name != "Projects"
where file.name != "Readwise Resources"
```

View File

@@ -0,0 +1,6 @@
%% Begin Waypoint %%
- **[[Archived Project]]**
- [[Kanban]]
- [[Scratchpad]]
%% End Waypoint %%

View File

@@ -1,2 +1,6 @@
---
completed: 2022-12-10
---
*a project well done!*

View File

@@ -0,0 +1,8 @@
%% Begin Waypoint %%
- **[[2023 vault]]**
- **[[Test Project]]**
- [[Kanban]]
- [[Scratchpad]]
- **[[Test Project 2]]**
%% End Waypoint %%

View File

@@ -0,0 +1,5 @@
%% Begin Waypoint %%
- [[Kanban]]
- [[Scratchpad]]
%% End Waypoint %%

View File

@@ -2,11 +2,13 @@
> [!warning]
> Private notes should have a icon in front of them to show they will not propogate to [Obsidian Publish](https://obsidian.md/publish)
You should see the shh emoji (🤫) to the left of this private note -> [[Secret Note]]
You should see the shh emoji (🤫) to the left of this private note -> [[Secret Note]][^1]
You should **not** see the shh emoji (🤫) next to this public note -> [[Hello World]]
Daily Notes should also be kept private imo, but this is optional -- you should see a calendar emoji (📆) before a daily note -> [[2022-12-08]]
## Resources
[Link Icons Tutorial](https://youtu.be/uWyeJLWKXUI)
[Link Icons Tutorial](https://youtu.be/uWyeJLWKXUI)
[^1]: This sometimes breaks. Go into settings `ctrl-,` and click on "Supercharged Links" to see if this loads the style

View File

@@ -5,4 +5,5 @@
`alt-shift-f` -> [footnote](obsidian://show-plugin?id=obsidian-footnotes) insertion
`alt-shift-d` -> open daily note
`alt-shift-w` -> open weekly note
`alt-shift-q` -> open quarterly note
`alt-shift-q` -> open quarterly note
`ctrl-.` -> toggle pin note