Configure jrnl

This commit is contained in:
xerus2000 2020-10-07 21:54:05 +02:00
parent a6cba4ae74
commit 03bbddea87
3 changed files with 23 additions and 1 deletions

View File

@ -98,6 +98,7 @@
add-git = !yadm add $XDG_CONFIG_HOME/git/config $CONFIG_SHELLS/git add-git = !yadm add $XDG_CONFIG_HOME/git/config $CONFIG_SHELLS/git
add-vim = !yadm add $XDG_CONFIG_HOME/nvim/init* add-vim = !yadm add $XDG_CONFIG_HOME/nvim/init*
add-shell = !yadm add $CONFIG_SHELLS add-shell = !yadm add $CONFIG_SHELLS
add-bin = !yadm add -u $HOME/.local/bin
[filter "lfs"] [filter "lfs"]
clean = git-lfs clean -- %f clean = git-lfs clean -- %f

21
.config/jrnl/jrnl.yaml Normal file
View File

@ -0,0 +1,21 @@
colors:
body: none
date: none
tags: none
title: none
default_hour: 0
default_minute: 0
editor: nvim
encrypt: false
highlight: true
indent_character: '|'
journals:
default: ~/daten/Dropbox/dokumente/notes/journal/jrnl.txt
life: ~/daten/Dropbox/dokumente/notes/journal/life.txt
nug: ~/daten/Dropbox/dokumente/notes/journal/nugnug.txt
work: ~/daten/Dropbox/dokumente/notes/journal/work.txt
linewrap: 79
tagsymbols: '@'
template: false
timeformat: '%Y-%m-%d %H:%M'
version: v2.4.5

View File

@ -3,7 +3,7 @@ p=$PWD
cd $HOME/daten/Dropbox/dokumente/notes cd $HOME/daten/Dropbox/dokumente/notes
loc=$1 loc=$1
case $1 in case $1 in
log|life) shift; file=journal/${1:-general}.txt; date +%F >>$file;; log|jrnl) shift; file=journal/${1:-jrnl}.txt;; #date +%F >>$file;;
idea) shift; file=ideas/${1:-README}.md;; idea) shift; file=ideas/${1:-README}.md;;
box) shift; file=box/$1.md;; box) shift; file=box/$1.md;;
write) shift; file=writings/$1.md;; write) shift; file=writings/$1.md;;