Dotfiles/setup/modules/Desktop-Environments
Amir Alexander Abdelbaki 3e51579564 fix(desktop-environments): missing EWW build dep + non-idempotent clone
Found via a fresh-install test in a QEMU VM using the repo's answerfile
system (hyprlua, tablet/touch eww bar variant).

1. hyprlua.sh/hyprland.sh/niri.sh all compile EWW (GTK3) from source but
   never installed gtk-layer-shell — only gtk4-layer-shell, which is a
   separate package for astal-menu's GTK4 surface. Every fresh install
   failed at the gtk-layer-shell-sys build script with a pkg-config
   error ("gtk-layer-shell-0 ... was not found").

2. The EWW `git clone` isn't idempotent: a leftover ~/install-tmp/eww
   from an earlier interrupted/retried install (e.g. the failure above)
   makes the next clone abort with "already exists and is not an empty
   directory", killing the whole script under set -e. `rm -rf eww`
   before cloning fixes retries.

Both reproduced and fixed directly in the test VM before being applied
here: installing gtk-layer-shell and clearing the stale checkout let
the same run complete successfully.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01TLz6HWsXCwzQ97LrLt2em6
2026-07-09 12:56:24 +02:00
..
cosmic.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
gnome.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
hyprland.sh fix(desktop-environments): missing EWW build dep + non-idempotent clone 2026-07-09 12:56:24 +02:00
hyprlua.sh fix(desktop-environments): missing EWW build dep + non-idempotent clone 2026-07-09 12:56:24 +02:00
kde-plasma.sh chore: add inline comments across all modules and configs 2026-06-25 13:07:06 +02:00
lxqt.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00
niri.sh fix(desktop-environments): missing EWW build dep + non-idempotent clone 2026-07-09 12:56:24 +02:00
sway.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00
xfce.sh feat(installer): add structured logging to all modules and installers 2026-05-22 01:44:31 +02:00