소스 검색

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