Update sourcecode, add purr-c.

Use HTTPS links instead of SSH.

Rename old purr and meow to -old.
This commit is contained in:
Érico Rolim 2020-09-22 11:45:32 -03:00
parent 014a1979d4
commit 1c36164e3c
7 changed files with 12 additions and 7 deletions

11
.gitmodules vendored
View File

@ -6,13 +6,16 @@
url = https://github.com/vim-airline/vim-airline.git
[submodule "void/subprojects/git-merge-pr"]
path = sourcecode/subprojects/git-merge-pr
url = git@github.com:leahneukirchen/git-merge-pr.git
url = https://github.com/leahneukirchen/git-merge-pr.git
[submodule "sourcecode/subprojects/hugo.el"]
path = sourcecode/subprojects/hugo.el
url = git@github.com:aaronbieber/hugo.el.git
url = https://github.com/aaronbieber/hugo.el.git
[submodule "sourcecode/subprojects/fuzzypkg"]
path = sourcecode/subprojects/fuzzypkg
url = git@github.com:zdykstra/fuzzypkg.git
url = https://github.com/zdykstra/fuzzypkg.git
[submodule "sourcecode/subprojects/totp.sh"]
path = sourcecode/subprojects/totp.sh
url = git@github.com:richfelker/totp.sh.git
url = https://github.com/richfelker/totp.sh.git
[submodule "sourcecode/subprojects/purr-c"]
path = sourcecode/subprojects/purr-c
url = https://github.com/ericonr/purr-c.git

View File

@ -52,6 +52,7 @@ if [ "$SUBPROJECTS" ]; then
ln -sf "$PWD/subprojects/hugo.el/hugo.el" "$HOME/.config/doom/"
ln -sf "$PWD/subprojects/fuzzypkg/fuzzypkg" "$HOME/.local/bin"
ln -sf "$PWD/subprojects/totp.sh/totp.sh" "$HOME/.local/bin"
make -C subprojects/purr-c install PREFIX=$HOME/.local
fi
if [ "$MPV" ]; then

@ -1 +1 @@
Subproject commit fd57d775ab6ed5726e7d31e14c1c41d3e7dd9486
Subproject commit df373a8f23545c05d73857c904af1c865d364027

@ -1 +1 @@
Subproject commit 4759da4e208f3c9918862486ff0d7f870314c0cd
Subproject commit 71af8890d889b62fc186421f1f04793511626bf2

@ -0,0 +1 @@
Subproject commit e2df661750080489d94ae5af523fad2ed97b8cb1

View File

@ -4,6 +4,6 @@
key="$(openssl rand -hex 32)"
iv="$(openssl rand -hex 12)"
# calculate its encryption and upload it
url="$(openssl enc -aes-256-cbc -K ${key} -iv ${iv} -e -base64 -A < ${1:-/dev/stdin} | purr)"
url="$(openssl enc -aes-256-cbc -K ${key} -iv ${iv} -e -base64 -A < ${1:-/dev/stdin} | purr-old)"
printf '%s\n' "${url%\/*}/paste.html#${url##*\/}_${key}_${iv}"
[ "$WAYLAND_DISPLAY" ] && printf '%s' "${url%\/*}/paste.html#${url##*\/}_${key}_${iv}" | wl-copy