aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2022-11-27 08:09:17 -0300
committerEuAndreh <eu@euandre.org>2022-11-27 08:09:17 -0300
commitea8a9585ec7ee149d4c411bc45b05756cb4c8f65 (patch)
treed5343850616d4cb8c1bf352431b4863409963c84
parentMakefile: Make "cd + $(MAKE)" rules silent (diff)
downloaddotfiles-ea8a9585ec7ee149d4c411bc45b05756cb4c8f65.tar.gz
dotfiles-ea8a9585ec7ee149d4c411bc45b05756cb4c8f65.tar.xz
bin/{msg,tmp,xmpp}: Change euandreh.xyz -> euandre.org
-rwxr-xr-xbin/msg2
-rwxr-xr-xbin/tmp4
-rwxr-xr-xbin/xmpp8
3 files changed, 7 insertions, 7 deletions
diff --git a/bin/msg b/bin/msg
index b2a6794..0f9cced 100755
--- a/bin/msg
+++ b/bin/msg
@@ -125,7 +125,7 @@ MESSAGE="${1:-}"
if [ "$XMPP" = true ]; then
eval "$(assert-arg "$MESSAGE" '-X MESSAGE')"
- xmpp -m "$MESSAGE" eu@euandreh.xyz &
+ xmpp -m "$MESSAGE" eu@euandre.org &
fi
if [ "$SOUND" = true ]; then
sound &
diff --git a/bin/tmp b/bin/tmp
index 2dc0b48..5e64b66 100755
--- a/bin/tmp
+++ b/bin/tmp
@@ -49,8 +49,8 @@ for flag in "$@"; do
esac
done
-REMOTE='euandreh.xyz'
-DIR='/opt/www/euandreh.xyz/static/tmp'
+REMOTE='euandre.org'
+DIR='/srv/www/tmp'
while getopts 'dh' flag; do
case "$flag" in
d)
diff --git a/bin/xmpp b/bin/xmpp
index b08a783..50c55ba 100755
--- a/bin/xmpp
+++ b/bin/xmpp
@@ -26,9 +26,9 @@ Send a one-off XMPP message.
Examples:
- Send a message to eu@euandreh.xyz:
+ Send a message to eu@euandre.org:
- $ xmpp -m 'Hello, XMPP!' eu@euandreh.xyz"""
+ $ xmpp -m 'Hello, XMPP!' eu@euandre.org"""
class SendMsgBot(slixmpp.ClientXMPP):
def __init__(self, jid, password, on_start):
@@ -43,7 +43,7 @@ class SendMsgBot(slixmpp.ClientXMPP):
def main():
logging.basicConfig(level=logging.INFO)
- from_ = "bot@euandreh.xyz"
+ from_ = "bot@euandre.org"
message = ""
for s in sys.argv:
@@ -84,7 +84,7 @@ def main():
print(USAGE, file=sys.stderr)
sys.exit(2)
- passcmd = "pass show VPS/kuvira/XMPP/" + from_ + " | head -n1 | tr -d '\\n'"
+ passcmd = "pass show from_ | head -n1 | tr -d '\\n'"
password = os.popen(passcmd).read()
def on_start(self):