fix(modules): remove invalid wprs from core packages; DEs use curl not wget

Live VM test revealed the HyprLua DE install aborted at the cursor-download step
("wget: command not found", exit 127), leaving ~/.config/hypr undeployed. Two
root causes:

1. core-packages.sh listed `wprs` in the pacman array, but wprs is AUR-only
   (wprs-git). pacman aborts the ENTIRE transaction on an unknown target, so the
   whole core-packages install failed with "target not found: wprs" — and NONE
   of the core packages installed, including wget. Removed wprs (it has its own
   optional wprs.sh AUR module) and documented why it must never be re-added.

2. hyprlua/hyprland/niri downloaded the cursor theme and wallpaper with wget,
   which is not part of the base system. Switched them to curl (always present),
   so the DE install no longer depends on an earlier module having installed wget.

Without these, HyprLua silently half-installed (packages yes, config no) and the
booted system had no Hyprland configuration.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01R5kHioUMK3mtf2eiLEozCM
main
Amir Alexander Abdelbaki 2026-06-27 03:05:11 +02:00
parent 6251eb8218
commit a9796bb036
4 changed files with 12 additions and 9 deletions

View File

@ -31,7 +31,7 @@
# 12. Udiskie tray-icon symlink fix # 12. Udiskie tray-icon symlink fix
# 13. config-updater symlinks + apply-theme.sh # 13. config-updater symlinks + apply-theme.sh
# #
# Prerequisites: internet access, yay (AUR helper), rustup, git, wget, cargo. # Prerequisites: internet access, yay (AUR helper), rustup, git, curl, cargo.
# ============================================================================= # =============================================================================
# Exit immediately if any command fails — partial DE installs can leave the # Exit immediately if any command fails — partial DE installs can leave the
@ -280,7 +280,7 @@ sudo ln -sf /usr/bin/ksshaskpass /usr/lib/ssh/ssh-askpass
# may lag behind the upstream release schedule. # may lag behind the upstream release schedule.
log "Installing cursor theme..." log "Installing cursor theme..."
mkdir -p ~/.icons mkdir -p ~/.icons
wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \
https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz
# Extract directly into ~/.icons/ so the theme is immediately discoverable by # Extract directly into ~/.icons/ so the theme is immediately discoverable by
# Hyprland (via hyprcursor) and by GTK applications. # Hyprland (via hyprcursor) and by GTK applications.
@ -340,7 +340,7 @@ cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg
# Download the personalised wallpaper from the owner's Nextcloud instance. # Download the personalised wallpaper from the owner's Nextcloud instance.
# ?v=15 is a cache-buster version parameter on the Nextcloud theming API. # ?v=15 is a cache-buster version parameter on the Nextcloud theming API.
wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# 12. Python venv for scripts # 12. Python venv for scripts

View File

@ -34,7 +34,7 @@
# 12. Udiskie tray-icon symlink fix # 12. Udiskie tray-icon symlink fix
# 13. config-updater symlinks + apply-theme.sh # 13. config-updater symlinks + apply-theme.sh
# #
# Prerequisites: internet access, yay (AUR helper), rustup, git, wget, cargo. # Prerequisites: internet access, yay (AUR helper), rustup, git, curl, cargo.
# ============================================================================= # =============================================================================
# Exit immediately on any error — partial DE installs leave a broken system. # Exit immediately on any error — partial DE installs leave a broken system.
@ -302,7 +302,7 @@ fi
# build can lag behind upstream. # build can lag behind upstream.
log "Installing cursor theme..." log "Installing cursor theme..."
mkdir -p ~/.icons mkdir -p ~/.icons
wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \
https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz
# Extract into ~/.icons/ so both Hyprland (hyprcursor) and GTK apps can find it. # Extract into ~/.icons/ so both Hyprland (hyprcursor) and GTK apps can find it.
tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/ tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/
@ -361,7 +361,7 @@ cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg
# Download the personalised wallpaper from the owner's Nextcloud instance. # Download the personalised wallpaper from the owner's Nextcloud instance.
# ?v=15 is a cache-buster on the Nextcloud theming background API endpoint. # ?v=15 is a cache-buster on the Nextcloud theming background API endpoint.
wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg
# --------------------------------------------------------------------------- # ---------------------------------------------------------------------------
# 12. Python venv for scripts # 12. Python venv for scripts

View File

@ -89,7 +89,7 @@ fi
# 7. Cursor setup # 7. Cursor setup
log "Installing cursor theme..." log "Installing cursor theme..."
mkdir -p ~/.icons mkdir -p ~/.icons
wget -O ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \ curl -fL -o ~/install-tmp/Nordzy-cursors-lefthand.tar.gz \
https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz https://github.com/guillaumeboehm/Nordzy-cursors/releases/download/v2.3.0/Nordzy-cursors-lefthand.tar.gz
tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/ tar -zxf ~/install-tmp/Nordzy-cursors-lefthand.tar.gz -C ~/.icons/
@ -119,7 +119,7 @@ enable_service greetd.service
log "Copying wallpaper and resources..." log "Copying wallpaper and resources..."
mkdir -p ~/Pictures ~/Pictures/Screenshots mkdir -p ~/Pictures ~/Pictures/Screenshots
cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg cp ~/Dotfiles/resources/fflogo.svg ~/Pictures/fflogo.svg
wget "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -O ~/Pictures/background.jpg curl -fL "https://cloud.abdelbaki.eu/apps/theming/image/background?v=15" -o ~/Pictures/background.jpg
# 12. Python venv for scripts # 12. Python venv for scripts
log "Setting up Python venv for scripts..." log "Setting up Python venv for scripts..."

View File

@ -154,7 +154,10 @@ CORE_PACKAGES=(
wireplumber # Session/policy manager for PipeWire (required for audio) wireplumber # Session/policy manager for PipeWire (required for audio)
wireless_tools # Legacy iwconfig, iwlist — sometimes needed for troubleshooting wireless_tools # Legacy iwconfig, iwlist — sometimes needed for troubleshooting
wpa_supplicant # WPA2/WPA3 supplicant for WiFi authentication wpa_supplicant # WPA2/WPA3 supplicant for WiFi authentication
wprs # Wayland proxy for running X11 apps in Wayland sessions # NOTE: wprs is NOT in the official repos (AUR: wprs-git). It must never be
# listed here — pacman aborts the ENTIRE transaction on an unknown target, so
# one AUR entry would prevent every core package (wget, etc.) from installing.
# Install it via the optional wprs.sh module (which uses yay) instead.
# ── File manager & archive ──────────────────────────────────────────────── # ── File manager & archive ────────────────────────────────────────────────
yazi # Terminal file manager with image preview and fuzzy search yazi # Terminal file manager with image preview and fuzzy search