diff options
author | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
---|---|---|
committer | Rasmus <rasmus.luha@gmail.com> | 2023-04-08 00:27:03 +0300 |
commit | a16bdfe930d89e1a7fb354b78d16e8742118f76d (patch) | |
tree | f32aabd929a485ac24ea2b3fb1c9c9d041f27478 /local/.local/scripts/todo |
checkers
Diffstat (limited to 'local/.local/scripts/todo')
-rwxr-xr-x | local/.local/scripts/todo | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/local/.local/scripts/todo b/local/.local/scripts/todo new file mode 100755 index 0000000..49066e1 --- /dev/null +++ b/local/.local/scripts/todo @@ -0,0 +1,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 |