PortValhalla/ManuSurface/setup.sh

66 lines
1.7 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-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
source "$popOSRoot/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-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"
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-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"