From 7e2d0b7260d6c6ca52ff189942ade309e5cabe71 Mon Sep 17 00:00:00 2001 From: proledatarian Date: Mon, 12 Dec 2022 20:19:56 +0000 Subject: [PATCH] Added log and lock screen config. --- install.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/install.sh b/install.sh index 6b0f3f2..4ceddde 100644 --- a/install.sh +++ b/install.sh @@ -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 &&