PortValhalla/ManuSurface/setup.sh

58 lines
1.4 KiB
Bash
Raw Normal View History

2022-11-12 03:11:53 +00:00
#!/bin/bash
dir="${BASH_SOURCE%/*}"
2022-11-12 12:18:28 +00:00
popOSRoot="$dir/../scripts/PopOS"
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-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
{
sudo apt install dbus-x11
gnome-terminal -- /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
source "$popOSRoot/fonts.sh"
} &
2022-11-12 13:45:03 +00:00
# Install surface-linux and Secure Boot
2022-11-12 12:18:28 +00:00
source "$popOSRoot/linux-surface.sh"
source "$popOSRoot/secure-boot.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-11-12 03:11:53 +00:00
# Install further software
source "$softwareRoot/oh-my-posh.sh"
source "$softwareRoot/logo-ls.sh"
2022-11-12 12:18:28 +00:00
source "$softwareRoot/codium.sh"
source "$softwareRoot/code.sh"
source "$softwareRoot/tea.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-12 03:11:53 +00:00
2022-11-12 13:49:04 +00:00
# Install equalizer
source "$popOSRoot/equalizer/install.sh"
2022-11-12 03:11:53 +00:00
# Install Steam
2022-11-13 00:00:23 +00:00
sudo apt install -y steam