Skip to content

Commit

Permalink
Fix session switcher script call and names
Browse files Browse the repository at this point in the history
  • Loading branch information
Samsagax committed Jul 21, 2023
1 parent d9f4af9 commit 13ab910
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions rootfs/usr/bin/gnome-session-oneshot
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ function check_return()
cd "$config_dir"
revert_value="$(cat "$RETURN_SESSION_FILE")"
case "$revert_value" in
opengamepadui-session|gamepadui-with-qam|gamescope)
opengamepadui-session|gamepadui-with-qam-session|gamescope-session)
echo "$revert_value"
;;
*)
Expand Down Expand Up @@ -73,7 +73,7 @@ if CONFIGURED_CHAINED_SESSION=$(check_sentinel); then
exec "$CONFIGURED_CHAINED_SESSION"
else
if CONFIGURED_RETURN_SESSION=$(check_return); then
/usr/bin/os-session-select "$CONFIGURED_RETURN_SESSION"
/usr/lib/os-session-select "$CONFIGURED_RETURN_SESSION"
fi
# Session restore should've stopped us, if it is broken at least let plasma continue to open

Expand Down

0 comments on commit 13ab910

Please sign in to comment.