mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-02-22 21:40:35 +00:00
feat(deck): Always log into steam gaming mode on first boot
This commit is contained in:
parent
d62cb24ae1
commit
14cb28a7c4
@ -17,7 +17,7 @@ if [[ -f ${AUTOLOGIN_CONF} ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Configure autologin if Steam has been updated
|
# 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}
|
sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF}
|
||||||
elif [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
|
elif [[ ${BASE_IMAGE_NAME} =~ "kinoite" ]]; then
|
||||||
sed -i 's/.*Session=.*/Session=plasma.desktop/g' ${SDDM_CONF}
|
sed -i 's/.*Session=.*/Session=plasma.desktop/g' ${SDDM_CONF}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user