mirror of
https://github.com/theupriser/steamify-cachyos.git
synced 2026-10-15 21:15:24 +02:00
Restart GNOME logs in to GNOME, not the account's default session (gaming mode after the conversion); the default is put back afterwards
Sync git.upriser.nl mirror / sync (push) Skipped
Sync git.upriser.nl mirror / sync (push) Skipped
This commit is contained in:
1 parent
4b601bb196
commit
49fba4af82
4 files changed
+42
-3
No files matched your search
+1
-1
@@ -123,7 +123,7 @@ gnometheme_relogin() {
|
||||
# steamos-session-select, which would make GNOME the one gaming mode's boot goes back to). Without that helper there
|
||||
# is no autologin: a plain logout, and the user logs in again.
|
||||
local helper=/usr/local/libexec/steamify-gdm-relogin
|
||||
if [[ -x "$helper" ]] && sudo -n "$helper"; then return 0; fi
|
||||
if [[ -x "$helper" ]] && sudo -n "$helper" "${XDG_SESSION_DESKTOP:-gnome}"; then return 0; fi
|
||||
gnome-session-quit --logout --no-prompt
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user