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

47 lines
1.7 KiB
Bash
Raw Normal View History

#!/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 direkt aus dem Terra-Repo installieren (mit --repofrompath,
# da das Terra-Repo-File aus 10-repos.sh ggf. nicht zuverlaessig gefunden wird).
# --nogpgcheck noetig fuer das Bootstrap (Terra-GPG-Key erst durch terra-release).
dnf5 install -y \
--allowerasing \
--nogpgcheck \
--repofrompath "terra,https://repos.fyralabs.com/terra${FEDORA_VERSION}" \
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