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,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
echo 'Preparing directory for cloning...'
|
||||
|
||||
mkdir -p /tmp/clone/Adwaita-colors/
|
||||
cd /tmp/clone/Adwaita-colors/
|
||||
echo 'Directory created.'
|
||||
|
||||
git clone https://github.com/dpejoh/Adwaita-colors
|
||||
echo 'Repo cloned. Copying files...'
|
||||
|
||||
cp -r ./Adwaita-colors/* /usr/share/icons/
|
||||
echo 'Folders copied. Cleaning up!'
|
||||
|
||||
rm -r Adwaita-colors/
|
||||
echo 'Cloned repo deleted.'
|
||||
18
docs/solarpowered-main/files/scripts/shared/android-tools.sh
Normal file
18
docs/solarpowered-main/files/scripts/shared/android-tools.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
VER=$(basename $(curl -Ls -o /dev/null -w %{url_effective} https://github.com/pkgforge-dev/android-tools-AppImage/releases/latest))
|
||||
curl -fLs --create-dirs https://github.com/pkgforge-dev/android-tools-AppImage/releases/download/${VER}/Android_Tools-${VER%@*}-anylinux-x86_64.AppImage -o /usr/bin/android-tools
|
||||
chmod +x /usr/bin/android-tools
|
||||
mkdir -p /tmp/android-tmp/
|
||||
(
|
||||
cd /tmp/android-tmp/
|
||||
/usr/bin/android-tools --appimage-extract
|
||||
)
|
||||
readarray -t BINS < <(find /tmp/android-tmp/AppDir/bin/ -type f -printf "%f\n")
|
||||
rm -rf /tmp/android-tmp/
|
||||
for bin in "${BINS[@]}"; do
|
||||
case "$bin" in
|
||||
*xdg-open|*.hook|*.conf) continue;;
|
||||
esac
|
||||
ln -fs /usr/bin/android-tools /usr/bin/"$bin"
|
||||
done
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
GITHUB_URL="https://github.com/vinceliuice/Colloid-icon-theme"
|
||||
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 [ -f "./$REPO_NAME/install.sh" ]; then
|
||||
chmod +x "./$REPO_NAME/install.sh"
|
||||
./"$REPO_NAME/install.sh" -d /usr/share/icons -s default -t default -b
|
||||
fi
|
||||
|
||||
echo "Folders copied. Cleaning up!"
|
||||
rm -drf "$CLONE_DIR"
|
||||
echo "Cloned repo deleted."
|
||||
|
||||
echo "Script finished. Theme installation complete."
|
||||
7
docs/solarpowered-main/files/scripts/shared/edid.sh
Normal file
7
docs/solarpowered-main/files/scripts/shared/edid.sh
Normal file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -euox pipefail
|
||||
|
||||
tee "/etc/dracut.conf.d/00-dp-2.conf" > /dev/null << 'EOF'
|
||||
install_items+=" /lib/firmware/edid/edid.bin "
|
||||
EOF
|
||||
@@ -0,0 +1,49 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
GITHUB_URL="https://github.com/somepaulo/MoreWaita"
|
||||
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 [ -f "./$REPO_NAME/install.sh" ]; then
|
||||
chmod +x "./$REPO_NAME/install.sh"
|
||||
./"$REPO_NAME/install.sh"
|
||||
fi
|
||||
|
||||
echo "Folders copied. Cleaning up!"
|
||||
rm -drf "$CLONE_DIR"
|
||||
echo "Cloned repo deleted."
|
||||
|
||||
echo "Script finished. Theme installation complete."
|
||||
|
||||
|
||||
# ---
|
||||
# echo 'Preparing directory for cloning...'
|
||||
|
||||
# mkdir -p /tmp/clone/MoreWaita/
|
||||
# cd /tmp/clone/MoreWaita/
|
||||
# echo 'Directory created.'
|
||||
|
||||
# git clone https://github.com/somepaulo/MoreWaita.git
|
||||
# echo 'Repo cloned. Running install script...'
|
||||
|
||||
# MoreWaita/install.sh
|
||||
# cho 'Install script finished. Removing cloned repo...'
|
||||
|
||||
# rm -r MoreWaita
|
||||
# echo 'Cloned repo deleted.'
|
||||
@@ -0,0 +1,22 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
echo 'Preparing directory for cloning...'
|
||||
|
||||
mkdir -p /tmp/clone/nautilus-copy-path/
|
||||
cd /tmp/clone/nautilus-copy-path/
|
||||
echo 'Directory created.'
|
||||
|
||||
git clone https://github.com/chr314/nautilus-copy-path.git
|
||||
echo 'Repo cloned. Copying files...'
|
||||
|
||||
mkdir -p /usr/share/nautilus-python/extensions/nautilus-copy-path
|
||||
cp ./nautilus-copy-path/nautilus-copy-path.py /usr/share/nautilus-python/extensions
|
||||
cp ./nautilus-copy-path/nautilus_copy_path.py ./nautilus-copy-path/translation.py ./nautilus-copy-path/config.json /usr/share/nautilus-python/extensions/nautilus-copy-path
|
||||
cp -rf ./nautilus-copy-path/translations /usr/share/nautilus-python/extensions/nautilus-copy-path
|
||||
|
||||
echo 'Install script finished. Removing cloned repo...'
|
||||
|
||||
rm -r nautilus-copy-path
|
||||
echo 'Cloned repo deleted.'
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
GITHUB_URL="https://github.com/vinceliuice/Qogir-icon-theme"
|
||||
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 [ -f "./$REPO_NAME/install.sh" ]; then
|
||||
chmod +x "./$REPO_NAME/install.sh"
|
||||
./"$REPO_NAME/install.sh" -t default -c standard
|
||||
fi
|
||||
|
||||
echo "Folders copied. Cleaning up!"
|
||||
rm -drf "$CLONE_DIR"
|
||||
echo "Cloned repo deleted."
|
||||
|
||||
echo "Script finished. Theme installation complete."
|
||||
@@ -0,0 +1,32 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
GITHUB_URL="https://github.com/vinceliuice/Tela-icon-theme"
|
||||
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 [ -f "./$REPO_NAME/install.sh" ]; then
|
||||
chmod +x "./$REPO_NAME/install.sh"
|
||||
./"$REPO_NAME/install.sh" -d /usr/share/icons
|
||||
fi
|
||||
|
||||
echo "Folders copied. Cleaning up!"
|
||||
rm -drf "$CLONE_DIR"
|
||||
echo "Cloned repo deleted."
|
||||
|
||||
echo "Script finished. Theme installation complete."
|
||||
Reference in New Issue
Block a user