Commit graph

6 commits

Author SHA1 Message Date
Marty Oehme 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
Marty Oehme 4b4afc68f3
task: Add taskopen action for links and note ext
Custom note extensions can be set and opened through annotating a task
with `Note.ext` instead of just the usual `Note` - the extension will
automatically be opened.

Additionally, tasks annotated with links can now have their links opened
through xdg-open with `to`.
2022-12-08 14:10:10 +01:00
Marty Oehme ac9a8c69ac
task: Add taskopen alias
Added alias within taskwarrior to invoke taskopen through
(unsurprisingly) `task open`. Importantly, the difference to other
taskwarrior commands is that the number of the task to open should come
AFTER the command, not before as a filter as for all the others. Perhaps
that can be changed in the future.
2022-12-08 14:10:10 +01:00
Marty Oehme 300bb572b3
task: Fix taskopen note naming regression
Fixed taskopen looking for `.txt` extension notes when so far we only
used `.md` extension notes instead. This switches it back.
2022-07-08 22:28:00 +02:00
Marty Oehme 5c41b2e13c
taskwarrior: Update config for taskopen 2.0 format
Updated the formatting of the taskopen configuration file to conform to
its new display.

Updated the xdg-conforming `taskopen` alias to use long-form option
since the short-form option seems bugged at the moment.
2022-06-12 16:02:04 +02:00
Marty Oehme f08c8ebefd
taskwarrior: Fix taskopen note directory location
Fixed error in configuration file location for taskopen alias which put
the config file instead of the notes directory.
Now configuration file correctly resides in
$XDG_CONFIG_HOME/task/taskopenrc and notes dir is
$XDG_DATA_HOME/task/notes.

Notes can now correctly be created by doing `task <id> annotate Note`.
2021-08-24 23:09:11 +02:00