dotfiles/.config/fish/functions/push_tasks.fish

9 lines
313 B
Fish
Raw Normal View History

function push_tasks -d 'Push tasks as a notification to your phone'
2020-08-15 23:20:08 +00:00
set tasks (task +READY export |
jq 'sort_by(.urgency) |
reverse |
map(@text "\(.description)\nLink: \(.link)") |
join("\n\n")')
send_push $tasks
end