sh_linux_installation_scripts/default/install.sh

51 lines
1.3 KiB
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 18:02:03 +01:00
sudo apt-get install net-tools htop tree zip unzip neofetch stacer gnome-tweaks trash-cli ncdu flameshot -y
2021-02-28 12:59:35 +01:00
sudo echo "neofetch" >> /home/*/.bashrc
2021-02-28 10:32:42 +01:00
sudo snap install simplenote
2021-02-28 10:33:37 +01:00
2021-03-04 12:30:32 +01:00
install_timeshift
2021-02-28 10:33:37 +01:00
install_ulauncher
install_chrome
install_lsd
2021-02-28 10:32:42 +01:00
}
2021-03-04 12:30:32 +01:00
install_timeshift() {
sudo add-apt-repository -y ppa:teejee2008/ppa
sudo apt-get update -y
sudo apt-get install timeshift -y
}
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 12:59:35 +01:00
sudo apt-get install chrome-gnome-shell -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_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 18:02:03 +01:00
wget https://github.com/Peltoche/lsd/releases/download/0.19.0/lsd_0.19.0_amd64.deb
sudo dpkg -i lsd_0.19.0_amd64.deb
sudo rm lsd_0.19.0_amd64.deb
2021-02-28 12:59:35 +01:00
sudo echo "alias ls='lsd'" >> /home/*/.bashrc
2021-02-28 09:43:12 +01:00
}