PortValhalla/devices/ManuSurface/setup.sh

81 lines
2.2 KiB
Bash
Raw Normal View History

2022-11-12 03:11:53 +00:00
#!/bin/bash
dir="${BASH_SOURCE%/*}"
2023-01-12 15:00:32 +00:00
popOSRoot="$dir/../../scripts/PopOS"
2022-11-12 12:18:28 +00:00
softwareRoot="$popOSRoot/software"
2022-11-12 13:31:03 +00:00
cloudRoot="$popOSRoot/cloud-sync"
2022-11-12 03:11:53 +00:00
# Set Hostname
sudo hostnamectl set-hostname ManuSurface
# Preparation
sudo apt update
2022-11-13 00:00:23 +00:00
sudo apt upgrade -y
2022-11-14 21:22:59 +00:00
sudo apt install dbus-x11
2022-11-12 03:11:53 +00:00
2022-11-12 13:31:27 +00:00
# Install gnome extensions
source "$softwareRoot/gnome-extensions.sh"
# Sync clouds
source "$softwareRoot/rclone/install.sh"
2022-11-13 00:14:16 +00:00
{
gnome-terminal --tab --wait -- /bin/bash -c "source '$cloudRoot/nextcloud.sh'"
2022-11-12 13:31:27 +00:00
2022-11-13 00:14:42 +00:00
# Install fonts
2022-11-28 09:20:15 +00:00
source "$popOSRoot/custom-fonts.sh"
2022-11-16 19:39:32 +00:00
source "$softwareRoot/oh-my-posh.sh"
2022-11-13 00:14:42 +00:00
} &
2022-11-12 13:45:03 +00:00
2022-11-17 21:30:25 +00:00
# Install surface-linux
2022-11-12 12:18:28 +00:00
source "$popOSRoot/linux-surface.sh"
2022-11-16 17:56:35 +00:00
source "$popOSRoot/camera.sh"
2022-11-18 12:12:50 +00:00
source "$popOSRoot/secure-boot/install.sh"
2022-11-12 03:11:53 +00:00
# Install Brave
2022-11-12 12:18:28 +00:00
source "$softwareRoot/brave.sh"
source "$softwareRoot/brave-extensions.sh"
source "$softwareRoot/brave-beta.sh"
source "$softwareRoot/brave-nightly.sh"
2022-12-06 09:59:14 +00:00
source "$softwareRoot/chrome.sh"
2022-11-12 03:11:53 +00:00
# Install further software
source "$softwareRoot/logo-ls.sh"
2022-11-12 12:18:28 +00:00
source "$softwareRoot/codium.sh"
source "$softwareRoot/code.sh"
2022-11-17 07:28:49 +00:00
source "$softwareRoot/nodejs.sh"
2022-11-15 12:11:54 +00:00
source "$softwareRoot/java.sh"
2022-11-12 12:18:28 +00:00
source "$softwareRoot/tea.sh"
2022-11-17 09:18:13 +00:00
source "$softwareRoot/godot.sh"
source "$softwareRoot/virt-manager.sh"
source "$softwareRoot/woodpecker-cli.sh"
2022-11-12 03:11:53 +00:00
# Install other flatpaks
2022-11-13 00:00:23 +00:00
flatpak install -y flathub com.bitwarden.desktop
flatpak install -y flathub com.github.xournalpp.xournalpp
flatpak install -y flathub org.signal.Signal
flatpak install -y flathub com.usebottles.bottles
flatpak install -y flathub com.mattjakeman.ExtensionManager
flatpak install -y flathub com.github.wwmm.easyeffects
2022-11-21 07:51:15 +00:00
flatpak install -y flathub ch.threema.threema-web-desktop
2022-11-22 22:04:50 +00:00
flatpak install -y flathub app.ytmdesktop.ytmdesktop
flatpak install -y flathub com.github.tchx84.Flatseal
2022-11-12 03:11:53 +00:00
2022-12-06 09:59:21 +00:00
# Microsoft Windows Fonts
source "$popOSRoot/windows-fonts.sh"
2022-11-21 09:27:39 +00:00
# Install JetBrains Stuff
source "$softwareRoot/jetbrains-toolbox.sh"
2022-11-12 13:49:04 +00:00
# Install equalizer
source "$popOSRoot/equalizer/install.sh"
2022-11-14 21:24:46 +00:00
# Git config
git config --global user.name "Manuel Thalmann"
git config --global user.email "m@nuth.ch"
# Install General Packages from APT
source "$softwareRoot/apt-packages.sh"
# Troll Stuff
source "$softwareRoot/git-auf-deutsch.sh"