mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-06-15 15:09:33 +00:00
kernel still breaking. updated name which may have been issue
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -ouex pipefail
|
||||
|
||||
OS_VERSION=$(rpm -E %fedora)
|
||||
|
||||
VER=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/bazzite-org/kernel-bazzite/releases/latest))
|
||||
|
||||
dnf -y remove kernel-* && rm -drf /usr/lib/modules/*
|
||||
|
||||
echo 'Installing Bazzite kernel...'
|
||||
dnf install -y \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-common-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-core-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-devel-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-devel-matched-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-akmods-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-core-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-extra-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-extra-matched-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-modules-internal-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-tools-$VER.fc$OS_VERSION.x86_64.rpm \
|
||||
https://github.com/bazzite-org/kernel-bazzite/releases/download/$VER/kernel-tools-libs-$VER.fc$OS_VERSION.x86_64.rpm
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# find latest version of cosign
|
||||
LATEST_VERSION=$(curl https://api.github.com/repos/sigstore/cosign/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")
|
||||
|
||||
# download & install cosign
|
||||
rpm-ostree install https://github.com/sigstore/cosign/releases/latest/download/cosign-${LATEST_VERSION}-1.x86_64.rpm
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
sudo sed -i 's/enabled=1/enabled=0/' \
|
||||
/etc/yum.repos.d/_copr:copr.fedorainfracloud.org:phracek:PyCharm.repo \
|
||||
/etc/yum.repos.d/google-chrome.repo \
|
||||
/etc/yum.repos.d/rpmfusion-nonfree-nvidia-driver.repo \
|
||||
/etc/yum.repos.d/rpmfusion-nonfree-steam.repo
|
||||
@@ -0,0 +1,20 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
# Replace multimedia packages with ones from negativo17-multimedia-repo
|
||||
echo 'Replacing multimedia packages to packages from negativo17-multimedia-repo'
|
||||
rpm-ostree override replace --experimental --from repo='fedora-multimedia' \
|
||||
libheif \
|
||||
libva \
|
||||
libva-intel-media-driver \
|
||||
mesa-dri-drivers \
|
||||
mesa-filesystem \
|
||||
mesa-libEGL \
|
||||
mesa-libGL \
|
||||
mesa-libgbm \
|
||||
mesa-libglapi \
|
||||
mesa-libxatracker \
|
||||
mesa-va-drivers \
|
||||
mesa-vulkan-drivers
|
||||
|
||||
rpm-ostree override replace --from repo='fedora' --experimental --remove=OpenCL-ICD-Loader ocl-icd || true
|
||||
@@ -0,0 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
wget https://raw.githubusercontent.com/StevenBlack/hosts/master/alternates/gambling-porn/hosts -O /usr/etc/hosts
|
||||
@@ -0,0 +1,45 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
GITHUB_URL="https://github.com/bikass/kora"
|
||||
|
||||
if [ -z "$GITHUB_URL" ]; then
|
||||
echo "Error: GITHUB_URL is not set."
|
||||
exit 1
|
||||
fi
|
||||
|
||||
REPO_NAME=$(basename "$GITHUB_URL" .git)
|
||||
CLONE_DIR="/tmp/clone/$REPO_NAME"
|
||||
|
||||
echo "Preparing directory for cloning..."
|
||||
mkdir -p "$CLONE_DIR"
|
||||
cd "$CLONE_DIR"
|
||||
echo "Directory created."
|
||||
|
||||
git clone "$GITHUB_URL"
|
||||
|
||||
echo "Repo cloned. Copying files..."
|
||||
|
||||
if [ -d "./$REPO_NAME/kora" ]; then
|
||||
echo "Installing kora icon set..."
|
||||
cp -r "./$REPO_NAME/kora" /usr/share/icons/
|
||||
fi
|
||||
if [ -d "./$REPO_NAME/kora-light" ]; then
|
||||
echo "Installing kora-light icon set..."
|
||||
cp -r "./$REPO_NAME/kora-light" /usr/share/icons/
|
||||
fi
|
||||
if [ -d "./$REPO_NAME/kora-light-panel" ]; then
|
||||
echo "Installing kora-light-panel icon set..."
|
||||
cp -r "./$REPO_NAME/kora-light-panel" /usr/share/icons/
|
||||
fi
|
||||
if [ -d "./$REPO_NAME/kora-pgrey" ]; then
|
||||
echo "Installing kora-pgrey icon set..."
|
||||
cp -r "./$REPO_NAME/kora-pgrey" /usr/share/icons/
|
||||
fi
|
||||
|
||||
echo "Folders copied. Cleaning up!"
|
||||
rm -drf "$CLONE_DIR"
|
||||
echo "Cloned repo deleted."
|
||||
|
||||
echo "Script finished. Theme installation complete."
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# find latest version of luminance
|
||||
LATEST_VERSION=$(curl https://api.github.com/repos/sidevesh/Luminance/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")
|
||||
|
||||
# download & install latest version of luminance
|
||||
rpm-ostree install https://github.com/sidevesh/Luminance/releases/latest/download/luminance-${LATEST_VERSION}.rpm
|
||||
@@ -0,0 +1,12 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
# Tell this script to exit if there are any errors.
|
||||
# You should have this in every custom script, to ensure that your completed
|
||||
# builds actually ran successfully without any errors!
|
||||
set -oue pipefail
|
||||
|
||||
# Download udev rules file
|
||||
wget https://openrgb.org/releases/release_0.9/60-openrgb.rules
|
||||
|
||||
# Move udev rules file to udev rules directory
|
||||
mv 60-openrgb.rules /usr/lib/udev/rules.d
|
||||
@@ -0,0 +1,9 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
# find latest version of windscribe stable RPM
|
||||
LATEST_VERSION=$(curl https://api.github.com/repos/Windscribe/Desktop-App/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")
|
||||
|
||||
# download & install latest version of windscribe stable RPM
|
||||
rpm-ostree install https://github.com/Windscribe/Desktop-App/releases/latest/download/windscribe_${LATEST_VERSION}_x86_64_fedora.rpm
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
echo 'Preparing directory for cloning...'
|
||||
|
||||
mkdir -p /tmp/clone/ChromeOS-kde
|
||||
cd /tmp/clone/ChromeOS-kde
|
||||
echo 'Directory created.'
|
||||
|
||||
git clone https://github.com/vinceliuice/ChromeOS-kde.git
|
||||
echo 'Repo cloned. Running install script...'
|
||||
|
||||
ChromeOS-kde/install.sh
|
||||
echo 'Install script finished. Removing cloned repo...'
|
||||
|
||||
rm -r ChromeOS-kde/
|
||||
echo 'Cloned repo deleted.'
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
GIT=https://github.com/pkgforge-dev/Citron-AppImage
|
||||
APPDIR=/usr/libexec/appimages
|
||||
GITOWNER=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\1#')
|
||||
GITREPO=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\2#')
|
||||
APPNAME=citron
|
||||
|
||||
echo 'Downloading latest version of $APPNAME from $GITOWNER/$GITREPO'.
|
||||
|
||||
URL="https://github.com/$GITOWNER/$GITREPO/releases/download/v$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")/Citron-v$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")-anylinux-x86_64_v3.AppImage"
|
||||
|
||||
echo "Downloading $URL as $APPDIR/$APPNAME.AppImage"
|
||||
|
||||
mkdir -p $APPDIR
|
||||
|
||||
curl -L "$URL" -o "$APPDIR/$APPNAME.AppImage"
|
||||
|
||||
echo "Download finished! Making $APPNAME executable..."
|
||||
chmod +x $APPDIR/$APPNAME.AppImage
|
||||
|
||||
echo "Creating symlink to /usr/bin/$APPNAME..."
|
||||
ln -sf $APPDIR/$APPNAME.AppImage /usr/bin/$APPNAME
|
||||
|
||||
echo "/usr/bin/$APPNAME symlink created!"
|
||||
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
echo 'Preparing directory for cloning...'
|
||||
|
||||
mkdir -p /tmp/clone
|
||||
cd /tmp/clone/
|
||||
echo 'Directory created.'
|
||||
|
||||
git clone https://github.com/vinceliuice/Layan-kde.git
|
||||
echo 'Repo cloned. Running install script...'
|
||||
|
||||
Layan-kde/install.sh
|
||||
echo 'Install script finished. Removing cloned repo...'
|
||||
|
||||
rm -r Layan-kde
|
||||
echo 'Cloned repo deleted.'
|
||||
@@ -0,0 +1,25 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
echo 'Preparing directory for cloning...'
|
||||
|
||||
mkdir -p /tmp/clone/
|
||||
cd /tmp/clone/
|
||||
echo 'Directory created.'
|
||||
|
||||
git clone https://github.com/Notify-ctrl/Plasma-Overdose.git
|
||||
echo 'Repo cloned. Copying files...'
|
||||
|
||||
# theme
|
||||
cp -r ./Plasma-Overdose/aurorae/ /usr/share/aurorae/themes
|
||||
# cursors
|
||||
cp -r ./Plasma-Overdose/cursors /usr/share/icons/CursorsOverdose/
|
||||
# colorscheme
|
||||
cp -r ./Plasma-Overdose/colorschemes/* /usr/share/color-schemes/
|
||||
# global theme
|
||||
cp -r ./Plasma-Overdose/plasma /usr/share/
|
||||
echo 'Folders copied. Cleaning up!'
|
||||
|
||||
rm -drf Plasma-Overdose/
|
||||
echo 'Cloned repo deleted.'
|
||||
@@ -0,0 +1,27 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
GIT=https://github.com/Ryubing/Ryujinx
|
||||
APPDIR=/usr/libexec/appimages
|
||||
GITOWNER=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\1#')
|
||||
GITREPO=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\2#')
|
||||
APPNAME=$GITREPO
|
||||
|
||||
echo 'Downloading latest version of $APPNAME from $GITOWNER/$GITREPO'.
|
||||
|
||||
URL="https://github.com/$GITOWNER/$GITREPO/releases/download/$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")/ryujinx-$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")-x64.AppImage"
|
||||
|
||||
echo "Downloading $URL as $APPDIR/$APPNAME.AppImage"
|
||||
|
||||
mkdir -p $APPDIR
|
||||
|
||||
curl -L "$URL" -o "$APPDIR/$APPNAME.AppImage"
|
||||
|
||||
echo "Download finished! Making $APPNAME executable..."
|
||||
chmod +x $APPDIR/$APPNAME.AppImage
|
||||
|
||||
echo "Creating symlink to /usr/bin/$APPNAME..."
|
||||
ln -sf $APPDIR/$APPNAME.AppImage /usr/bin/$APPNAME
|
||||
|
||||
echo "/usr/bin/$APPNAME symlink created!"
|
||||
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euo pipefail
|
||||
|
||||
GIT=https://github.com/SteamGridDB/steam-rom-manager
|
||||
APPDIR=/usr/libexec/appimages
|
||||
GITOWNER=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\1#')
|
||||
GITREPO=$(echo "$GIT" | sed -E 's#https://github.com/([^/]+)/([^/]+)(\.git)*#\2#')
|
||||
# APPNAME=$GITREPO
|
||||
APPNAME=Steam-ROM-Manager # Manually entered because their release name != git repo name
|
||||
|
||||
echo 'Downloading latest version of $APPNAME from $GITOWNER/$GITREPO'.
|
||||
|
||||
URL="https://github.com/$GITOWNER/$GITREPO/releases/download/v$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ")/$APPNAME-$(curl https://api.github.com/repos/$GITOWNER/$GITREPO/releases/latest | grep tag_name | cut -d : -f2 | tr -d "v\", ").AppImage"
|
||||
|
||||
echo "Downloading $URL as $APPDIR/$APPNAME.AppImage"
|
||||
|
||||
mkdir -p $APPDIR
|
||||
|
||||
curl -L "$URL" -o "$APPDIR/$APPNAME.AppImage"
|
||||
|
||||
echo "Download finished! Making $APPNAME executable..."
|
||||
chmod +x $APPDIR/$APPNAME.AppImage
|
||||
|
||||
echo "Creating symlink to /usr/bin/$APPNAME..."
|
||||
ln -sf $APPDIR/$APPNAME.AppImage /usr/bin/$APPNAME
|
||||
|
||||
echo "/usr/bin/$APPNAME symlink created!"
|
||||
Reference in New Issue
Block a user