Xorg setup

This commit is contained in:
Chris Titus 2024-09-03 15:14:21 -05:00
parent f5532d1623
commit 71abf56038

View File

@ -171,9 +171,32 @@ configure_backgrounds() {
fi
}
setupDisplayManager() {
echo "Setting up Xorg"
case "$PACKAGER" in
pacman)
$ESCALATION_TOOL "$PACKAGER" -S --needed --noconfirm xorg-xinit xorg-server
;;
apt)
$ESCALATION_TOOL "$PACKAGER" install -y xorg xinit
;;
dnf)
$ESCALATION_TOOL "$PACKAGER" install -y xorg-x11-xinit xorg-x11-server-Xorg
;;
*)
echo "Unsupported package manager: $PACKAGER"
exit 1
;;
esac
echo "Xorg installed successfully"
echo "Setting up Display Manager"
}
checkEnv
checkEscalationTool
setupDisplayManager
setupDWM
makeDWM
install_nerd_font