This commit is contained in:
Korbs 2024-09-12 23:48:20 -04:00
parent 683eb32017
commit 62b562557b
4 changed files with 110 additions and 31 deletions

0
configs/.npmrc Normal file
View file

16
configs/blackbox.keyfile Normal file
View file

@ -0,0 +1,16 @@
[com/raggesilver/BlackBox]
style-preference=0
remember-window-size=false
show-headerbar=true
show-menu-button=false
headerbar-drag-area=true
floating-controls=false
floating-controls-hover-area=20
terminal-padding=(11, 11, 11, 11)
opacity=95
theme-dark='Pencil Dark'
theme-bold-is-bright=false
use-sixel=false
fill-tabs=true
terminal-bell=false
window-height=452

View file

@ -17,10 +17,13 @@
"editor.stickyScroll.enabled": false,
"editor.renderWhitespace": "none",
"editor.renderControlCharacters": false,
"window.menuBarVisibility": "toggle",
"workbench.startupEditor": "none",
"javascript.updateImportsOnFileMove.enabled": "never",
"git.openRepositoryInParentFolders": "never",
"liveServer.settings.donotShowInfoMsg": true,
"liveServer.settings.donotVerifyTags": true
"liveServer.settings.donotVerifyTags": true,
"window.customTitleBarVisibility": "auto",
"window.doubleClickIconToClose": true,
"window.titleBarStyle": "custom",
"workbench.layoutControl.enabled": false
}

72
run.sh
View file

@ -1,39 +1,99 @@
#!/usr/bin/env bash
set -e
# check for root access
# Check if it was ran with "sudo" or not
if [[ $(id -u) != 0 ]]; then
echo "Please run script with 'sudo'"
exit 1
fi
# Init
clear
echo "Updating your system..."
sudo dnf update --quiet --refresh --allowerasing -y
# Uninstall Apps and Packages
sudo dnf remove -y firef* firew* 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
clear
echo "Removing unused content and applications..."
sudo dnf remove --quiet -y firef* firew* 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
clear
echo "Installing applications..."
sudo dnf config-manager --add-repo https://repository.mullvad.net/rpm/stable/mullvad.repo
sudo dnf install -y gnome-console mullvad-vpn openssl
flatpak install -y com.mattjakeman.ExtensionManager 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
sudo dnf install --quiet -y mullvad-vpn openssl
flatpak install -y com.vscodium.codium io.gitlab.librewolf-community com.spotify.Client com.belmoussaoui.Obfuscate network.loki.Session org.videolan.VLC org.nickvision.tubeconverter cafe.avery.Delfin de.haeckerfelix.Fragments org.gnome.gitlab.YaLTeR.VideoTrimmer com.github.tchx84.Flatseal org.shotcut.Shotcut com.raggesilver.BlackBox com.github.neithern.g4music net.nokyan.Resources
# Install Packages
sudo dnf install -y nautilus adb fastboot
clear
echo "Installing Nautilus and ADB..."
sudo dnf install --quiet -y nautilus adb fastboot
clear
echo "Installing Bun..."
curl -fsSL https://bun.sh/install | bash
source ~/.bashrc
clear
echo "Installing NodeJS..."
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.40.0/install.sh | bash
source ~/.bashrc
nvm install node
# Patches
# Patches and Apply
clear
echo "Patching Spotify, Nautilus, and Librewolf..."
## Spotify
bash <(curl -sSL https://spotx-official.github.io/run.sh) -h -d
## Nautilus
git clone https://github.com/ppvan/nautilus-open-in-blackbox.git
cd nautilus-open-in-blackbox
./install.sh
## Librewolf
curl -s -o- https://raw.githubusercontent.com/rafaelmardojai/firefox-gnome-theme/master/scripts/install-by-curl.sh | bash
# Dotfiles
cd ~/
wget https://ark.sudovanilla.org/Korbs/Quick-Linux-Setup/raw/branch/main/configs/.npmrc
# Settings
clear
echo "Applying Settings for VSCodium and Blackbox..."
## VSCodium
cd /home/korbs/.var/app/com.vscodium.codium/config/VSCodium/User
wget https://ark.sudovanilla.org/Korbs/Quick-Linux-Setup/raw/branch/main/configs/vscodium.json
sudo rm settings.json
sudo mv vscodium.json settings.json
## Blackbox
cd /home/korbs/.var/app/com.raggesilver.BlackBox/config/glib-2.0/settings
wget https://ark.sudovanilla.org/Korbs/Quick-Linux-Setup/raw/branch/main/configs/blackbox.keyfile
sudo rm keyfile
sudo mv blackbox.keyfile keyfile
# GNOME Extensions (Currently set for GNOME 46)
clear
echo "Installing GNOME extensions..."
cd ~/Downloads/
wget https://extensions.gnome.org/extension-data/gsconnectandyholmes.github.io.v57.shell-extension.zip
wget https://extensions.gnome.org/extension-data/rounded-window-cornersfxgn.v3.shell-extension.zip
# Ending-Run
clear
echo "Finishing up..."
sudo dnf autoremove
sudo dnf clean all
# After-Run
echo "Completed."
sleep 2
echo "Don't forget to setup Git:"
echo 'git config --global user.name "USERNAME"'
echo 'git config --global user.email "email@example.org"'