mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-01-26 18:35:30 +00:00
Merge pull request #103 from ublue-os/fix-gs-autologin
fix: Avoid conflict between gamescope-autologin and session selector
This commit is contained in:
commit
06501acbc0
@ -4,6 +4,12 @@ USER=$(id -nu 1000)
|
||||
|
||||
# SteamOS SDDM config
|
||||
SDDM_CONF='/etc/sddm.conf.d/steamos.conf'
|
||||
AUTOLOGIN_CONF='/etc/sddm.conf.d/zz-steamos-autologin.conf'
|
||||
|
||||
# Avoid autologin conflict
|
||||
if [[ -f ${AUTOLOGIN_CONF} ]]; then
|
||||
rm -f ${AUTOLOGIN_CONF}
|
||||
fi
|
||||
|
||||
# Configure autologin
|
||||
sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF}
|
||||
|
Loading…
x
Reference in New Issue
Block a user