Configure jrnl
This commit is contained in:
parent
a6cba4ae74
commit
03bbddea87
|
@ -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
|
||||||
|
|
|
@ -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
|
|
@ -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;;
|
||||||
|
|
Loading…
Reference in New Issue