taskopen: Fix expansion using environment var
This commit is contained in:
parent
6cf34a5aee
commit
dac7e7deee
1 changed files with 2 additions and 2 deletions
|
@ -5,10 +5,10 @@ path_ext = /usr/share/taskopen/scripts
|
||||||
|
|
||||||
[Actions]
|
[Actions]
|
||||||
note_custom_ext.regex = "^Note\\.(.*)"
|
note_custom_ext.regex = "^Note\\.(.*)"
|
||||||
note_custom_ext.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.$LAST_MATCH"
|
note_custom_ext.command = "$EDITOR ${XDG_DATA_HOME:-$HOME/.local/share}/task/notes/$UUID.$LAST_MATCH"
|
||||||
|
|
||||||
notes.regex = "^Note"
|
notes.regex = "^Note"
|
||||||
notes.command = "$EDITOR ${XDG_DATA_HOME:-~/.local/share}/task/notes/$UUID.md"
|
notes.command = "$EDITOR ${XDG_DATA_HOME:-$HOME/.local/share}/task/notes/$UUID.md"
|
||||||
|
|
||||||
links.regex = "^https?://"
|
links.regex = "^https?://"
|
||||||
links.command = "xdg-open $FILE"
|
links.command = "xdg-open $FILE"
|
||||||
|
|
Loading…
Reference in a new issue