diff --git a/files/justfiles/configure-zsh.just b/files/justfiles/configure-zsh.just index 8c4b9e1..ee4dd3a 100644 --- a/files/justfiles/configure-zsh.just +++ b/files/justfiles/configure-zsh.just @@ -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 diff --git a/files/scripts/addbracescripts.sh b/files/scripts/addbracescripts.sh deleted file mode 100644 index 7612873..0000000 --- a/files/scripts/addbracescripts.sh +++ /dev/null @@ -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")" diff --git a/files/scripts/installbitwig.sh b/files/scripts/installbitwig.sh new file mode 100644 index 0000000..14a9ea6 --- /dev/null +++ b/files/scripts/installbitwig.sh @@ -0,0 +1,18 @@ +#!/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" + +dpkg-deb -x /tmp/bitwig.deb / + +ln -sf /usr/lib64/libbz2.so.1 /usr/lib64/libbz2.so.1.0 + +rm -f /tmp/bitwig.deb + +echo "Bitwig Studio installation complete." + +exit 0 diff --git a/files/scripts/installdecentsampler.sh b/files/scripts/installdecentsampler.sh new file mode 100644 index 0000000..266bb68 --- /dev/null +++ b/files/scripts/installdecentsampler.sh @@ -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 diff --git a/recipes/common/common-scripts.yml b/recipes/common/common-scripts.yml index bfe4d0e..ab5f26c 100644 --- a/recipes/common/common-scripts.yml +++ b/recipes/common/common-scripts.yml @@ -9,4 +9,7 @@ modules: - installreaper.sh - installrenoise.sh - installsurgext.sh + - installbitwig.sh + - installdecentsampler.sh - branding.sh +