mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-14 07:58:26 +02:00
fix: the conversion removes single user mode's desktop autologin, which pinned the Plasma session
This commit is contained in:
1 parent
5dc39b56c2
commit
46e4601389
3 files changed
+15
No files matched your search
@@ -140,6 +140,15 @@ EOF
|
||||
remove_sddm_base_autologin
|
||||
}
|
||||
|
||||
single_login_release() {
|
||||
# The SteamOS conversion logs in by itself, and picks the session (gamescope, or the desktop with "Boot into"): the
|
||||
# desktop autologin above, which sorts last, would pin the Plasma session and "Return to Gaming Mode" would open KDE
|
||||
# again. Called when the conversion is turned on; turning it off sets it up again (gaming_disable).
|
||||
[[ -f "$SINGLE_AUTOLOGIN" ]] || return 0
|
||||
info "The SteamOS conversion logs in by itself: removing the desktop autologin of single user mode."
|
||||
sudo rm -f "$SINGLE_AUTOLOGIN"
|
||||
}
|
||||
|
||||
single_login_disable() {
|
||||
[[ -f "$SINGLE_AUTOLOGIN" ]] || return 0
|
||||
sudo rm -f "$SINGLE_AUTOLOGIN"
|
||||
|
||||
Reference in new issue
Block a user