Commit graph

12 commits

Author SHA1 Message Date
Marty Oehme 14896e6292
taskwarrior: Make auto-sync script silent
Now silently syncs in the background instead of blocking input. *May*
produce zombie processes in rare circumstances? Will need to investigate
it some more.

Behind the scenes, the shell script has been replaced by a python script
which creates a (disowned) background process which attempts the
syncing.
2021-07-10 18:04:14 +02:00
Marty Oehme c578a1bebc
taskwarrior: Add auto-syncing script
Let taskwarrior automatically sync any changed tasks whenever a process
is completed.
Will sync 'asynchronously' (start the job as a terminal background
process) and show the sync message after it is done.
2021-07-09 22:23:08 +02:00
Marty Oehme dd71bd5002
taskwarrior: Added completed today report
Added a report to look at the tasks I completed over the past day,
invoked by `today.completed`. The name was chosen to interact well with
my `today` overview report which shows the remaining tasks.

Also defaulted to the built-in solarized dark theme since it seems to
work best with a variety of color schemes -- and since I switch
frequently using styler, it makes sense to default to this one.
2021-04-18 12:57:04 +02:00
Marty Oehme feb13b3734
taskwarrior: Remove default context
No context should be set on cloning this repo, instead contexts are
entered and exited as wished by the user.
2021-04-04 21:00:40 +02:00
Marty Oehme e2b82b56f9
taskwarrior: Add contexts, Fix completions
Fixed the completions for the `t` alias that takes over task
functionality on the shell. Only works on zsh, and presumably not on
every system since it relies on some ps trickery to find out the
currently running shell. Maybe there's a better version out there
somewhere...

Added basic distinction into work/personal contexts, since, with my
current job having a complex enough task list I want that either not
cluttering up my enjoyable tasks, or *only* that cluttering up all my
tasks.
2021-03-27 22:15:45 +01:00
Marty Oehme 89c0ea8d00
taskwarrior: Add tasksh review data to entries
Added `reviewed` label to entries as uda, and the new auto-generated
report of reviewed files to enable GTD weekly reviews.
2021-03-20 09:03:48 +01:00
Marty Oehme b8388bf8fd
taskwarrior: Final small configuration fixes
Gave a description to the created report,
Made (GTD) maybe items way less important,
and changed colors slightly.
2021-03-05 13:57:26 +01:00
Marty Oehme 79735f9bae
taskwarrior: Add taskserver sync target
Added freecinc target for syncing tasks over the web.
Using freecinc is easy and relatively painless, which is why, for now,
this is the syncing server I have chosen.

Once the taskwarrior workflow in this setup matures and stabilizes a bit
the syncing target should undoubtedly move to a self-hosted instance of
taskserver, ideally encrypted.

Until then, the tasks currently available will exist *unencrypted* on
the freecinc server.
2021-02-19 16:54:40 +01:00
Marty Oehme ff6965ef91
taskwarrior: Add today report, fix overdue report
Simple today report added, mimicking the overall next report list (i.e.
sorted by urgency), but only focusing on things due today. This reflects
my setup in Todoist a bit better, and should perhaps provide a bit of a
crutch until I get more used to the taskwarrior way of doing things.

Additionally, added a simple fix for the annoying tendency of
taskwarrior to add today's tasks to its overdue list.
This happens because tasks added without a specific time will be added
as due at the very *first* minute of a day (instead of e.g. at the very
last, every task needs an exact time).
This simply removes tasks due today from overdue reports.

This is not perfect! Two things remain: Tasks still carry the virtual
`+OVERDUE` tag around with them, and those tags that actually should be
done at a certain time during the day will also not be shown in the
overdue report - though they definitely are overdue then.

A possible workaround for the second issue is the taskwarrior hook here:
https://gitlab.com/marty-oehme/dotfiles/-/snippets/2054237
But, I am happy enough with the setup as-is for now, without
complicating it with the hook.
2021-02-19 16:54:39 +01:00
Marty Oehme 489e49fe5e
taskwarrior: Add conditional tasksh invocation
To use taskwarrior, an alias to `t` has been created. If you invoke any
taskwarrior command through `t`, it will behave just as taskwarrior
would (just with a shorter name).
If you invoke `t` without any additional arguments, it will instead open
up the tasksh program and let you play around in there.
2021-02-19 16:54:39 +01:00
Marty Oehme ed881273b8
taskwarrior: Move xdg env variable to module 2021-02-19 16:54:39 +01:00
Marty Oehme 0efb28c473
taskwarrior: Add basic taskrc file 2021-02-19 16:54:39 +01:00