This repository has been archived on 2021-11-23. You can view files and clone it, but cannot push or open issues or pull requests.
sh_multi_install/default/install.sh

43 lines
1.0 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 12:59:35 +01:00
sudo apt-get install net-tools htop tree zip unzip neofetch stacer gnome-tweaks trash-cli ncdu -y
touch /etc/profile.d/sh_edraft.sh
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
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 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 10:32:42 +01:00
sudo snap install lsd
2021-02-28 12:59:35 +01:00
sudo echo "alias ls='lsd'" >> /home/*/.bashrc
2021-02-28 09:43:12 +01:00
}