Moved files and created cpl workspace

This commit is contained in:
2021-10-04 10:49:34 +02:00
parent e68bd9b8be
commit 995a80cfe3
66 changed files with 338 additions and 36 deletions

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_barrier() {
echo "Installing barrier"
sudo apt-get install barrier -y
}

6
old/common/apps/boxes.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_boxes() {
echo "Installing gnome-boxes"
sudo apt-get install gnome-boxes -y
}

View File

@@ -0,0 +1,9 @@
#!/bin/bash
install_chrome() {
echo 'Installing Google 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
}

View File

@@ -0,0 +1,7 @@
#!/bin/bash
install_discord() {
echo 'Installing Discord'
wget -O discord.deb "https://discordapp.com/api/download?platform=linux&format=deb"
sudo dpkg -i discord.deb
}

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
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_flameshot() {
echo "Installing Flameshot"
sudo apt-get install flameshot -y
}

6
old/common/apps/geary.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_geary() {
echo "Installing geary"
sudo apt-get install geary -y
}

6
old/common/apps/git.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_git() {
echo "Installing git"
sudo apt-get install git -y
}

View File

@@ -0,0 +1,8 @@
#!/bin/bash
install_gnome_shell() {
echo 'Installing gnome-shell'
if [ $1 == "chrome" ]; then
sudo apt-get install chrome-gnome-shell -y
fi
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_gnome_tweaks() {
echo "Installing Gnome-Tweaks"
sudo apt-get install gnome-tweaks -y
}

6
old/common/apps/gpick.sh Normal file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_gpick() {
echo "Installing gpick"
sudo apt-get install gpick -y
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_kcolorchooser() {
echo "Installing kcolorchooser"
sudo apt-get install kcolorchooser -y
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_keepassxc() {
echo "Installing keepassxc"
sudo apt-get install keepassxc -y
}

24
old/common/apps/lsd.sh Normal file
View File

@@ -0,0 +1,24 @@
#!/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
# echo "alias ls='lsd'" | sudo tee -a /home/*/.bashrc > /dev/null
# todos
# write py script to comment line: alias="ls --color=auto"
# echo "alias ls='lsd'" | sudo tee -a /etc/bash.bashrc > /dev/null
echo "
alias ls='lsd'
" | sudo tee -a /etc/bash.bashrc > /dev/null
}

6
old/common/apps/ncdu.sh Normal file
View File

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

View File

@@ -0,0 +1,12 @@
#!/bin/bash
install_neofetch() {
echo "Installing neofetch"
sudo apt-get install neofetch -y
echo '
if [ $USER != "root" ]; then
echo ""
neofetch
fi
' | sudo tee -a /etc/bash.bashrc > /dev/null
}

View File

@@ -0,0 +1,8 @@
#!/bin/bash
install_nextcloud() {
echo "Installing Nextcloud client"
sudo add-apt-repository ppa:nextcloud-devs/client
sudo apt-get update
sudo apt-get install nextcloud-client -y
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_signal() {
echo "Installing signal-desktop "
sudo apt-get install signal-desktop -y
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_pycharm() {
echo "Installing Pycharm"
sudo snap install pycharm-community --classic
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_simplenote() {
echo "Installing Simplenote"
sudo snap install simplenote
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
install_stacer() {
echo "Installing Stacer"
sudo apt-get install stacer -y
}

View File

@@ -0,0 +1,11 @@
#!/bin/bash
install_sublime_text() {
echo "Installing sublime-text"
wget -qO - https://download.sublimetext.com/sublimehq-pub.gpg | sudo apt-key add -
sudo apt-get install apt-transport-https -y
sudo add-apt-repository "deb https://download.sublimetext.com/ apt/stable/"
sudo apt-get update
sudo apt-get install sublime-text -y
}

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
}

View File

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

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,9 @@
#!/bin/bash
install_vscode() {
echo "Installing VS Code"
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
sudo add-apt-repository "deb [arch=amd64] https://packages.microsoft.com/repos/vscode stable main"
sudo apt-get update
sudo apt-get install code -y
}

View File

@@ -0,0 +1,6 @@
#!/bin/bash
first_install() {
echo 'Installing useful apps'
apt-get install net-tools dnsutils nano htop iftop tree zip unzip curl wget sudo -y
}

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/bash
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
}

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/bash
install_vimix_cursors() {
git clone https://github.com/vinceliuice/Vimix-cursors
cd Vimix-cursors
./install.sh
cd ..
sudo rm -r Vimix-cursors
}