This commit is contained in:
Tyler Starr 2023-03-11 15:20:55 -08:00
parent 22ec9f7a8c
commit 7da3674697
3 changed files with 19 additions and 1 deletions

View File

@ -18,3 +18,8 @@ bin
.config/i3
.config/polybar
{{ end }}
{{ if eq .chezmoi.os "android" }}
*
.config/nvim
{{ end }}

View File

@ -0,0 +1,13 @@
#!/bin/bash
if [[ $(task "$1" +grocery 2>&1) == "No matches." ]];
then
date_str=$(date +"_%Y%m%d_%H:%M:%S")
filename="$HOME/documents/warrior/fleeting/grocery${date_str}.md"
cp "$HOME/documents/warrior/templates/grocery.md" "${filename}"
task "$1" modify +grocery
task "$1" annotate "${filename}"
taskopen $1
else
taskopen $1
fi

@ -1 +1 @@
Subproject commit 13e3a09637512f39580cb1e731b6b2ff67b785ae
Subproject commit 86e36569ec416a413abeab952698c1848217e0b1