summaryrefslogtreecommitdiff
path: root/local/.local/scripts/todo
blob: a8cd7c5892c60dc4947fb02f05035a94d3f0f505 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#! /bin/bash

FILE=~/dox/toDos/$(date '+%B-%d').txt

if [ -f "$FILE" ]; then
    st -T 'ToDo' -g +390+210 -e nvim $FILE
else 
    echo '|'$(date '+%B-%d')'||' > $FILE
    echo -------------- >> $FILE
    st -T 'ToDo' -g +390+210 -e nvim $FILE
fi

#st -T 'ToDo' -g +390+210 -e vim ~/dox/toDos/$(date '+%B-%d').txt