Marty Oehme
4b4afc68f3
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`.
17 lines
397 B
Text
17 lines
397 B
Text
[General]
|
|
EDITOR = nvim
|
|
taskbin = task
|
|
path_ext = /usr/share/taskopen/scripts
|
|
|
|
[Actions]
|
|
note_custom_ext.regex = "^Note\\.(.*)"
|
|
note_custom_ext.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.$LAST_MATCH"
|
|
|
|
notes.regex = "^Note"
|
|
notes.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.md"
|
|
|
|
links.regex = "^https?://"
|
|
links.command = "xdg-open $FILE"
|
|
|
|
[CLI]
|
|
|