feat(deck): Always log into steam gaming mode on first boot

This commit is contained in:
Kyle Gospodnetich 2024-09-12 21:33:01 -07:00 committed by GitHub
parent d62cb24ae1
commit 14cb28a7c4
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -17,7 +17,7 @@ if [[ -f ${AUTOLOGIN_CONF} ]]; then
fi
# Configure autologin if Steam has been updated
if [[ ! -f ${DESKTOP_AUTOLOGIN} && -f $HOME/.local/share/Steam/ubuntu12_32/steamui.so ]]; then
if [[ ! -f ${DESKTOP_AUTOLOGIN} ]]; then
sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF}
elif [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
sed -i 's/.*Session=.*/Session=plasma.desktop/g' ${SDDM_CONF}