Skip to content

Commit

Permalink
Fix return session file set and add session name
Browse files Browse the repository at this point in the history
  • Loading branch information
Samsagax committed Jul 21, 2023
1 parent 13ab910 commit 28f521e
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions rootfs/usr/lib/os-session-select
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,13 @@ if [[ -z $SENTINEL_CREATED ]]; then
)

return_session=$(grep autologin-session $CONF_FILE | cut -d = -f 2)
{
return_session=$(
cd "$HOME"
mkdir -p "$config_dir"
cd "$config_dir"
echo "$return_session" > "$RETURN_SESSION_FILE"
}
cat "$RETURN_SESSION_FILE"
)

# clear steam game desktop shortcut clutter
DATA_HOME=${XDG_DATA_HOME:-$HOME/.local/share}
Expand Down Expand Up @@ -76,7 +77,7 @@ case "$session" in
session_launcher="gamepadui-with-qam-session"
create_sentinel=1
;;
gamescope)
gamescope|gamescope-session)
session_launcher="gamescope-session"
create_sentinel=1
;;
Expand Down

0 comments on commit 28f521e

Please sign in to comment.