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
+26 -5
View File
@@ -13,6 +13,10 @@ dialog --backtitle "Configure Stormux" \
fi fi
sudoFlags=("${sudoFlags[@]}") sudoFlags=("${sudoFlags[@]}")
yaySudoArgs=()
if [[ ${#sudoFlags[@]} -gt 0 ]]; then
yaySudoArgs=(--sudoflags "${sudoFlags[*]}")
fi
dialog --backtitle "Configure Stormux" \ dialog --backtitle "Configure Stormux" \
--yesno "This will make catastrophic changes to your system. If you are not sure you want to do this, select no by pressing the letter n on your keyboard. Afterwards, you will only be able to login with an ssh key and there will be no screen reader.\nNote, configure-stormux will no longer be available." -1 -1 --stdout || exit 0 --yesno "This will make catastrophic changes to your system. If you are not sure you want to do this, select no by pressing the letter n on your keyboard. Afterwards, you will only be able to login with an ssh key and there will be no screen reader.\nNote, configure-stormux will no longer be available." -1 -1 --stdout || exit 0
@@ -75,38 +79,55 @@ Would you like to remove the lock and continue?" -1 -1 --stdout; then
fi fi
fi fi
for packageName in \ serverRemovalPackages=(
alsa-firmware \ alsa-firmware \
alsa-utils \ alsa-utils \
bluez \ bluez \
bluez-utils \ bluez-utils \
brltty \ brltty \
cthulhu \
espeak-ng \ espeak-ng \
fenrir \ fenrir \
fenrir-git \ fenrir-git \
gstreamer \ gstreamer \
gst-plugins-base \ gst-plugins-base \
gst-plugins-good \ gst-plugins-good \
i38 \
ii \ ii \
magic-wormhole \
nodm-dgw \
pipewire \ pipewire \
pipewire-alsa \ pipewire-alsa \
pipewire-jack \ pipewire-jack \
pipewire-pulse \ pipewire-pulse \
poppler \ poppler \
python-evdev \
python-dbus \ python-dbus \
python-pyte \ python-evdev \
python-gobject \
python-msgpack \
python-pyenchant \ python-pyenchant \
python-pyte \
python-pyperclip \ python-pyperclip \
python-tornado \
realtime-privileges \
rhvoice-voice-bdl \ rhvoice-voice-bdl \
screen \ screen \
socat \ socat \
sox \ sox \
speech-dispatcher \ speech-dispatcher \
w3m-git \
wireplumber \ wireplumber \
xdg-user-dirs \ xdg-user-dirs \
xdg-utils ; do xdg-utils \
yay -Runcds --noconfirm "$packageName" &> /dev/null xlibre-input-libinput \
xlibre-video-dummy-with-vt \
xlibre-video-fbdev \
xlibre-xserver \
xorg-xinit
)
for packageName in "${serverRemovalPackages[@]}"; do
yay "${yaySudoArgs[@]}" -Runcds --noconfirm "$packageName" &> /dev/null
done done
rm -rfv ~/.config rm -rfv ~/.config
+5 -1
View File
@@ -6,6 +6,10 @@ if [[ "$(whoami)" == "root" ]]; then
fi fi
sudoFlags=("${sudoFlags[@]}") 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?")" 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 if [[ "$confirmRemoval" != "Yes" ]]; then
@@ -44,7 +48,7 @@ for packageName in "${packages[@]}"; do
done done
if [[ ${#installedPackages[@]} -gt 0 ]]; then if [[ ${#installedPackages[@]} -gt 0 ]]; then
yay --sudoflags "${sudoFlags[@]}" --noconfirm -Rns "${installedPackages[@]}" yay "${yaySudoArgs[@]}" --noconfirm -Rns "${installedPackages[@]}"
fi fi
removeConfig="$(yesno "Delete generated I38 files from $HOME? This removes ~/.config/i3, ~/.xinitrc, ~/.xprofile, and ~/git/I38 if present.")" removeConfig="$(yesno "Delete generated I38 files from $HOME? This removes ~/.config/i3, ~/.xinitrc, ~/.xprofile, and ~/git/I38 if present.")"