[-] Remove sddm

This commit is contained in:
Simon Rieger 2022-10-04 19:42:55 +02:00
parent 6bd66306cd
commit 2bedf3087c
2 changed files with 0 additions and 19 deletions

View file

@ -635,17 +635,6 @@ if ! [ -f "/etc/X11/xorg.conf.d/40-libinput.conf" ]; then
ln -s /usr/share/X11/xorg.conf.d/40-libinput.conf /etc/X11/xorg.conf.d/40-libinput.conf
fi
# SDDM Config
# use for configuration kcmshell5 sddm or systemsettings5
cp /opt/${repo}/configs/sddm.conf /etc/sddm.conf
cp -R /opt/${repo}/configs/sddm.conf.d /etc/
cp -R /opt/${repo}/sddm-themes/sugar-candy /usr/share/sddm/themes/
sed -i 's/User=.*$/User='$user'/' /etc/sddm.conf.d/kde_settings.conf
#sed -i 's/Current=.*$/Current=\/usr\/share\/sddm\/themes\/maldives/' /etc/sddm.conf
sed -i 's/MinimumVT=.*$/MinimumVT=7/' /etc/sddm.conf
if ! grep 'setxkbmap' /usr/share/sddm/scripts/Xsetup; then
echo "setxkbmap de" >> /usr/share/sddm/scripts/Xsetup
fi

View file

@ -1590,14 +1590,6 @@ touch ${mountpoint}/home/"${user}"/.bash_profile
mkdir -p ${mountpoint}/etc/X11/xinit/
if [ ${autologin} != "n" ]; then
sed -i 's/User=.*$/User='$user'/' /etc/sddm.conf.d/kde_settings.conf
else
sed -i 's/User=.*$/User=/' /etc/sddm.conf.d/kde_settings.conf
fi
#sed -i 's/Current=.*$/Current=\/usr\/share\/sddm\/themes\/maldives/' /etc/sddm.conf
sed -i 's/MinimumVT=.*$/MinimumVT=7/' /etc/sddm.conf
if ! grep 'setxkbmap' /usr/share/sddm/scripts/Xsetup; then
echo "setxkbmap de" >> /usr/share/sddm/scripts/Xsetup
fi