commit - c359a176006cceeb61a84b10ebac8fe807051bd0
commit + 77b17f0eaae76e53302887265aeb94fddeecd15d
blob - /dev/null
blob + bcd10b1118e0c3f7df269821362f229b660689ce (mode 755)
--- /dev/null
+++ .local/bin/signal-sticker-upload.sh
+#!/bin/sh
+
+# Assumes you have $SIGNAL_USER and $SIGNAL_PASS in environment. These have to be written to
+# a file for the signal-sticker-tool to work, as frustrating as that is.
+
+mkdir -p ~/.config/signal-sticker-tool && \
+echo -e "username: \"$SIGNAL_USER\"\npassword: \"$SIGNAL_PASS\"" > ~/.config/signal-sticker-tool/credentials.yaml && \
+uvx signal-sticker-tool upload; \
+rm -f ~/.config/signal-sticker-tool/credentials.yaml