Last active
December 8, 2021 13:39
-
-
Save nrafter/657d5c55c6d90d28ca99ed923b203c31 to your computer and use it in GitHub Desktop.
live cd instascript
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rmmod pcspkr | |
echo '[xyne-any]' | sudo tee --append /etc/pacman.conf | |
echo 'SigLevel = Required' | sudo tee --append /etc/pacman.conf | |
echo 'Server = https://xyne.archlinux.ca/repos/xyne' | sudo tee --append /etc/pacman.conf | |
echo '[xyne-x86_64]' | sudo tee --append /etc/pacman.conf | |
echo 'SigLevel = Required' | sudo tee --append /etc/pacman.conf | |
echo 'Server = https://xyne.archlinux.ca/repos/xyne' | sudo tee --append /etc/pacman.conf | |
sudo pacman-mirrors --country United_States | |
sudo pacman -Sy chromium bauerbill --noconfirm | |
sudo timedatectl set-timezone America/New_York | |
sudo ntpdate -s time.nist.gov | |
#blackarch repos | |
curl -O https://blackarch.org/strap.sh && \ | |
sha1sum strap.sh && \ | |
chmod +x strap.sh && \ | |
sudo ./strap.sh | |
#archstrike repos | |
echo '[archstrike]' | sudo tee --append /etc/pacman.conf | |
echo 'Server = https://mirror.archstrike.org/$arch/$repo' | sudo tee --append /etc/pacman.conf | |
if sudo pacman -Syy; then | |
sudo pacman-key --init | |
sudo dirmngr < /dev/null | |
sudo pacman-key -r 9D5F1C051D146843CDA4858BDE64825E7CBC0D51 | |
sudo pacman-key --lsign-key 9D5F1C051D146843CDA4858BDE64825E7CBC0D51 | |
sudo pacman -S archstrike-keyring --noconfirm | |
sudo pacman -S archstrike-mirrorlist --noconfirm | |
sudo sed -i 's/Server = https://mirror.archstrike.org\/$arch\/$repo/Include = \/etc\/pacman.d\/archstrike-mirrorlist/' | |
sudo pacman -Syy | |
fi | |
bb-wrapper -S \ | |
kitty \ | |
gnupg \ | |
archlinux-keyring \ | |
manjaro-keyring \ | |
zsh \ | |
tor \ | |
bettercap \ | |
otf-fira-code \ | |
ttf-fira-code \ | |
mitmproxy \ | |
scapy \ | |
yay \ | |
nodejs \ | |
npm \ | |
fd \ | |
flameshot \ | |
ripgrep --noconfirm | |
bb-wrapper -S fluxion --noconfirm | |
yay -S vundle --noconfirm | |
sed -i 's/bindsym $mod+Return exec terminal/bindsym $mod+Return exec kitty/' ~/.i3/config && i3-msg restart | |
sed -i 's/font_family Operator Mono Book/font_family Fira Code/' ~/.config/kitty/kitty.conf | |
sed -i 's/# font_size 11.0/font_size 9.0/' ~/.config/kitty/kitty.conf | |
echo "opacity-rule = [\"75:class_g = 'kitty'\"];" >> ~/.config/compton.conf && killall -USR1 compton | |
#vim and tmux configs | |
git clone https://github.com/square/maximum-awesome ~/maximum-awesome; cd maximum-awesome && for f in v*; do cp -r -f -v -- "$f" "/home/manjaro/.$f"; done && for f in t*; do cp -r -f -v -- "$f" "/home/manjaro/.$f"; done; cd ~ | |
vim +PluginInstall +qall | |
#####todo: not completed yet, supposed to be code for a timer | |
#sudo pacman -S go --noconfirm | |
#go get github.com/claudiodangelis/i3-timer | |
#oh-my-zsh | |
sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment