Modifed I38 and convert to server to match latest images.

This commit is contained in:
Storm Dragon
2026-06-30 20:23:35 -04:00
parent 8004c888e6
commit 8815129106
2 changed files with 31 additions and 6 deletions
+5 -1
View File
@@ -6,6 +6,10 @@ if [[ "$(whoami)" == "root" ]]; then
fi
sudoFlags=("${sudoFlags[@]}")
yaySudoArgs=()
if [[ ${#sudoFlags[@]} -gt 0 ]]; then
yaySudoArgs=(--sudoflags "${sudoFlags[*]}")
fi
confirmRemoval="$(yesno "This will remove the I38 desktop, disable GUI startup, remove the XLibre desktop packages installed for I38, and delete generated I38 configuration from your account. Continue?")"
if [[ "$confirmRemoval" != "Yes" ]]; then
@@ -44,7 +48,7 @@ for packageName in "${packages[@]}"; do
done
if [[ ${#installedPackages[@]} -gt 0 ]]; then
yay --sudoflags "${sudoFlags[@]}" --noconfirm -Rns "${installedPackages[@]}"
yay "${yaySudoArgs[@]}" --noconfirm -Rns "${installedPackages[@]}"
fi
removeConfig="$(yesno "Delete generated I38 files from $HOME? This removes ~/.config/i3, ~/.xinitrc, ~/.xprofile, and ~/git/I38 if present.")"