Browse Source

Add send-notification script

Samuel W. Flint 6 năm trước cách đây
mục cha
commit
a5c0c8992c
1 tập tin đã thay đổi với 8 bổ sung0 xóa
  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