Commit graph

6 commits

Author SHA1 Message Date
a91f553f58
task: Add git-sync script hook
Synchronizes a git repository for the taskwarrior data directory,
automatically committing any changes after each command; and pushing and
pulling on syncing taskwarrior.
2024-02-04 21:26:13 +01:00
dfb9d7ff01
timewarrior: Add hash and plus to taskwarrior tags
Add a hash sign in front of 'project' tags received from
taskwarrior (i.e. where it is `project:something` it will
end up as #something in timewarrior.

Similarly, add a plus sign in front of tags: `+mytag`.
Only descriptions will be left as-is in translating from
taskwarrior to timewarrior.

This should make finding tags and projects specifically
much easier in timewarrior (e.g. for counting up the total
time spent on a single project).
2023-09-25 19:43:58 +02:00
5d2542db51
sync-mail: Warn user as part of prehook
If no hook should be run before syncing (or a user-defined hook) then
the warning should fall under that and not be run as part of it.

Additionally takes care of multiple decryption requirements in a row.
2023-02-25 17:11:00 +01:00
aefce1c498
office: Integrate neomutt and taskwarrior
The beginning of what I hope can be a useful integration: send mails to
taskwarrior as tasks and open the corresponding mail from tasks in
taskwarrior.

To make a task out of an e-mail, in neomutt, simply press `t` when the
mail is selected or opened. It will create an automatic task in
taskwarrior with the description "Reply to [mail] by [sender]" and tag
it as mail.
If you press `T` instead, you can give the task your own description and
tags.

In taskwarrior, you can simply `t open <taskid>` on a task that came
from neomutt to show the message content on the command line (using
notmuch). This is still a bit rudimentary and I would like an improved
display, but it works for now.
2022-12-08 21:31:15 +01:00
b534454a88
task: Integrate into office module
Since I am striving for closer connection between my task management, my
mail suite and my calendar appointments, it makes sense to unify all
'office' tasks into the single office module instead of keeping
taskwarrior outside of it.
2022-12-08 14:10:11 +01:00
03684ce29f
office: Rename mail module to office module
Reflecting the somewhat expanding scope of the module, renamed it to
office. Still keeps the old files and setups but also got a new README
file.
2022-12-08 13:43:44 +01:00