Files
fedora/modules/twm/niri.sh
T
Pathfinder 80d9dccb61 niri module: noctalia now in Fedora repos, drop Terra dependency
noctalia 5.3.0 is in the Fedora 44 updates repo (confirmed on
packages.fedoraproject.org and by a fresh-install dnf install noctalia).
The niri module no longer calls add_terra_repo; Terra stays in the base
section and in the mango module, which is the only consumer left
(mangowc). README + comments updated.
2026-10-27 11:43:48 +01:00

32 lines
972 B
Bash
Executable File

#!/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: Niri"
rule
# Noctalia is in the Fedora repos since F44 (noctalia 5.3.0 in updates) —
# no third-party repo needed for this module. (Terra stays in the base
# section; mangowc still requires it.)
info "Installing Niri + Noctalia..."
install_packages niri noctalia fuzzel alacritty
# niri is Wayland-only; this lets X11 apps run inside it
install_optional xwayland-satellite
install_optional xdg-desktop-portal-wlr
install_session_prereqs
install_nerd_font JetBrainsMono
# niri ships /usr/share/wayland-sessions/niri.desktop itself, so no entry needed.
install_packages sddm
switch_display_manager sddm
ok "Niri setup complete. Log out and pick Niri in SDDM."