chore(autologin): Remove redundant sddm.conf removal

This commit is contained in:
RJ Trujillo 2023-07-18 19:27:49 -06:00
parent c1ac54c1c7
commit c612d140cb
2 changed files with 0 additions and 10 deletions

View File

@ -8,8 +8,3 @@ SDDM_CONF='/etc/sddm.conf.d/steamos.conf'
# Configure autologin
sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF}
sed -i 's/.*User=.*/User='${USER}'/g' ${SDDM_CONF}
# Remove sddm.conf if it exists
if [ -f '/etc/sddm.conf' ]; then
rm -f /etc/sddm.conf
fi

View File

@ -8,8 +8,3 @@ SDDM_CONF='/etc/sddm.conf.d/steamos.conf'
# Configure autologin
sed -i 's/.*Session=.*/Session=plasmax11.desktop/g' ${SDDM_CONF}
sed -i 's/.*User=.*/User='${USER}'/g' ${SDDM_CONF}
# Remove sddm.conf if it exists
if [ -f '/etc/sddm.conf' ]; then
rm -f /etc/sddm.conf
fi