!/usr/bin/fish
echo 'wl-copy hut.key
then
Run hut init
in another terminal - 15 sec delay'
sleep 15
mkdir -pv ~/.ssh
ssh-keyscan -t ed25519,ecdsa,rsa github.com >> ~/.ssh/known_hosts
ssh-keyscan -t ed25519,ecdsa git.sr.ht >> ~/.ssh/known_hosts
ssh-keygen -t ed25519 -N '' -f ~/.ssh/id_ed25519
hut meta ssh-key create
git init
git remote add origin [email protected]:~vyryls/eos-sway
git fetch
git checkout -f master
sleep 3
add github/gitlab ssh keys
gh ssh-key add ~/.ssh/id_ed25519.pub -t $hostname
glab ssh-key add ~/.ssh/id_ed25519.pub -t $hostname
aur binaries
paru -S --needed gallery-dl-bin ttf-twemoji gomuks-bin wlsunset
echo "Open Firefox to enable Tridactyl native messaging..."
sleep 5
native messaging firefox
curl -fsSl https://raw.githubusercontent.com/tridactyl/native_messenger/master/installers/install.sh -o /tmp/trinativeinstall.sh && sh /tmp/trinativeinstall.sh 1.23.0
cp user.js to firefox profiles
cp -v ~/.config/user.js .mozilla/firefox/default/
doas pkgfile -u
fish_update_completions
echo 'Creating ~/Git directory..'
mkdir -v ~/Git
echo "Done!"