From 67e7d711bede35495ee433268d9ac6be2b88fba6 Mon Sep 17 00:00:00 2001 From: xerus2000 <27jf@pm.me> Date: Thu, 7 Jan 2021 12:04:44 +0100 Subject: [PATCH] config: add intention prompt at login --- .config/jrnl/jrnl.yaml | 1 + .zprofile | 7 +++++++ 2 files changed, 8 insertions(+) diff --git a/.config/jrnl/jrnl.yaml b/.config/jrnl/jrnl.yaml index dc73b65..aa46b1f 100644 --- a/.config/jrnl/jrnl.yaml +++ b/.config/jrnl/jrnl.yaml @@ -11,6 +11,7 @@ highlight: true indent_character: '|' journals: default: ~/data/2-standards/notes/journal/jrnl.txt + intentions: ~/data/2-standards/notes/journal/intentions.txt nug: ~/data/2-standards/notes/journal/nugnug.txt linewrap: 99 tagsymbols: '@' diff --git a/.zprofile b/.zprofile index b77116d..7bad497 100644 --- a/.zprofile +++ b/.zprofile @@ -43,3 +43,10 @@ export FZF_CTRL_T_COMMAND="$FD_BASE -d 7" export CTEST_PROGRESS_OUTPUT=1 export CTEST_OUTPUT_ON_FAILURE=1 export CTEST_PARALLEL_LEVEL=3 + +if test -z "${DISPLAY}" && test "${XDG_VTNR}" -eq 1 ; then + echo "What do you want to do?" + read response + jrnl intentions "$response" + exec startx +fi