Dotfiles/setup/modules/optional-Modules/wprs.sh

15 lines
711 B
Bash
Executable File

#!/bin/bash
# set -euo pipefail: abort on errors, unset vars, and pipeline failures.
set -euo pipefail
source "$(dirname "${BASH_SOURCE[0]}")/../lib/logging.sh"
# wprs (Wayland Proxy for Remote Sessions) allows running Wayland compositors
# inside an existing Wayland session — useful for nested/remote desktop setups.
# The -git suffix means the AUR PKGBUILD tracks the upstream git HEAD rather
# than a tagged release, so it always builds the latest commit.
# --answerdiff None / --answerclean All suppress interactive PKGBUILD review
# prompts so the script can run fully unattended.
log "Installing wprs-git (AUR)..."
yay -S --answerdiff None --answerclean All --noconfirm wprs-git
log "wprs installed."