changed files
This commit is contained in:
parent
fe3c2d1438
commit
4fad700d2b
6 changed files with 7 additions and 17 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -1,3 +1,4 @@
|
|||
bin/zunit
|
||||
bin/bronze
|
||||
lib/local/_zunit
|
||||
lib/bookmarks
|
||||
|
|
13
bin/nma
13
bin/nma
|
@ -1,16 +1,11 @@
|
|||
#!/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"
|
||||
curl -s -d "apikey=1e9cfe3bddab21f271b742eb04f9918a76ad0ef0333be7d3" -d "application=Server" -d "event=megumi.eeleater.org" --data-urlencode "description=$1" -d "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
|
||||
|
||||
echo "Not sent: $(xml sel -t -m "nma/error" -v "." "$out")"
|
||||
exit 1
|
||||
|
|
|
@ -1,4 +1,5 @@
|
|||
Host web
|
||||
ForwardX11 yes
|
||||
HostName megumi.eeleater.org
|
||||
User eeleater
|
||||
|
||||
|
|
|
@ -5,7 +5,7 @@ export DOTCONF="${DOTFILES}/config"
|
|||
export DOTCONFD="${DOTCONF}/zsh/config.d"
|
||||
|
||||
# Export Path
|
||||
export PATH="${DOTBIN}:/opt/android-sdk/build-tools/26.0.0:${PATH}"
|
||||
export PATH="${DOTBIN}:/opt/android-sdk/build-tools/26.0.1:${PATH}"
|
||||
|
||||
# Export Editor
|
||||
export EDITOR='nano'
|
||||
|
|
|
@ -1,5 +0,0 @@
|
|||
export DOTFILES="${HOME}/dotfiles"
|
||||
export DOTF_LIB="${DOTFILES}/lib"
|
||||
export DOTF_CONF="${DOTFILES}/config"
|
||||
export DOTF_BIN="${DOTFILES}/bin"
|
||||
export ZSHRCD="${DOTF_CON}/zsh/zshrc.d"
|
|
@ -1,2 +0,0 @@
|
|||
export PATH="${HOME}/dotfiles/bin:/opt/android-sdk/build-tools/26.0.0/:${HOME}/.fzf/bin:${PATH}"
|
||||
export EDITOR='nano'
|
Loading…
Add table
Reference in a new issue