29 lines
No EOL
1.9 KiB
Bash
29 lines
No EOL
1.9 KiB
Bash
#!/usr/bin/env bash
|
|
set -e
|
|
|
|
# check for root access
|
|
if [[ $(id -u) != 0 ]]; then
|
|
echo "Please run setup as 'root'"
|
|
exit 1
|
|
fi
|
|
|
|
# Uninstall Apps and Packages
|
|
sudo dnf remove -y fire* anaconda document-scanner fedora-bookmarks fedora-chromium-config gnome-clocks gnome-color-manager gnome-contacts gnome-getting-started-docs gnome-initial-setup gnome-maps gnome-online-miners gnome-remote-desktop gnome-user-docs gnome-weather gnome-characters gnome-classic-session gnome-classic-session-xsession gnome-color-manager gnome-connections gnome-disk-utility gnome-font-viewer gnome-logs gnome-shell-extension-apps-menu gnome-shell-extension-background-logo gnome-shell-extension-common gnome-shell-extension-launch-new-instance gnome-shell-extension-places-menu gnome-shell-extension-window-list gnome-system-monitor gnome-terminal gnome-text-editor gnome-tour ibus-hangul ibus-kkc ibus-libpinyin ibus-libzhuyin ibus-m17n ibus-typing-booster khmeros-base-fonts libreoffice-calc libreoffice-impress libreport problem-reporting rhythmbox sane-airscan simple-scan speech-dispatcher thai-scalable-waree-fonts totem tracker yelp
|
|
|
|
# Install Apps
|
|
sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo
|
|
sudo dnf install -y gnome-console mullvad-vpn
|
|
flatpak install -y com.vscodium.codium io.github.zen_browser.zen com.spotify.Client org.gnome.Showtime com.belmoussaoui.Obfuscate network.loki.Session org.videolan.VLC org.nickvision.tubeconverter cafe.avery.Delfin de.haeckerfelix.Fragments org.kde.kdenlive org.gnome.gitlab.YaLTeR.VideoTrimmer io.gitlab.adhami3310.Impression com.github.tchx84.Flatseal
|
|
|
|
# Install Packages
|
|
sudo dnf install -y nautilus adb fastboot
|
|
|
|
curl -fsSL https://bun.sh/install | bash
|
|
source ~/.bashrc
|
|
|
|
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
|
|
source ~/.bashrc
|
|
nvm install node
|
|
|
|
# Patches
|
|
bash <(curl -sSL https://spotx-official.github.io/run.sh) -h -d |