MichaelAquilina / zsh-auto-notify

⏰ ZSH plugin that automatically sends out a notification when a long running task has completed.
GNU General Public License v3.0
415 stars 43 forks source link

FR: Chanify Integration #51

Open aidan-gibson opened 11 months ago

aidan-gibson commented 11 months ago

If you want, it would be super easy to integrate this with Chanify for push notifications. My fork here https://github.com/aidan-gibson/zsh-auto-notify/blob/master/auto-notify.plugin.zsh does that. All I did was change the notify-send line to curl --form-string "text=$title $body" "https://api.chanify.net/v1/sender/$CHAN" (you must have $CHAN set to your token). I did this real quick and dirty to work for me, but it could be done nicely also. Thanks for this plugin! Super handy.