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

5 lines
221 B
Fish

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