PortValhalla/ManuSurface/setup.sh

65 lines
1.7 KiB
Bash
Executable file

#!/bin/bash
dir="${BASH_SOURCE%/*}"
popOSRoot="$dir/../scripts/PopOS"
softwareRoot="$popOSRoot/software"
cloudRoot="$popOSRoot/cloud-sync"
# Set Hostname
sudo hostnamectl set-hostname ManuSurface
# Preparation
sudo apt update
sudo apt upgrade -y
sudo apt install dbus-x11
# Install gnome extensions
source "$softwareRoot/gnome-extensions.sh"
# Sync clouds
source "$softwareRoot/rclone/install.sh"
{
gnome-terminal -- /bin/bash -c "source '$cloudRoot/nextcloud.sh'"
# Install fonts
source "$popOSRoot/fonts.sh"
source "$softwareRoot/oh-my-posh.sh"
} &
# Install surface-linux
source "$popOSRoot/linux-surface.sh"
source "$popOSRoot/camera.sh"
# source "$popOSRoot/secure-boot/install.sh"
# Install Brave
source "$softwareRoot/brave.sh"
source "$softwareRoot/brave-extensions.sh"
source "$softwareRoot/brave-beta.sh"
source "$softwareRoot/brave-nightly.sh"
# Install further software
source "$softwareRoot/logo-ls.sh"
source "$softwareRoot/codium.sh"
source "$softwareRoot/code.sh"
source "$softwareRoot/nodejs.sh"
source "$softwareRoot/java.sh"
source "$softwareRoot/tea.sh"
source "$softwareRoot/godot.sh"
# Install other flatpaks
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
# Install equalizer
source "$popOSRoot/equalizer/install.sh"
# 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"