switch to sddm

This commit is contained in:
Rick van Lieshout 2022-05-03 14:41:51 +02:00
parent ea861dbbfa
commit 3768caaa76
3 changed files with 134 additions and 134 deletions

View File

@ -7,6 +7,7 @@ root = true
[*]
end_of_line = lf
insert_final_newline = true
indent_size = 2
# Matches multiple files with brace expansion notation
[*.{sh,py,yml}]

View File

@ -24,7 +24,6 @@ networkmanager
eog
python
python-pip
gdm
neofetch
git
scrot
@ -87,3 +86,4 @@ blueman
pulseaudio-bluetooth
bluez
bluez-libs
sddm

View File

@ -38,7 +38,7 @@ ask() {
# delete target, create dirs if they don't exist yet and finally symlink the dir
function linkDir {
rm -rf "$2";
rm -rf "$2"
mkdir -p "${2%/*}"
ln -sf "$1" "$2"
}
@ -133,7 +133,6 @@ function install_dependencies {
fileToList dependencies/npm.txt | xargs sudo npm install -g
}
# =======================================
# User output functions
# =======================================
@ -177,7 +176,6 @@ function computer {
echo ""
}
# =======================================
# Main loop
# =======================================
@ -203,9 +201,10 @@ if ask "Do you want to install the fonts?" Y; then
install_fonts
fi
# ask to enable gdm
if ask "Do you want to enable GDM?" Y; then
sudo systemctl enable gdm.service
# ask to enable the display manager
if ask "Do you want to enable sddm?" Y; then
sudo systemctl set-default graphical.target
sudo systemctl enable sddm.service
fi
clear
@ -227,4 +226,4 @@ select opt in "$PWD/computers"/*; do
done
clear
echo "Enjoy using my rice! Do not forget to select i3 in GDM :)"
echo "Enjoy using my rice! Do not forget to select i3 in sddm :)"