sh_linux_installation_scripts/default/install.sh
2021-02-28 12:17:27 +01:00

41 lines
939 B
Bash

#!/bin/bash
default_install() {
echo 'Installing:'
sudo apt-get install net-tools htop tree zip unzip neofetch -y
sudo apt-get install stacer -y
sudo snap install simplenote
install_ulauncher
install_chrome
install_lsd
}
install_ulauncher() {
sudo add-apt-repository ppa:agornostal/ulauncher
sudo apt-get update -y
sudo apt-get install ulauncher -y
}
install_chrome() {
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
sudo dpkg -i ./google-chrome-stable_current_amd64.deb
rm google-chrome-stable_current_amd64.deb
}
install_lsd() {
mkdir hack
cd hack
wget https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/Hack.zip
unzip Hack.zip
cd ..
sudo cp -r hack /usr/share/fonts/
sudo chmod -R 775 /usr/share/fonts/hack
rm -r hack
sudo snap install lsd
sudo echo "alias ls='lsd'" >> /etc/bash.bashrc
}