trimmed some stuff and reorganized the dotfiles
This commit is contained in:
parent
3f5e822fb3
commit
5024639019
28 changed files with 375 additions and 174 deletions
16
lib/bin/nma
16
lib/bin/nma
|
@ -1,16 +0,0 @@
|
|||
#!/bin/bash
|
||||
|
||||
out=$(mktemp /tmp/nma.XXXXXXXX)
|
||||
|
||||
curl --silent --data-ascii "apikey=1e9cfe3bddab21f271b742eb04f9918a76ad0ef0333be7d3" \
|
||||
--data-ascii "application=Server" --data-ascii "event=megumi.eeleater.org" \
|
||||
--data-asci "description=$1" --data-asci "priority=0" \
|
||||
"https://www.notifymyandroid.com/publicapi/notify" -o "$out"
|
||||
|
||||
if test $(xml sel -t -m "nma/success" -v "@code" "$out") == "200"; then
|
||||
echo "Sent"
|
||||
exit 0
|
||||
else
|
||||
echo "Not sent: $(xml sel -t -m "nma/error" -v "." "$out")"
|
||||
exit 1
|
||||
fi
|
|
@ -1 +0,0 @@
|
|||
Subproject commit 7ea915837f7ca3227fe6ca8e8420e1ec2ae638e0
|
1
lib/dotbot
Submodule
1
lib/dotbot
Submodule
|
@ -0,0 +1 @@
|
|||
Subproject commit 847cb101d486319da882f958b1cb58b515cc6db2
|
1
lib/k
1
lib/k
|
@ -1 +0,0 @@
|
|||
Subproject commit 1fa7c039d40684d39cb225599bda4a86a62e765d
|
1
lib/util
1
lib/util
|
@ -1 +0,0 @@
|
|||
Subproject commit 2d69cda49b1f15b3026f2de0b7178f63b37b8b33
|
Loading…
Add table
Add a link
Reference in a new issue