Marty Oehme
4cc03a611a
Simple wrapper for xdg-open functionality. Simply refers to xdg-open except if there exists mimeo on the system which it will refer to instead. So, a simple preference modificator for mimeo over xdg-open since that is my preference too. Also gave it a short name so I can do open whenever I want and don't have to tax my left hand with tying xdg.
20 lines
476 B
Text
20 lines
476 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:-$HOME/.local/share}/task/notes/$UUID.$LAST_MATCH"
|
|
|
|
notes.regex = "^Note"
|
|
notes.command = "$EDITOR ${XDG_DATA_HOME:-$HOME/.local/share}/task/notes/$UUID.md"
|
|
|
|
links.regex = "^https?://"
|
|
links.command = "open $FILE"
|
|
|
|
mail.regex = "^<.*@.*>$"
|
|
mail.command = "notmuch show mid:${FILE:1:-1}"
|
|
|
|
[CLI]
|
|
|