Improved project structure

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

View File

@ -1,2 +1,6 @@
# edraft_ubuntu_designs
sh-edraft Debian Installation scripts
Run scripts:
bash users/$USER/scripts/script.sh

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
}

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
}

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
}

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
}

View File

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

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
}

View File

@ -1,12 +0,0 @@
#!/bin/bash
source $PWD/apps/lsd.sh
default_install() {
echo 'Installing:'
sudo apt-get install net-tools htop tree zip unzip neofetch trash-cli ncdu -y
sudo echo "neofetch" >> /home/*/.bashrc
install_lsd
}

View File

@ -1,40 +0,0 @@
#!/bin/bash
install_theme() {
install_orchis
install_tela
install_vimix
install_grub_theme
}
install_orchis() {
git clone https://github.com/vinceliuice/Orchis-theme
cd Orchis-theme
./install.sh -t orange
cd ..
sudo rm -r Orchis-theme
}
install_tela() {
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
}
install_vimix() {
git clone https://github.com/vinceliuice/Vimix-cursors
cd Vimix-cursors
./install.sh
cd ..
sudo rm -r Vimix-cursors
}
install_grub_theme() {
git clone https://github.com/vinceliuice/grub2-themes.git
cd grub2-themes
sudo ./install.sh -t vimix -s 1080p
cd ..
sudo rm -r grub2-themes
}

View File

@ -1,7 +0,0 @@
#!/bin/bash
source $PWD/default/update.sh
source $PWD/default/install.sh
update
default_install

View File

@ -1,20 +0,0 @@
#!/bin/bash
source $PWD/apps/chrome.sh
source $PWD/apps/etcher.sh
source $PWD/apps/timeshift.sh
source $PWD/apps/ulauncher.sh
desktop_install() {
echo 'Installing:'
sudo apt-get install stacer gnome-tweaks flameshot -y
sudo snap install simplenote
install_timeshift
install_ulauncher
install_chrome
install_etcher
}

View File

@ -1,9 +0,0 @@
#!/bin/bash
source $PWD/default/update.sh
source $PWD/default/install.sh
source $PWD/desktop/install.sh
update
default_install
desktop_install

View File

@ -1,8 +0,0 @@
#!/bin/bash
software_dev_install() {
sudo snap install --classic code
sudo snap install pycharm-community --classic
sudo apt-get install git-all -y
}

View File

@ -1,7 +0,0 @@
#!/bin/bash
source ./default/update.sh
source ./software_dev/install.sh
update
software_dev_install

View File

@ -1,9 +0,0 @@
#!/bin/bash
source ./default/update.sh
source ./default/theme.sh
source ./default/chrome-icon-fix.sh
update
install_theme
fix_chrome_icons

View File

View File

View File

@ -0,0 +1,7 @@
#!/bin/bash
source $PWD/common/scripts/update.sh
source $PWD/common/scripts/first_install.sh
update
first_install

View File

@ -0,0 +1,7 @@
#!/bin/bash
source $PWD/common/scripts/update.sh
source $PWD/common/scripts/install.sh
update
default_install

View File

@ -0,0 +1,10 @@
#!/bin/bash
source $PWD/common/scripts/update.sh
source $PWD/common/apps/snap/pycharm.sh
source $PWD/common/apps/snap/vscode.sh
update
install_pycharm
install_vscode

View File

@ -0,0 +1,18 @@
#!/bin/bash
source $PWD/common/scripts/update.sh
source $PWD/common/themes/orchis.sh
source $PWD/common/themes/tela_circle_icons.sh
source $PWD/common/themes/vimix_cursors.sh
source $PWD/common/themes/grub_theme.sh
source $PWD/common/themes/chrome-icon-fix.sh
update
install_orchis orange
install_tela_circle_icons
install_vimix_cursors
install_grub_theme vimix 1080p
fix_chrome_icons