Improved project structure

This commit is contained in:
2021-03-07 17:40:20 +01:00
parent 0a6836a8e5
commit c7751c2cd2
40 changed files with 141 additions and 113 deletions

View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_pycharm() {
sudo snap install pycharm-community --classic
}

View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_simplenote() {
sudo snap install simplenote
}

View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_vscode() {
sudo snap install --classic code
}

9
common/apps/chrome.sh Normal file
View 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
common/apps/etcher.sh Normal file
View 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
}

5
common/apps/flameshot.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_flameshot() {
apt-get install flameshot -y
}

5
common/apps/git.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_git() {
sudo apt-get install git-all -y
}

View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_gnome_tweaks() {
sudo apt-get install gnome-tweaks -y
}

18
common/apps/lsd.sh Normal file
View 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
}

5
common/apps/ncdu.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_ncdu() {
sudo apt-get install ncdu -y
}

6
common/apps/neofetch.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_neofetch() {
sudo apt-get install neofetch -y
sudo echo "neofetch" >> /home/*/.bashrc
}

5
common/apps/stacer.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_stacer() {
sudo apt-get install stacer -y
}

8
common/apps/timeshift.sh Normal file
View 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
}

5
common/apps/trash-cli.sh Normal file
View File

@@ -0,0 +1,5 @@
#!/bin/bash
install_trash_cli() {
sudo apt-get install trash-cli -y
}

8
common/apps/ulauncher.sh Normal file
View 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
}

View File

@@ -0,0 +1,7 @@
#!/bin/bash
first_install() {
echo 'Installing:'
sudo apt-get install net-tools htop tree zip unzip-y
}

10
common/scripts/update.sh Normal file
View File

@@ -0,0 +1,10 @@
#!/bin/bash
update() {
echo 'Starting update:'
sudo apt-get update -y
echo 'Starting upgrade:'
sudo apt-get upgrade -y
echo 'Starting dist-upgrade:'
sudo apt-get dist-upgrade -y
}

View File

@@ -0,0 +1,5 @@
#!/bin/bash
fix_chrome_icons() {
sudo cp -r ~/.local/share/icons/hicolor/128x128/apps/* ~/.local/share/icons/Tela-circle-orange-dark/scalable/apps/
}

View File

@@ -0,0 +1,9 @@
#!/bin/sh
install_grub_theme() {
git clone https://github.com/vinceliuice/grub2-themes.git
cd grub2-themes
sudo ./install.sh -t $1 -s $2
cd ..
sudo rm -r grub2-themes
}

9
common/themes/orchis.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
install_orchis() {
git clone https://github.com/vinceliuice/Orchis-theme
cd Orchis-theme
./install.sh -t $1
cd ..
sudo rm -r Orchis-theme
}

View File

@@ -0,0 +1,9 @@
#!/bin/bash
install_tela_circle_icons() {
git clone https://github.com/vinceliuice/Tela-circle-icon-theme
cd Tela-circle-icon-theme
./install.sh -a
cd ..
sudo rm -r Tela-circle-icon-theme
}

View File

@@ -0,0 +1,9 @@
#!/bin/sh
install_vimix_cursors() {
git clone https://github.com/vinceliuice/Vimix-cursors
cd Vimix-cursors
./install.sh
cd ..
sudo rm -r Vimix-cursors
}