Browse Source

Add send-notification script

Samuel W. Flint 6 years ago
parent
commit
a5c0c8992c
1 changed files with 8 additions and 0 deletions
  1. 8 0
      send-notification

+ 8 - 0
send-notification

@@ -0,0 +1,8 @@
+#!/bin/sh
+
+twmnc "$1"
+curl -s \
+     -F "token=acioo737xpg83udi17sdsevmjox5eg" \
+     -F "user=u4wih2x18os74469f6zj9jggd7mbon" \
+     -F "message=\"$1\"" \
+     https://api.pushover.net/1/messages.json