mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-04-11 07:15:31 +00:00
kernel still breaking. updated name which may have been issue
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user