#!/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: Hyprland" rule # hyprland was retired from the Fedora repos after F42 (dependency churn), # so the compositor comes from the solopasha COPR — the de facto standard. if ! pkg_installed hyprland; then info "Enabling copr: solopasha/hyprland..." sudo dnf copr enable -y solopasha/hyprland fi info "Installing Hyprland and its ecosystem..." install_packages hyprland xdg-desktop-portal-hyprland alacritty install_optional hyprpaper hypridle hyprlock waybar mako wofi xwayland-satellite install_session_prereqs install_nerd_font JetBrainsMono # The Fedora hyprland package ships hyprland.desktop in wayland-sessions. install_packages sddm switch_display_manager sddm ok "Hyprland setup complete. Log out and pick Hyprland in SDDM."