Added log and lock screen config.

This commit is contained in:
proledatarian 2022-12-12 20:19:56 +00:00
parent 27fd440e95
commit 7e2d0b7260
1 changed files with 22 additions and 0 deletions

View File

@ -14,6 +14,9 @@
# $pwrt = root password
# $pwcr = encryption password
exec >> >(tee -i /tmp/install.log)
exec 2>&1
clear
# Friendly introduction.
@ -374,6 +377,25 @@ EOF
echo "Done."
echo
# Adding sddm config.
cat << EOF > /mnt/etc/sddm.conf.d/kde_settings.conf
[Autologin]
Relogin=false
Session=plasma
User=$user
[General]
HaltCommand=/usr/bin/systemctl poweroff
RebootCommand=/usr/bin/systemctl reboot
[Theme]
Current=breeze
[Users]
MaximumUid=60513
MinimumUid=1000
EOF
# Unmounting and rebooting.
echo "Unmounting system.."
umount /mnt/boot &&