diff --git a/setup.sh b/setup.sh index d37489d..4da3e3c 100755 --- a/setup.sh +++ b/setup.sh @@ -647,11 +647,17 @@ info "Tailoring toolkits for DE=$DE / TWM=$TWM..." # right flavor -> nothing to do # OTHER flavor -> dnf SWAP to the wanted one (atomic: on failure the # existing flavor stays, which is the safe outcome) -if [[ "$DE" == "plasma" || "$TWM" == "hyprland" ]]; then - peazip_wanted="peazip-qt6" -else - # XFCE, GNOME, Niri, MangoWC, chadwm: lightweight/generic toolkits +# +# Flavor choice: PeaZip's GTK3 build is ALPHA (Lazarus GTK3 widgetset) — +# upstream ships it "for test purpose only", and it renders broken on +# non-GTK Wayland compositors (YuKu-proven on niri: broken UI until a +# manual swap to qt6). GTK3 therefore only for genuine GTK stacks +# (GNOME, XFCE); Qt6 everywhere else — including niri/MangoWC/Hyprland +# and chadwm (Qt6 handles both Wayland and X11 cleanly). +if [[ "$DE" == "gnome" || "$DE" == "xfce" ]]; then peazip_wanted="peazip-gtk3" +else + peazip_wanted="peazip-qt6" fi peazip_existing="" local_v=""