瀏覽代碼

Add send-notification script

Samuel W. Flint 6 年之前
父節點
當前提交
a5c0c8992c
共有 1 個文件被更改,包括 8 次插入0 次删除
  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