Skip to content

Commit a888546

Browse files
committed
add dotfiles repo with obsidian vault
1 parent 5b07264 commit a888546

File tree

8 files changed

+100
-17
lines changed

8 files changed

+100
-17
lines changed

content/posts/002-my-obsidian-setup/index.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
title: My obsidian setup
33
published: 2025-02-03T13:52:05+01:00
4-
modified: 2025-02-09T19:13:17+01:00
4+
modified: 2025-04-03T21:53:22+02:00
55
draft: false
66
description: Obsidian setup from programmer to other programmers. Description of structure, obsidian plugins and syncing method for multiple devices.
77
tags:
@@ -11,14 +11,17 @@ tags:
1111

1212
## Vault
1313

14+
You can try my obsidian vault, just download `.obsidian` folder and paste it into your vault.
15+
{{< github repo="solumath/dotfiles" >}}
16+
1417
### Structure
1518

1619
My main sorting relies on keeping files placed in proper folders with correct topics. This allows me to navigate manually through the folder tree. Here's an example of some of my folders:
1720

1821
- `Blog` — all my posts and associated materials
1922
- `Notes` — quick items I need to remember or work on later
2023
- `Daily posts` — ranging from daily tasks to dream journals
21-
- `Templates` — templates for Ocbsidian
24+
- `Templates` — templates for Obsidian
2225
- `OS` — configuration settings for multiple operating systems I use
2326
- Other topics ...
2427
```txt
@@ -113,7 +116,7 @@ Linting your files is necessary if you want to have structured formatting. Linte
113116
[Source](https://github.com/scambier/obsidian-omnisearch)
114117

115118
I can't stress how much this changes the way you can search for anything in your vault. Obsidian lacks native fuzzy search functionality. This however enables you to search anything and anywhere.
116-
Here is example how it works (gif from their official repository).
119+
Here is example how it works (gif from their official repository).
117120
![omnisearch example](images/omnisearch.gif)
118121

119122
### Shell-commands
@@ -123,12 +126,12 @@ Here is example how it works (gif from their official repository).
123126
Enables CLI command execution directly within Obsidian.
124127
I've setup multiple commands to streamline my workflow. Some of them you can see in the picture below. After you setup these commands. They are accessible using `CTRL + P` and their respective name.
125128
![example of shell commands](images/shell-commands.png)
126-
Feature I would like to highlight are `Preactions`.
129+
Feature I would like to highlight are `Preactions`.
127130

128131
These are customizable actions that are done before calling your command. For instance, when committing from Obsidian, I use Preactions to create customizable commit messages.
129132
![example of preaction](images/shell-commands-preaction.png)
130133

131-
Now i just need to type `CTRL + P` find name of my command e.g. `blog: deploy post` and this little window will pop up.
134+
Now i just need to type `CTRL + P` find name of my command e.g. `blog: deploy post` and this little window will pop up.
132135

133136
![commit message](images/shell-commands-commit-msg.png)
134137
{{< alert iconColor="#eed202" >}}
@@ -155,7 +158,7 @@ This minimal solution helps track post updates. Simply configure the property na
155158

156159
Now we get to the big deal. Having synchronisation between multiple devices is the most crucial thing anyone can imagine. I mean you don't want to manually download your notes every time you write something on your mobile or computer. That would be waste of time.
157160

158-
Options I found are `obsidian sync` and `syncthing`.
161+
Options I found are `obsidian sync` and `syncthing`.
159162

160163
## Obsidian Sync
161164

public/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -803,7 +803,7 @@ <h2 class="mt-8 text-2xl font-extrabold mb-10">Recent</h2>
803803
<div class="flex flex-row flex-wrap items-center">
804804

805805

806-
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-02-09T19:13:17&#43;01:00">Updated: 9 February 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1327 words</span><span class="px-2 text-primary-500">&middot;</span><span>
806+
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-04-03T21:53:22&#43;02:00">Updated: 3 April 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1351 words</span><span class="px-2 text-primary-500">&middot;</span><span>
807807

808808

809809

public/index.json

Lines changed: 1 addition & 1 deletion
Large diffs are not rendered by default.

public/posts/002-my-obsidian-setup/index.html

Lines changed: 85 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
<meta property="og:type" content="article">
7676
<meta property="article:section" content="posts">
7777
<meta property="article:published_time" content="2025-02-03T13:52:05+01:00">
78-
<meta property="article:modified_time" content="2025-02-09T19:13:17+01:00">
78+
<meta property="article:modified_time" content="2025-04-03T21:53:22+02:00">
7979
<meta property="article:tag" content="Obsidian">
8080
<meta property="article:tag" content="Obsidian-Plugin">
8181
<meta property="og:image" content="https://solumath.cz/posts/002-my-obsidian-setup/featured.jpg">
@@ -106,12 +106,12 @@
106106
"dateCreated": "2025-02-03T13:52:05\u002b01:00",
107107
"datePublished": "2025-02-03T13:52:05\u002b01:00",
108108

109-
"dateModified": "2025-02-09T19:13:17\u002b01:00",
109+
"dateModified": "2025-04-03T21:53:22\u002b02:00",
110110

111111
"keywords": ["obsidian","obsidian-plugin"],
112112

113113
"mainEntityOfPage": "true",
114-
"wordCount": "1327"
114+
"wordCount": "1351"
115115
}]
116116
</script>
117117

@@ -584,7 +584,7 @@ <h1 class="mt-0 text-4xl font-extrabold text-neutral-900 dark:text-neutral">
584584
<div class="flex flex-row flex-wrap items-center">
585585

586586

587-
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-02-09T19:13:17&#43;01:00">Updated: 9 February 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1327 words</span><span class="px-2 text-primary-500">&middot;</span><span>
587+
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-04-03T21:53:22&#43;02:00">Updated: 3 April 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1351 words</span><span class="px-2 text-primary-500">&middot;</span><span>
588588

589589

590590

@@ -1042,6 +1042,86 @@ <h2 class="relative group">Vault
10421042
</span>
10431043

10441044
</h2>
1045+
<p>You can try my obsidian vault, just download <code>.obsidian</code> folder and paste it into your vault.
1046+
<a id="github-e4144a40ce34c729e999e69be39e5a83" target="_blank" href="https://github.com/solumath/dotfiles" class="cursor-pointer">
1047+
<div
1048+
class="w-full md:w-auto pt-3 p-5 border border-neutral-200 dark:border-neutral-700 border rounded-md shadow-2xl">
1049+
1050+
<div class="flex items-center">
1051+
<span class="text-2xl text-neutral-800 dark:text-neutral" style="margin-right:10px;">
1052+
1053+
1054+
<span class="relative block icon">
1055+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 496 512"><path fill="currentColor" d="M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"/></svg>
1056+
1057+
</span>
1058+
1059+
1060+
</span>
1061+
<div
1062+
id="github-e4144a40ce34c729e999e69be39e5a83-full_name"
1063+
class="m-0 font-bold text-xl text-neutral-800 decoration-primary-500 hover:underline hover:underline-offset-2 dark:text-neutral">
1064+
solumath/dotfiles
1065+
</div>
1066+
</div>
1067+
1068+
<p id="github-e4144a40ce34c729e999e69be39e5a83-description" class="m-0 mt-2 text-md text-neutral-800 dark:text-neutral">
1069+
My Matrix in dotfiles.
1070+
</p>
1071+
1072+
<div class="m-0 mt-2 flex items-center">
1073+
1074+
<span class="mr-1 inline-block h-3 w-3 rounded-full"
1075+
style="background-color: #89e051"></span>
1076+
<div class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
1077+
Shell
1078+
</div>
1079+
1080+
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
1081+
1082+
1083+
<span class="relative block icon">
1084+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 576 512"><path fill="currentColor" d="M287.9 0C297.1 0 305.5 5.25 309.5 13.52L378.1 154.8L531.4 177.5C540.4 178.8 547.8 185.1 550.7 193.7C553.5 202.4 551.2 211.9 544.8 218.2L433.6 328.4L459.9 483.9C461.4 492.9 457.7 502.1 450.2 507.4C442.8 512.7 432.1 513.4 424.9 509.1L287.9 435.9L150.1 509.1C142.9 513.4 133.1 512.7 125.6 507.4C118.2 502.1 114.5 492.9 115.1 483.9L142.2 328.4L31.11 218.2C24.65 211.9 22.36 202.4 25.2 193.7C28.03 185.1 35.5 178.8 44.49 177.5L197.7 154.8L266.3 13.52C270.4 5.249 278.7 0 287.9 0L287.9 0zM287.9 78.95L235.4 187.2C231.9 194.3 225.1 199.3 217.3 200.5L98.98 217.9L184.9 303C190.4 308.5 192.9 316.4 191.6 324.1L171.4 443.7L276.6 387.5C283.7 383.7 292.2 383.7 299.2 387.5L404.4 443.7L384.2 324.1C382.9 316.4 385.5 308.5 391 303L476.9 217.9L358.6 200.5C350.7 199.3 343.9 194.3 340.5 187.2L287.9 78.95z"/></svg>
1085+
</span>
1086+
1087+
1088+
</span>
1089+
<div id="github-e4144a40ce34c729e999e69be39e5a83-stargazers" class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
1090+
0
1091+
</div>
1092+
1093+
<span class="text-md mr-1 text-neutral-800 dark:text-neutral">
1094+
1095+
1096+
<span class="relative block icon">
1097+
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 448 512"><path fill="currentColor" d="M80 104c13.3 0 24-10.7 24-24s-10.7-24-24-24S56 66.7 56 80s10.7 24 24 24zm80-24c0 32.8-19.7 61-48 73.3V192c0 17.7 14.3 32 32 32H304c17.7 0 32-14.3 32-32V153.3C307.7 141 288 112.8 288 80c0-44.2 35.8-80 80-80s80 35.8 80 80c0 32.8-19.7 61-48 73.3V192c0 53-43 96-96 96H256v70.7c28.3 12.3 48 40.5 48 73.3c0 44.2-35.8 80-80 80s-80-35.8-80-80c0-32.8 19.7-61 48-73.3V288H144c-53 0-96-43-96-96V153.3C19.7 141 0 112.8 0 80C0 35.8 35.8 0 80 0s80 35.8 80 80zm208 24c13.3 0 24-10.7 24-24s-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24zM248 432c0-13.3-10.7-24-24-24s-24 10.7-24 24s10.7 24 24 24s24-10.7 24-24z"/></svg>
1098+
</span>
1099+
1100+
1101+
</span>
1102+
<div id="github-e4144a40ce34c729e999e69be39e5a83-forks" class="m-0 mr-5 text-md text-neutral-800 dark:text-neutral">
1103+
0
1104+
</div>
1105+
1106+
</div>
1107+
1108+
</div>
1109+
<script>
1110+
fetch("https://api.github.com/repos/solumath/dotfiles", {
1111+
headers: new Headers({
1112+
'User-agent': 'Mozilla/4.0 Custom User Agent'
1113+
})
1114+
})
1115+
.then(response => response.json())
1116+
.then(data => {
1117+
document.getElementById('github-e4144a40ce34c729e999e69be39e5a83-full_name').innerHTML = data.full_name;
1118+
document.getElementById('github-e4144a40ce34c729e999e69be39e5a83-description').innerHTML = data.description;
1119+
document.getElementById('github-e4144a40ce34c729e999e69be39e5a83-stargazers').innerHTML = data.stargazers_count;
1120+
document.getElementById('github-e4144a40ce34c729e999e69be39e5a83-forks').innerHTML = data.forks;
1121+
})
1122+
.catch(error => console.error(error))
1123+
</script>
1124+
</a></p>
10451125

10461126

10471127
<h3 class="relative group">Structure
@@ -1059,7 +1139,7 @@ <h3 class="relative group">Structure
10591139
<li><code>Blog</code> — all my posts and associated materials</li>
10601140
<li><code>Notes</code> — quick items I need to remember or work on later</li>
10611141
<li><code>Daily posts</code> — ranging from daily tasks to dream journals</li>
1062-
<li><code>Templates</code> — templates for Ocbsidian</li>
1142+
<li><code>Templates</code> — templates for Obsidian</li>
10631143
<li><code>OS</code> — configuration settings for multiple operating systems I use</li>
10641144
<li>Other topics &hellip;</li>
10651145
</ul>

public/posts/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -907,7 +907,7 @@ <h2 class="mt-12 text-2xl font-bold text-neutral-700 first:mt-8 dark:text-neutra
907907
<div class="flex flex-row flex-wrap items-center">
908908

909909

910-
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-02-09T19:13:17&#43;01:00">Updated: 9 February 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1327 words</span><span class="px-2 text-primary-500">&middot;</span><span>
910+
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-04-03T21:53:22&#43;02:00">Updated: 3 April 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1351 words</span><span class="px-2 text-primary-500">&middot;</span><span>
911911

912912

913913

public/sitemap.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
</url>
1111
<url>
1212
<loc>https://solumath.cz/posts/002-my-obsidian-setup/</loc>
13-
<lastmod>2025-02-09T19:13:17+01:00</lastmod>
13+
<lastmod>2025-04-03T21:53:22+02:00</lastmod>
1414
<changefreq>daily</changefreq>
1515
<priority>0.5</priority>
1616
</url>

public/tags/obsidian-plugin/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -550,7 +550,7 @@ <h1 class="mt-5 text-4xl font-extrabold text-neutral-900 dark:text-neutral">Obsi
550550
<div class="flex flex-row flex-wrap items-center">
551551

552552

553-
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-02-09T19:13:17&#43;01:00">Updated: 9 February 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1327 words</span><span class="px-2 text-primary-500">&middot;</span><span>
553+
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-04-03T21:53:22&#43;02:00">Updated: 3 April 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1351 words</span><span class="px-2 text-primary-500">&middot;</span><span>
554554

555555

556556

public/tags/obsidian/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -767,7 +767,7 @@ <h1 class="mt-5 text-4xl font-extrabold text-neutral-900 dark:text-neutral">Obsi
767767
<div class="flex flex-row flex-wrap items-center">
768768

769769

770-
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-02-09T19:13:17&#43;01:00">Updated: 9 February 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1327 words</span><span class="px-2 text-primary-500">&middot;</span><span>
770+
<time datetime="2025-02-03T13:52:05&#43;01:00">3 February 2025</time><span class="px-2 text-primary-500">&middot;</span><time datetime="2025-04-03T21:53:22&#43;02:00">Updated: 3 April 2025</time><span class="px-2 text-primary-500">&middot;</span><span>1351 words</span><span class="px-2 text-primary-500">&middot;</span><span>
771771

772772

773773

0 commit comments

Comments
 (0)