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 end_of_line = lf
insert_final_newline = true insert_final_newline = true
indent_size = 2
# Matches multiple files with brace expansion notation # Matches multiple files with brace expansion notation
[*.{sh,py,yml}] [*.{sh,py,yml}]

View File

@ -24,7 +24,6 @@ networkmanager
eog eog
python python
python-pip python-pip
gdm
neofetch neofetch
git git
scrot scrot
@ -87,3 +86,4 @@ blueman
pulseaudio-bluetooth pulseaudio-bluetooth
bluez bluez
bluez-libs 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 # delete target, create dirs if they don't exist yet and finally symlink the dir
function linkDir { function linkDir {
rm -rf "$2"; rm -rf "$2"
mkdir -p "${2%/*}" mkdir -p "${2%/*}"
ln -sf "$1" "$2" ln -sf "$1" "$2"
} }
@ -133,7 +133,6 @@ function install_dependencies {
fileToList dependencies/npm.txt | xargs sudo npm install -g fileToList dependencies/npm.txt | xargs sudo npm install -g
} }
# ======================================= # =======================================
# User output functions # User output functions
# ======================================= # =======================================
@ -177,7 +176,6 @@ function computer {
echo "" echo ""
} }
# ======================================= # =======================================
# Main loop # Main loop
# ======================================= # =======================================
@ -203,9 +201,10 @@ if ask "Do you want to install the fonts?" Y; then
install_fonts install_fonts
fi fi
# ask to enable gdm # ask to enable the display manager
if ask "Do you want to enable GDM?" Y; then if ask "Do you want to enable sddm?" Y; then
sudo systemctl enable gdm.service sudo systemctl set-default graphical.target
sudo systemctl enable sddm.service
fi fi
clear clear
@ -227,4 +226,4 @@ select opt in "$PWD/computers"/*; do
done done
clear 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 :)"