Explorar o código

Add send-notification script

Samuel W. Flint %!s(int64=6) %!d(string=hai) anos
pai
achega
a5c0c8992c
Modificáronse 1 ficheiros con 8 adicións e 0 borrados
  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