mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-13 20:35:40 +02:00
fix: the conversion removes single user mode's desktop autologin, which pinned the Plasma session
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01KkpbsMw4rQyBsxDG6ebHK2
This commit is contained in:
1 parent
77715f9f73
commit
d4bb4c4d92
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