PortValhalla/ManuSurface/setup.sh

58 lines
1.4 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
# Install gnome extensions
source "$softwareRoot/gnome-extensions.sh"
# Sync clouds
source "$softwareRoot/rclone/install.sh"
{
sudo apt install dbus-x11
gnome-terminal -- /bin/bash -c "source '$cloudRoot/nextcloud.sh'"
# Install fonts
source "$popOSRoot/fonts.sh"
} &
# Install surface-linux and Secure Boot
source "$popOSRoot/linux-surface.sh"
source "$popOSRoot/secure-boot.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/oh-my-posh.sh"
source "$softwareRoot/logo-ls.sh"
source "$softwareRoot/codium.sh"
source "$softwareRoot/code.sh"
source "$softwareRoot/tea.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"
# Install Steam
sudo apt install -y steam