#!/bin/bash set -uo pipefail HERE="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" # shellcheck source=../../lib/common.sh source "$HERE/../../lib/common.sh" # shellcheck source=../../lib/session.sh source "$HERE/../../lib/session.sh" if is_debug; then set +e; else set -e; fi step "Tiling window manager: MangoWC" rule # MangoWC is not in the Fedora repos; it is packaged in Terra. add_terra_repo info "Installing MangoWC..." if ! sudo dnf install -y mangowc; then err "mangowc is not available from Terra on this release." err "Alternatives: copr dennemann/MangoWC, or build from source:" err " https://github.com/GravityShark/mangowc" exit 1 fi install_packages fuzzel alacritty install_optional xdg-desktop-portal-wlr install_optional xwayland-satellite install_session_prereqs install_nerd_font JetBrainsMono # MangoWC's session entry is not guaranteed by the package; write one if absent. write_wayland_session mangowc "MangoWC" "mangowc" install_packages sddm switch_display_manager sddm ok "MangoWC setup complete. Log out and pick MangoWC in SDDM."