mirror of
https://github.com/ChrisTitusTech/linutil.git
synced 2024-11-22 05:12:27 +00:00
Xorg setup
This commit is contained in:
parent
f5532d1623
commit
71abf56038
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue
Block a user