Another copy of my dotfiles. Because I don't completely trust GitHub.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

31 lines
525 B

#!/bin/bash
echo "Please enter the location of image file (Press enter to skip this step): "
loc=$(fzf)
if [ -z "$loc" ]
then
echo "Continuing with the installation..."
exit
fi
mc cp -r yeet-dots/dotfiles/tools/* ~/.local/bin/
sudo chmod +x ~/.local/bin/*
~/.local/bin/jsteg reveal $loc > /tmp/out.zip.gpg
echo "Please enter your passphrase: "
gpg -d /tmp/out.zip.gpg > /tmp/out.zip
unzip /tmp/out.zip -d /tmp/keys
gpg --import /tmp/keys/gpg.key
mkdir -p ~/.ssh
chmod 700 ~/.ssh
cp /tmp/keys/id_* ~/.ssh