Files
fluffy-pancake/build/22-umbriel.sh
T

44 lines
1.5 KiB
Bash
Executable File

#!/usr/bin/bash
set -eoux pipefail
###############################################################################
# Transaction: Umbriel Wayland-Compositor (aus Terra nightly)
###############################################################################
# Umbriel ist ein Wayland-Compositor (wlroots >= 0.20) von noctalia-dev.
# Paket `umbriel-nightly` + `xdg-desktop-portal-umbriel-nightly` aus Terra.
# Noctalia Shell (Paket `noctalia`, v5) bleibt als Desktop-Shell (Bar,
# Launcher, OSD) und wird hier ebenfalls installiert.
# Doku: https://docs.noctalia.dev/umbriel/
###############################################################################
echo "Installing Umbriel compositor + Noctalia Shell..."
FEDORA_VERSION="$(rpm -E %fedora)"
# Umbriel + Portal aus dem Terra-Repo (konfiguriert in 10-repos.sh,
# Signaturpruefung aktiv nach terra-gpg-keys Installation).
dnf5 install -y \
--allowerasing \
umbriel-nightly \
xdg-desktop-portal-umbriel-nightly
# Noctalia Shell + Desktop-Basis aus Fedora-Repos
dnf5 install -y \
--allowerasing \
noctalia \
flatpak \
adw-gtk3-theme \
dconf \
gsettings-desktop-schemas \
"f${FEDORA_VERSION}-backgrounds-base" \
"f${FEDORA_VERSION}-backgrounds-gnome" \
fedora-workstation-backgrounds \
gnome-backgrounds
dnf5 clean all
# User-Service fuer Umbriel (systemd --user) aktivieren
systemctl --global enable umbriel.service || true
# Terra nach der Installation wieder entfernen (Atomic-Prinzip)
rm -f /etc/yum.repos.d/terra*.repo /usr/share/dnf5/repos.d/terra*.repo
dnf5 clean all