Modifed I38 and convert to server to match latest images.
This commit is contained in:
@@ -13,6 +13,10 @@ dialog --backtitle "Configure Stormux" \
|
||||
fi
|
||||
|
||||
sudoFlags=("${sudoFlags[@]}")
|
||||
yaySudoArgs=()
|
||||
if [[ ${#sudoFlags[@]} -gt 0 ]]; then
|
||||
yaySudoArgs=(--sudoflags "${sudoFlags[*]}")
|
||||
fi
|
||||
|
||||
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
|
||||
@@ -75,38 +79,55 @@ Would you like to remove the lock and continue?" -1 -1 --stdout; then
|
||||
fi
|
||||
fi
|
||||
|
||||
for packageName in \
|
||||
serverRemovalPackages=(
|
||||
alsa-firmware \
|
||||
alsa-utils \
|
||||
bluez \
|
||||
bluez-utils \
|
||||
brltty \
|
||||
cthulhu \
|
||||
espeak-ng \
|
||||
fenrir \
|
||||
fenrir-git \
|
||||
gstreamer \
|
||||
gst-plugins-base \
|
||||
gst-plugins-good \
|
||||
i38 \
|
||||
ii \
|
||||
magic-wormhole \
|
||||
nodm-dgw \
|
||||
pipewire \
|
||||
pipewire-alsa \
|
||||
pipewire-jack \
|
||||
pipewire-pulse \
|
||||
poppler \
|
||||
python-evdev \
|
||||
python-dbus \
|
||||
python-pyte \
|
||||
python-evdev \
|
||||
python-gobject \
|
||||
python-msgpack \
|
||||
python-pyenchant \
|
||||
python-pyte \
|
||||
python-pyperclip \
|
||||
python-tornado \
|
||||
realtime-privileges \
|
||||
rhvoice-voice-bdl \
|
||||
screen \
|
||||
socat \
|
||||
sox \
|
||||
speech-dispatcher \
|
||||
w3m-git \
|
||||
wireplumber \
|
||||
xdg-user-dirs \
|
||||
xdg-utils ; do
|
||||
yay -Runcds --noconfirm "$packageName" &> /dev/null
|
||||
xdg-utils \
|
||||
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
|
||||
|
||||
rm -rfv ~/.config
|
||||
|
||||
@@ -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.")"
|
||||
|
||||
Reference in New Issue
Block a user