diff --git a/installflatpak.sh b/installflatpak.sh index f29d013..2472511 100644 --- a/installflatpak.sh +++ b/installflatpak.sh @@ -1,2 +1,42 @@ #!/bin/bash -flatpak install flathub md.obsidian.Obsidian com.mattjakeman.ExtensionManager io.github.shiftey.Desktop io.github.achetagames.epic_asset_manager \ No newline at end of file + +sudo flatpak -y install flathub \ + md.obsidian.Obsidian \ + com.mattjakeman.ExtensionManager \ + io.github.shiftey.Desktop \ + io.github.achetagames.epic_asset_manager \ + org.prismlauncher.PrismLauncher \ + org.ryujinx.Ryujinx \ + org.shotcut.Shotcut \ + org.videolan.VLC \ + tv.plex.PlexDesktop \ + uk.org.greenend.chiark.sgtatham.putty \ + org.freedesktop.Platform.VulkanLayer.MangoHud \ + org.filezillaproject.Filezilla \ + org.chromium.Chromium \ + net.pcsx2.PCSX2 \ + net.lutris.Lutris \ + it.fabiodistasio.AntaresSQL \ + io.mrarm.mcpelauncher \ + io.missioncenter.MissionCenter \ + io.github.congard.qnvsm \ + io.github.dvlv.boxbuddyrs \ + io.github.prateekmedia.appimagepool \ + dev.vencord.Vesktop \ + com.vysp3r.ProtonPlus \ + com.vscodium.codium \ + com.usebottles.bottles \ + com.spotify.Client \ + com.plexamp.Plexamp \ + com.obsproject.Studio \ + com.mattjakeman.ExtensionManager \ + com.leinardi.gwe \ + com.heroicgameslauncher.hgl \ + com.github.tchx84.Flatseal \ + com.github.maoschanz.drawing \ + com.github.jeromerobert.pdfarranger \ + com.github.alexkdeveloper.desktop-files-creator \ + com.github.Matoking.protontricks \ + com.github.GradienceTeam.Gradience \ + com.getpostman.Postman \ + app.xemu.xemu \ No newline at end of file diff --git a/installrpm.sh b/installrpm.sh index 87047be..b95ced6 100644 --- a/installrpm.sh +++ b/installrpm.sh @@ -3,7 +3,7 @@ sudo rpm --import https://packages.microsoft.com/keys/microsoft.asc echo -e "[code]\nname=Visual Studio Code\nbaseurl=https://packages.microsoft.com/yumrepos/vscode\nenabled=1\ngpgcheck=1\ngpgkey=https://packages.microsoft.com/keys/microsoft.asc" | sudo tee /etc/yum.repos.d/vscode.repo > /dev/null sudo dnf update -y -sudo dnf group install --with-optional virtualization +sudo dnf group install --with-optional virtualization -y sudo dnf install akmod-nvidia xorg-x11-drv-nvidia-cuda distrobox code nextcloud-client -y diff --git a/setupdrives.sh b/setupdrives.sh new file mode 100644 index 0000000..3128bef --- /dev/null +++ b/setupdrives.sh @@ -0,0 +1,16 @@ +# Array of lines to add to /etc/fstab +fstab_entries=( + "LABEL=storage /mnt/storage auto nosuid,nodev,nofail,x-gvfs-show,x-gvfs-name=storage 0 0" +) + +# Iterate over the array and add each entry to /etc/fstab if it doesn't already exist +for entry in "${fstab_entries[@]}"; do + if ! grep -qF "$entry" /etc/fstab; then + echo "$entry" | sudo tee -a /etc/fstab > /dev/null + echo "Added entry: $entry" + else + echo "Entry already exists: $entry" + fi +done + +sudo reboot \ No newline at end of file diff --git a/setupstorage.sh b/setupstorage.sh new file mode 100644 index 0000000..14b3f36 --- /dev/null +++ b/setupstorage.sh @@ -0,0 +1,65 @@ +#!/bin/bash +# Create folders for fstab +# Array of directories to create +directories=( + # Setup home dir + ~/Applications + ~/Developer/Projects + ~/Developer/UnrealEngine/Engine + ~/Developer/UnrealEngine/Vault + ~/Games/SSD + ~/Games/HDD + ~/Notes + ~/.virtualization + ~/.virtualization/storage/ssd + ~/.virtualization/storage/hdd + ~/.virtualization/storage/installer + + /mnt/storage + # Custom folders + /mnt/storage/.fstab/Projects + /mnt/storage/.fstab/Engine + /mnt/storage/.fstab/Vault + /mnt/storage/.fstab/Games + /mnt/storage/.fstab/virtualization/hdd + /mnt/storage/.fstab/virtualization/installer + + # Default Folders + /mnt/storage/.fstab/Downloads + /mnt/storage/.fstab/Music + /mnt/storage/.fstab/Pictures + /mnt/storage/.fstab/Videos +) + +# Iterate over the array and create each directory if it doesn't exist +for dir in "${directories[@]}"; do + mkdir -p "$dir" +done + +# Create links + +# Array of lines to add to /etc/fstab +fstab_entries=( + "/mnt/storage/.fstab/Projects /home/boo3/Applications none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Engine /home/boo3/Developer/UnrealEngine/Engine none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Vault /home/boo3/Developer/UnrealEngine/Vault none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Games /home/boo3/Games/HDD none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/virtualization/hdd /home/boo3/.virtualization/storage/hdd none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/virtualization/installer /home/boo3/.virtualization/storage/installer none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Downloads /home/boo3/Downloads none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Music /home/boo3/Music none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Pictures /home/boo3/Pictures none bind,x-gvfs-hide 0 0" + "/mnt/storage/.fstab/Videos /home/boo3/Videos none bind,x-gvfs-hide 0 0" +) + +# Iterate over the array and add each entry to /etc/fstab if it doesn't already exist +for entry in "${fstab_entries[@]}"; do + if ! grep -qF "$entry" /etc/fstab; then + echo "$entry" | sudo tee -a /etc/fstab > /dev/null + echo "Added entry: $entry" + else + echo "Entry already exists: $entry" + fi +done + +sudo reboot \ No newline at end of file diff --git a/startsetup.sh b/startsetup.sh new file mode 100644 index 0000000..ac235c7 --- /dev/null +++ b/startsetup.sh @@ -0,0 +1,2 @@ +#!/bin/bash +git clone https://git.thesecretvault.net/boo3/LinuxSetup.git \ No newline at end of file