|
@@ -1,7 +1,7 @@
|
|
#!/bin/sh
|
|
#!/bin/sh
|
|
|
|
|
|
if [ $# -eq 2 ] ; then
|
|
if [ $# -eq 2 ] ; then
|
|
- twmnc -t "$2" -c "$1"
|
|
|
|
|
|
+ notify-send "${1}" "${2}"
|
|
curl -s \
|
|
curl -s \
|
|
-F "token=acioo737xpg83udi17sdsevmjox5eg" \
|
|
-F "token=acioo737xpg83udi17sdsevmjox5eg" \
|
|
-F "user=u4wih2x18os74469f6zj9jggd7mbon" \
|
|
-F "user=u4wih2x18os74469f6zj9jggd7mbon" \
|
|
@@ -9,7 +9,7 @@ if [ $# -eq 2 ] ; then
|
|
-F "title=\"$1\"" \
|
|
-F "title=\"$1\"" \
|
|
https://api.pushover.net/1/messages.json
|
|
https://api.pushover.net/1/messages.json
|
|
else
|
|
else
|
|
- twmnc -c ""$1
|
|
|
|
|
|
+ notify-send "${1}"
|
|
curl -s \
|
|
curl -s \
|
|
-F "token=acioo737xpg83udi17sdsevmjox5eg" \
|
|
-F "token=acioo737xpg83udi17sdsevmjox5eg" \
|
|
-F "user=u4wih2x18os74469f6zj9jggd7mbon" \
|
|
-F "user=u4wih2x18os74469f6zj9jggd7mbon" \
|