dotfiles/fish.configlink/functions/note-header.fish

5 lines
302 B
Fish
Raw Permalink Normal View History

function note-header
set -g CURRENT_WEATHER (curl -s "https://wttr.in/?format=1")
2021-11-18 04:02:29 +00:00
set -g JOURNAL_HEADER "[Yesterday]($YESTERDAY_NOTE.md) | [Home](../home.md) | [Today](obsidian://advanced-uri?daily=true) | [Tomorrow]($TOMORROW_NOTE.md)\n\n$LONG_DATE\n$CURRENT_WEATHER\n#journal\n\n---\n\n"
end