Xlibre integration added.

This commit is contained in:
Storm Dragon
2025-06-18 23:16:49 -04:00
parent 0606966eac
commit 419522c475
2 changed files with 166 additions and 5 deletions

View File

@ -15,17 +15,24 @@ case "${1}" in
esac
./.includes/toggle-screen.sh -n
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit
# Install X11Libre instead of Xorg
if ! install_xlibre; then
msgbox "X11Libre installation failed. Falling back to standard Xorg installation."
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-drivers xorg-server xorg-xinit
# replace xf86-video-dummy with xf86-video-dummy-with-vt for Xorg fallback
yay --noconfirm -Rdd xf86-video-dummy 2>/dev/null || true
url_install 'https://stormux.org/packages/xf86-video-dummy-with-vt-0.4.1-1-aarch64.pkg.tar.xz'
else
# X11Libre installed successfully, install remaining packages
install_package ${packages} firefox nodm-dgw orca speech-dispatcher xclip xorg-xinit
fi
# GUI bluetooth manager
if [[ "${architecture}" == "aarch64" ]]; then
install_package blueman
fi
# replace xf86-video-dummy with xf86-video-dummy-with-vt
yay --noconfirm -Rdd xf86-video-dummy
url_install 'https://stormux.org/packages/xf86-video-dummy-with-vt-0.4.1-1-aarch64.pkg.tar.xz'
# Configure nodm
sudo sed -i "s/{user}/$USER/g" /etc/nodm.conf