Fix Obsidian.nvim templates for daily notes

This commit is contained in:
Thomas Avé 2024-09-25 16:08:22 +02:00
parent 88bcb4dc5c
commit 6e4b916b81
3 changed files with 10 additions and 1 deletions

View File

@ -34,6 +34,7 @@ return {
overrides = { overrides = {
daily_notes = { daily_notes = {
folder = "Daily", folder = "Daily",
template = "Daily"
}, },
}, },
}) })
@ -49,6 +50,13 @@ return {
daily_notes = { daily_notes = {
folder = "." folder = "."
}, },
templates = {
folder = (os.getenv "HOME") .. "/Workspace/Notes/Templates",
-- date_format = "%Y-%m-%d",
date_format = "%B %-d, %Y",
time_format = "%H:%M",
substitutions = {},
},
disable_frontmatter = true, disable_frontmatter = true,
ui = { ui = {
hl_groups = { hl_groups = {

View File

@ -31,7 +31,7 @@
PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc"; PYTHONSTARTUP = "${config.xdg.configHome}/python/pythonrc";
SQLITE_HISTORY = "${config.xdg.cacheHome}/sqlite_history"; SQLITE_HISTORY = "${config.xdg.cacheHome}/sqlite_history";
WINEPREFIX = "${config.xdg.dataHome}/wine"; WINEPREFIX = "${config.xdg.dataHome}/wine";
XDG_CURRENT_DESKTOP = "GNOME"; # XDG_CURRENT_DESKTOP = "GNOME";
OPENCV_LOG_LEVEL = "ERROR"; OPENCV_LOG_LEVEL = "ERROR";
COLORTERM = "truecolor"; COLORTERM = "truecolor";
}; };

View File

@ -13,6 +13,7 @@
]; ];
home.packages = with pkgs; [ home.packages = with pkgs; [
libreoffice
telegram-desktop telegram-desktop
webcord webcord
devenv devenv