|
@ -25,7 +25,10 @@ usertest() { |
|
|
|
|
|
|
|
|
dev() { |
|
|
dev() { |
|
|
echo "Developer tools..." |
|
|
echo "Developer tools..." |
|
|
sudo snap install nvim --classic |
|
|
|
|
|
|
|
|
# install neovim through appimage (no snaps) |
|
|
|
|
|
sudo curl https://github.com/neovim/neovim/releases/download/v0.6.1/nvim.appimage -LJo "/usr/local/bin/nvim" |
|
|
|
|
|
sudo chmod +x "/usr/local/bin/nvim" |
|
|
|
|
|
# install nodejs (coc in neovim) |
|
|
sudo apt-get update -y && sudo apt-get install -y nodejs |
|
|
sudo apt-get update -y && sudo apt-get install -y nodejs |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
@ -53,12 +56,17 @@ sysinfo() { |
|
|
|
|
|
|
|
|
shell() { |
|
|
shell() { |
|
|
sudo apt install -y zsh |
|
|
sudo apt install -y zsh |
|
|
sudo snap install starship |
|
|
|
|
|
|
|
|
curl -sS https://starship.rs/install.sh | sh |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
browsers() { |
|
|
browsers() { |
|
|
sudo apt remove -y firefox |
|
|
sudo apt remove -y firefox |
|
|
sudo snap install brave |
|
|
|
|
|
|
|
|
# install brave |
|
|
|
|
|
sudo apt install apt-transport-https -y |
|
|
|
|
|
sudo curl -fsSLo /usr/share/keyrings/brave-browser-archive-keyring.gpg https://brave-browser-apt-release.s3.brave.com/brave-browser-archive-keyring.gpg |
|
|
|
|
|
echo "deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg arch=amd64] https://brave-browser-apt-release.s3.brave.com/ stable main"|sudo tee /etc/apt/sources.list.d/brave-browser-release.list |
|
|
|
|
|
sudo apt update -y |
|
|
|
|
|
sudo apt install brave-browser -y |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
torbrowser() { |
|
|
torbrowser() { |
|
@ -66,7 +74,17 @@ torbrowser() { |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
meetings() { |
|
|
meetings() { |
|
|
sudo snap install skype zoom-client |
|
|
|
|
|
|
|
|
mkdir -p "$HOME/repos" |
|
|
|
|
|
|
|
|
|
|
|
# install skype |
|
|
|
|
|
curl https://go.skype.com/skypeforlinux-64.deb -LJo "$HOME/repos/skypeforlinux.deb" |
|
|
|
|
|
sudo apt install "$HOME/repos/skypeforlinux.deb" -y |
|
|
|
|
|
|
|
|
|
|
|
# install zoom |
|
|
|
|
|
curl https://zoom.us/client/latest/zoom_amd64.deb -LJo "$HOME/repos/zoomus.deb" |
|
|
|
|
|
sudo apt install "$HOME/repos/zoomus.deb" -y |
|
|
|
|
|
|
|
|
|
|
|
# install mt |
|
|
sudo curl -LJ https://github.com/junikimm717/mt/releases/download/33627ab/mt -o /usr/local/bin/mt |
|
|
sudo curl -LJ https://github.com/junikimm717/mt/releases/download/33627ab/mt -o /usr/local/bin/mt |
|
|
sudo chmod +x /usr/local/bin/mt |
|
|
sudo chmod +x /usr/local/bin/mt |
|
|
} |
|
|
} |
|
@ -94,12 +112,13 @@ dotfiles() { |
|
|
|
|
|
|
|
|
competitiveprogramming() { |
|
|
competitiveprogramming() { |
|
|
echo "CP Compilers..." |
|
|
echo "CP Compilers..." |
|
|
sudo dnf install clang clang-tools-extra |
|
|
|
|
|
|
|
|
sudo apt install clang clang-tools-extra |
|
|
cd "$HOME" || exit 1; |
|
|
cd "$HOME" || exit 1; |
|
|
git clone https://git.junickim.me/junikimm717/linuxcp "$HOME/cp" |
|
|
git clone https://git.junickim.me/junikimm717/linuxcp "$HOME/cp" |
|
|
} |
|
|
} |
|
|
|
|
|
|
|
|
(usertest && dev && sysinfo && shell && browsers && torbrowser && meetings && plugins && dotfiles) || exit 1 |
|
|
|
|
|
|
|
|
#(usertest && dev && sysinfo && shell && browsers && torbrowser && meetings && plugins && dotfiles) || exit 1 |
|
|
|
|
|
(browsers) || exit 1 |
|
|
|
|
|
|
|
|
cat <<EOF |
|
|
cat <<EOF |
|
|
Stuff to do: |
|
|
Stuff to do: |
|
|