mirror of
https://github.com/tumillanino/miasma-os.git
synced 2026-04-11 07:15:31 +00:00
Compare commits
16 Commits
c0cccee037
...
1eefc90924
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1eefc90924 | ||
|
|
2fe52fc3c1 | ||
|
|
2b26de7110 | ||
|
|
1d328bcbc5 | ||
|
|
ab913ad8f5 | ||
|
|
d2dc21a83f | ||
|
|
0bd50850cf | ||
|
|
1ca3554ae7 | ||
|
|
d91f91c809 | ||
|
|
6ad6008e1b | ||
|
|
a6da2af97c | ||
|
|
fa8dee1ba4 | ||
|
|
83c5550ec4 | ||
|
|
ef8da056dc | ||
|
|
51f18558fc | ||
|
|
2665d4847a |
@@ -13,4 +13,3 @@ setup-zsh:
|
||||
echo ')'
|
||||
} >> ~/.zshrc
|
||||
|
||||
@echo 'eval "$(oh-my-posh init zsh --config 'https://raw.githubusercontent.com/JanDeDobbeleer/oh-my-posh/refs/heads/main/themes/json.omp.json')"' >> ~/.zshrc
|
||||
|
||||
@@ -1,53 +0,0 @@
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -oue pipefail
|
||||
|
||||
./install-divested.sh 20250714
|
||||
./install-divested.sh https://divested.dev/rpm/fedora/divested-release-20250714-1.noarch.rpm
|
||||
BASE_URL='https://divested.dev/rpm/fedora'
|
||||
PKG_PREFIX='divested-release'
|
||||
ARCH='noarch'
|
||||
RPM_SUFFIX='-1' # adjust if upstream uses a different release number
|
||||
RETRY_OPTS=(--retry 3 --retry-delay 5 -S -L -O)
|
||||
|
||||
if [ "${#}" -eq 0 ]; then
|
||||
echo "Usage: $0 YYYYMMDD | FULL_RPM_URL" >&2
|
||||
exit 2
|
||||
fi
|
||||
|
||||
INPUT="$1"
|
||||
|
||||
case "$INPUT" in
|
||||
http:// | https://)
|
||||
RPM_URL="$INPUT"
|
||||
;;
|
||||
[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9])
|
||||
RELEASE_VERSION="$INPUT"
|
||||
FILENAME="${PKG_PREFIX}-${RELEASE_VERSION}${RPM_SUFFIX}.${ARCH}.rpm"
|
||||
RPM_URL="${BASE_URL}/${FILENAME}"
|
||||
;;
|
||||
*)
|
||||
echo "Invalid argument. Provide a date (YYYYMMDD) or a full URL." >&2
|
||||
exit 1
|
||||
;;
|
||||
esac
|
||||
|
||||
TMPDIR="$(mktemp -d)"
|
||||
trap 'rm -rf "$TMPDIR"' EXIT
|
||||
|
||||
RPM_PATH="${TMPDIR}/$(basename "$RPM_URL")"
|
||||
|
||||
echo "Downloading ${RPM_URL} ..."
|
||||
if command -v curl >/dev/null 2>&1; then
|
||||
curl "${RETRY_OPTS[@]}" -o "$RPM_PATH" "$RPM_URL"
|
||||
elif command -v wget >/dev/null 2>&1; then
|
||||
wget --tries=3 --wait=5 -O "$RPM_PATH" "$RPM_URL"
|
||||
else
|
||||
echo "Neither curl nor wget available." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "Installing ${RPM_PATH} ..."
|
||||
sudo dnf install -y "$RPM_PATH"
|
||||
|
||||
echo "Installed $(basename "$RPM_PATH")"
|
||||
@@ -5,6 +5,9 @@ mv /tmp/files/assets/images/distributor-logo.svg /usr/share/icons/hicolor/scalab
|
||||
mv /tmp/files/assets/splash/default.jxl /usr/share/backgrounds/default.jxl
|
||||
mv /tmp/files/assets/splash/default-dark.jxl /usr/share/backgrounds/default-dark.jxl
|
||||
mv /tmp/files/assets/images/watermark.png /usr/share/plymouth/themes/spinner/watermark.png
|
||||
# Remove Bazzite animation/throbber frames so Plymouth uses only our watermark
|
||||
rm -f /usr/share/plymouth/themes/spinner/animation-*.png
|
||||
rm -f /usr/share/plymouth/themes/spinner/throbber-*.png
|
||||
mv /tmp/files/assets/images/fedora-gdm-logo.png /usr/share/pixmaps/fedora-gdm-logo.png
|
||||
mv /tmp/files/assets/images/fedora-logo-small.png /usr/share/pixmaps/fedora-logo-small.png
|
||||
mv /tmp/files/assets/images/fedora-logo-sprite.png /usr/share/pixmaps/fedora-logo-sprite.png
|
||||
|
||||
34
files/scripts/installbitwig.sh
Normal file
34
files/scripts/installbitwig.sh
Normal file
@@ -0,0 +1,34 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
echo "Installing Bitwig Studio..."
|
||||
|
||||
dnf install -y libbsd bzip2-libs dpkg
|
||||
|
||||
curl -L -o /tmp/bitwig.deb "https://www.bitwig.com/dl/?id=419&os=installer_linux"
|
||||
|
||||
# Extract to temp dir to avoid /opt -> /var/opt symlink issues on immutable OS
|
||||
mkdir -p /tmp/bitwig-extract
|
||||
dpkg-deb -x /tmp/bitwig.deb /tmp/bitwig-extract
|
||||
|
||||
# Install main app to /usr/lib instead of /opt (which resolves to /var/opt at runtime)
|
||||
mv /tmp/bitwig-extract/opt/bitwig-studio /usr/lib/bitwig-studio
|
||||
|
||||
# Copy remaining files (desktop entry, icons, mime types, etc.)
|
||||
cp -rT /tmp/bitwig-extract/usr /usr
|
||||
|
||||
# Fix symlink to point to the new location
|
||||
ln -sf /usr/lib/bitwig-studio/bitwig-studio /usr/bin/bitwig-studio
|
||||
|
||||
# Fix paths in .desktop file
|
||||
if [ -f /usr/share/applications/com.bitwig.BitwigStudio.desktop ]; then
|
||||
sed -i 's|/opt/bitwig-studio|/usr/lib/bitwig-studio|g' /usr/share/applications/com.bitwig.BitwigStudio.desktop
|
||||
fi
|
||||
|
||||
ln -sf /usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.0
|
||||
|
||||
rm -rf /tmp/bitwig-extract /tmp/bitwig.deb
|
||||
|
||||
echo "Bitwig Studio installation complete."
|
||||
|
||||
exit 0
|
||||
15
files/scripts/installdecentsampler.sh
Normal file
15
files/scripts/installdecentsampler.sh
Normal file
@@ -0,0 +1,15 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
curl -L -o /tmp/decent-sampler.tar.gz "https://cdn.decentsamples.com/production/builds/ds/1.18.1/Decent_Sampler-1.18.1-Linux-Static-x86_64.tar.gz"
|
||||
tar xvf /tmp/decent-sampler.tar.gz -C /tmp
|
||||
|
||||
cd /tmp
|
||||
|
||||
mkdir -p /usr/lib64/vst/decentsampler
|
||||
cd Decent_Sampler-1.18.1-Linux-Static-x86_64
|
||||
mv DecentSampler.so /usr/lib64/vst/decentsampler/
|
||||
|
||||
rm -rf /tmp/decent-sampler.tar.gz /tmp/Decent* || true
|
||||
|
||||
exit 0
|
||||
@@ -1,12 +1,44 @@
|
||||
#!/usr/bin/env bash
|
||||
set -euo pipefail
|
||||
|
||||
RENOISE_VERSION=3.5.4
|
||||
EXTRACT_DIR=/tmp/Renoise_3_5_4_Demo_Linux_x86_64
|
||||
|
||||
curl -L -o /tmp/renoise.tar.gz "https://files.renoise.com/demo/Renoise_3_5_4_Demo_Linux_x86_64.tar.gz"
|
||||
tar xvf /tmp/renoise.tar.gz -C /tmp
|
||||
tar xf /tmp/renoise.tar.gz -C /tmp
|
||||
|
||||
cd /tmp/Renoise_3_5_4_Demo_Linux_x86_64
|
||||
./install.sh || echo "Installer finished with minor warnings (likely desktop-integration related)"
|
||||
# Skip install.sh — it targets /usr/local which symlinks to /var/usrlocal on immutable OS
|
||||
# and is not included in the deployed ostree image.
|
||||
# Instead, install directly into /usr paths.
|
||||
|
||||
rm -rf /tmp/renoise.tar.gz /tmp/Renoise* || true
|
||||
# Keep binary and Resources/ together so Renoise can find its resources via relative path
|
||||
mkdir -p /usr/lib/renoise
|
||||
cp -r "${EXTRACT_DIR}/Resources" /usr/lib/renoise/
|
||||
install -m755 "${EXTRACT_DIR}/renoise" /usr/lib/renoise/renoise
|
||||
|
||||
# Wrapper script so 'renoise' is in PATH and the binary runs from its own directory
|
||||
cat > /usr/bin/renoise << 'EOF'
|
||||
#!/bin/bash
|
||||
exec /usr/lib/renoise/renoise "$@"
|
||||
EOF
|
||||
chmod 755 /usr/bin/renoise
|
||||
|
||||
# Desktop entry, icons, MIME types, man pages
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise.desktop" \
|
||||
/usr/share/applications/renoise.desktop
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise-48.png" \
|
||||
/usr/share/icons/hicolor/48x48/apps/renoise.png
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise-64.png" \
|
||||
/usr/share/icons/hicolor/64x64/apps/renoise.png
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise-128.png" \
|
||||
/usr/share/icons/hicolor/128x128/apps/renoise.png
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise.xml" \
|
||||
/usr/share/mime/packages/renoise.xml
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise.1.gz" \
|
||||
/usr/share/man/man1/renoise.1.gz
|
||||
install -D -m644 "${EXTRACT_DIR}/Installer/renoise-pattern-effects.5.gz" \
|
||||
/usr/share/man/man5/renoise-pattern-effects.5.gz
|
||||
|
||||
rm -rf /tmp/renoise.tar.gz "${EXTRACT_DIR}"
|
||||
|
||||
exit 0
|
||||
|
||||
1
files/system/usr/etc/hostname
Normal file
1
files/system/usr/etc/hostname
Normal file
@@ -0,0 +1 @@
|
||||
miasma
|
||||
12
files/system/usr/etc/skel/.config/mimeapps.list
Normal file
12
files/system/usr/etc/skel/.config/mimeapps.list
Normal file
@@ -0,0 +1,12 @@
|
||||
[Default Applications]
|
||||
text/html=app.zen_browser.zen.desktop
|
||||
x-scheme-handler/http=app.zen_browser.zen.desktop
|
||||
x-scheme-handler/https=app.zen_browser.zen.desktop
|
||||
x-scheme-handler/ftp=app.zen_browser.zen.desktop
|
||||
x-scheme-handler/chrome=app.zen_browser.zen.desktop
|
||||
application/x-extension-htm=app.zen_browser.zen.desktop
|
||||
application/x-extension-html=app.zen_browser.zen.desktop
|
||||
application/x-extension-shtml=app.zen_browser.zen.desktop
|
||||
application/xhtml+xml=app.zen_browser.zen.desktop
|
||||
application/x-extension-xhtml=app.zen_browser.zen.desktop
|
||||
application/x-extension-xht=app.zen_browser.zen.desktop
|
||||
@@ -0,0 +1,61 @@
|
||||
[Plymouth Theme]
|
||||
Name=Spinner
|
||||
Description=A theme designed by jimmac that features a simple spinner.
|
||||
ModuleName=two-step
|
||||
|
||||
[two-step]
|
||||
Font=Cantarell 12
|
||||
TitleFont=Cantarell Light 30
|
||||
ImageDir=/usr/share/plymouth/themes/spinner
|
||||
DialogHorizontalAlignment=.5
|
||||
DialogVerticalAlignment=.382
|
||||
TitleHorizontalAlignment=.5
|
||||
TitleVerticalAlignment=.382
|
||||
HorizontalAlignment=.5
|
||||
VerticalAlignment=.7
|
||||
WatermarkHorizontalAlignment=.5
|
||||
WatermarkVerticalAlignment=.96
|
||||
Transition=none
|
||||
TransitionDuration=0.0
|
||||
BackgroundStartColor=0x000000
|
||||
BackgroundEndColor=0x000000
|
||||
ProgressBarBackgroundColor=0x606060
|
||||
ProgressBarForegroundColor=0xffffff
|
||||
MessageBelowAnimation=true
|
||||
|
||||
[boot-up]
|
||||
UseEndAnimation=false
|
||||
|
||||
[shutdown]
|
||||
UseEndAnimation=false
|
||||
|
||||
[reboot]
|
||||
UseEndAnimation=false
|
||||
|
||||
[updates]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Installing Updates...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[system-upgrade]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading System...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[firmware-upgrade]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Upgrading Firmware...
|
||||
SubTitle=Do not turn off your computer
|
||||
|
||||
[system-reset]
|
||||
SuppressMessages=true
|
||||
ProgressBarShowPercentComplete=true
|
||||
UseProgressBar=true
|
||||
Title=Resetting System...
|
||||
SubTitle=Do not turn off your computer
|
||||
@@ -9,4 +9,7 @@ modules:
|
||||
- installreaper.sh
|
||||
- installrenoise.sh
|
||||
- installsurgext.sh
|
||||
- installbitwig.sh
|
||||
- installdecentsampler.sh
|
||||
- branding.sh
|
||||
|
||||
|
||||
@@ -1,8 +1,7 @@
|
||||
modules:
|
||||
- type: default-flatpaks
|
||||
configurations:
|
||||
- notify: true
|
||||
scope: system
|
||||
- scope: system
|
||||
install:
|
||||
- org.tenacityaudio.Tenacity
|
||||
- app.zen_browser.zen
|
||||
|
||||
Reference in New Issue
Block a user