feat(tasks): notes sync

This commit is contained in:
ayo 2026-07-11 14:38:05 +02:00
parent 0aa39b1c37
commit fd17cd4095
2 changed files with 3 additions and 1 deletions

2
ayo.sh
View file

@ -81,7 +81,9 @@ case $1 in
. ${scripts_dir}/notes.sh $@ . ${scripts_dir}/notes.sh $@
;; ;;
t | tasks) t | tasks)
. ${scripts_dir}/notes.sh sync
TASKS_HOME="${tasks_dir}" TASKS_TEMPLATE="${tasks_template}" ${scripts_dir}/tasks "${@:2}" TASKS_HOME="${tasks_dir}" TASKS_TEMPLATE="${tasks_template}" ${scripts_dir}/tasks "${@:2}"
. ${scripts_dir}/notes.sh sync
;; ;;
j | journal) j | journal)
. ${scripts_dir}/journal.sh "$@" . ${scripts_dir}/journal.sh "$@"

2
tasks
View file

@ -496,7 +496,7 @@ class TUI:
self.tasks = [] self.tasks = []
self.sel = 0 self.sel = 0
self.top = 0 self.top = 0
self.filter_status = "in-progress" # what you're actively working on, first self.filter_status = "next" # what's up next, first
self.sort_mode = 0 self.sort_mode = 0
self.msg = "" self.msg = ""
self.reload() self.reload()