mirror of
https://github.com/ublue-os/bazzite.git
synced 2025-03-29 22:20:21 +00:00
fix(deck): Disable desktop-autologin from gamescope-autologin directly
After Steam has updated, outright disable desktop-autologin if it's enabled
This commit is contained in:
parent
ebfd9782da
commit
975986f849
@ -15,4 +15,7 @@ fi
|
||||
if [[ -f /var/home/$USER/.local/share/Steam/ubuntu12_32/steamui.so ]]; then
|
||||
sed -i 's/.*Session=.*/Session=gamescope-session.desktop/g' ${SDDM_CONF}
|
||||
sed -i 's/.*User=.*/User='${USER}'/g' ${SDDM_CONF}
|
||||
if systemctl is-enabled --quiet desktop-autologin; then
|
||||
systemctl disable --now desktop-autologin
|
||||
fi
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user