Improved scripts
This commit is contained in:
parent
3b655d3592
commit
b84635bbbf
9
apps/chrome.sh
Normal file
9
apps/chrome.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_chrome() {
|
||||||
|
echo 'Installing 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
|
||||||
|
sudo apt-get install chrome-gnome-shell -y
|
||||||
|
}
|
9
apps/etcher.sh
Normal file
9
apps/etcher.sh
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_etcher() {
|
||||||
|
echo 'Installing etcher:'
|
||||||
|
echo "deb https://deb.etcher.io stable etcher" | sudo tee /etc/apt/sources.list.d/balena-etcher.list
|
||||||
|
sudo apt-key adv --keyserver hkps://keyserver.ubuntu.com:443 --recv-keys 379CE192D401AB61
|
||||||
|
sudo apt update -y
|
||||||
|
sudo apt install balena-etcher-electron -y
|
||||||
|
}
|
18
apps/lsd.sh
Normal file
18
apps/lsd.sh
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_lsd() {
|
||||||
|
echo 'Installing 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
|
||||||
|
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
|
||||||
|
sudo echo "alias ls='lsd'" >>/home/*/.bashrc
|
||||||
|
}
|
8
apps/timeshift.sh
Normal file
8
apps/timeshift.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_timeshift() {
|
||||||
|
echo 'Installing timeshift:'
|
||||||
|
sudo add-apt-repository -y ppa:teejee2008/ppa
|
||||||
|
sudo apt-get update -y
|
||||||
|
sudo apt-get install timeshift -y
|
||||||
|
}
|
8
apps/ulauncher.sh
Normal file
8
apps/ulauncher.sh
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
#!/bin/bash
|
||||||
|
|
||||||
|
install_ulauncher() {
|
||||||
|
echo 'Installing ulauncher:'
|
||||||
|
sudo add-apt-repository ppa:agornostal/ulauncher
|
||||||
|
sudo apt-get update -y
|
||||||
|
sudo apt-get install ulauncher -y
|
||||||
|
}
|
@ -1,5 +1,11 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
|
source $PWD/apps/chrome.sh
|
||||||
|
source $PWD/apps/etcher.sh
|
||||||
|
source $PWD/apps/lsd.sh
|
||||||
|
source $PWD/apps/timeshift.sh
|
||||||
|
source $PWD/apps/ulauncher.sh
|
||||||
|
|
||||||
default_install() {
|
default_install() {
|
||||||
echo 'Installing:'
|
echo 'Installing:'
|
||||||
|
|
||||||
@ -8,43 +14,9 @@ default_install() {
|
|||||||
|
|
||||||
sudo snap install simplenote
|
sudo snap install simplenote
|
||||||
|
|
||||||
|
install_chrome
|
||||||
|
install_etcher
|
||||||
|
install_lsd
|
||||||
install_timeshift
|
install_timeshift
|
||||||
install_ulauncher
|
install_ulauncher
|
||||||
install_chrome
|
|
||||||
install_lsd
|
|
||||||
}
|
|
||||||
|
|
||||||
install_timeshift() {
|
|
||||||
sudo add-apt-repository -y ppa:teejee2008/ppa
|
|
||||||
sudo apt-get update -y
|
|
||||||
sudo apt-get install timeshift -y
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
sudo apt-get install chrome-gnome-shell -y
|
|
||||||
}
|
|
||||||
|
|
||||||
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
|
|
||||||
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
|
|
||||||
sudo echo "alias ls='lsd'" >> /home/*/.bashrc
|
|
||||||
}
|
}
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
source ./default/update.sh
|
source $PWD/default/update.sh
|
||||||
source ./default/install.sh
|
source $PWD/default/install.sh
|
||||||
|
|
||||||
update
|
update
|
||||||
default_install
|
default_install
|
||||||
|
Loading…
Reference in New Issue
Block a user