From 5c64682e30d9d89a4a3aa6624fa9e477b3032110 Mon Sep 17 00:00:00 2001 From: Josh Lay Date: Thu, 20 Jun 2024 07:36:27 -0500 Subject: [PATCH] note-taker.sh: update comments --- outerheaven.init3.home/.local/bin/note-taker.sh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/outerheaven.init3.home/.local/bin/note-taker.sh b/outerheaven.init3.home/.local/bin/note-taker.sh index d52cc6f..085551b 100755 --- a/outerheaven.init3.home/.local/bin/note-taker.sh +++ b/outerheaven.init3.home/.local/bin/note-taker.sh @@ -1,8 +1,10 @@ #!/bin/bash -# with Sway on login, a Kitty session is started which runs *this* script -# provides a pane with an editor on notes for this week (and last) +# scripted note organizer/taker # -# my kitty session config: +# with Sway/on login, a Kitty session is started which runs *this* script +# provides a pane with an editor on notes for this week (and last) with tabs +# +# Kitty session config: # # ~/config/kitty/sessions/triplesplit.conf # layout tall # launch --location=hsplit --cwd=current bash @@ -31,8 +33,7 @@ LAST_WEEK_NAME=$(date -d '7 days ago' +%Y-week%V) # Construct the two note files to open in tabs as one array NOTE_PATHS=("$NOTE_DIR/$CURRENT_NOTE" "$NOTE_DIR/$LAST_WEEK_NAME") -# Use EDITOR variable or fallback to vim as default. -# If EDITOR contains "vim" (like nvim, vim, etc.), add tab arguments. +# Use EDITOR variable or fallback to vim as default. If contains "vim" (like {g,n,}vim and so on), add tab arguments. EDITOR="${EDITOR:-vim}" if [[ $EDITOR == *vim* ]]; then # Run the vim-like editor with tabs