sh_linux_installation_scripts/default/install.sh

41 lines
939 B
Bash
Raw Normal View History

2021-02-28 09:43:12 +01:00
#!/bin/bash
default_install() {
echo 'Installing:'
2021-02-28 10:32:42 +01:00
2021-02-28 10:12:36 +01:00
sudo apt-get install net-tools htop tree zip unzip neofetch -y
sudo apt-get install stacer -y
2021-02-28 10:32:42 +01:00
sudo snap install simplenote
2021-02-28 10:33:37 +01:00
install_ulauncher
install_chrome
install_lsd
2021-02-28 10:32:42 +01:00
}
install_ulauncher() {
2021-02-28 09:43:12 +01:00
sudo add-apt-repository ppa:agornostal/ulauncher
sudo apt-get update -y
sudo apt-get install ulauncher -y
2021-02-28 10:32:42 +01:00
}
2021-02-28 09:43:12 +01:00
2021-02-28 10:32:42 +01:00
install_chrome() {
2021-02-28 09:43:12 +01:00
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
2021-02-28 10:32:42 +01:00
}
2021-02-28 09:43:12 +01:00
2021-02-28 10:32:42 +01:00
install_lsd() {
2021-02-28 12:09:17 +01:00
mkdir hack
2021-02-28 12:02:57 +01:00
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/
2021-02-28 12:17:27 +01:00
sudo chmod -R 775 /usr/share/fonts/hack
2021-02-28 12:02:57 +01:00
rm -r hack
2021-02-28 10:32:42 +01:00
sudo snap install lsd
2021-02-28 12:17:27 +01:00
sudo echo "alias ls='lsd'" >> /etc/bash.bashrc
2021-02-28 09:43:12 +01:00
}