From aa31fa716e7980bad894faadec63e1feef4462dd Mon Sep 17 00:00:00 2001 From: sugoidogo Date: Wed, 25 Feb 2026 23:39:07 -0800 Subject: [PATCH] include environment variables from session scripts --- .../share/gamescope-session-nested/gamescope-session-nested.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.local/share/gamescope-session-nested/gamescope-session-nested.sh b/.local/share/gamescope-session-nested/gamescope-session-nested.sh index f3ca859..7fa0fb4 100644 --- a/.local/share/gamescope-session-nested/gamescope-session-nested.sh +++ b/.local/share/gamescope-session-nested/gamescope-session-nested.sh @@ -8,6 +8,9 @@ if pgrep -x steam; then steam -shutdown; fi while pgrep -x steam; do sleep 1; done pkill -xe gamescope || true +$(grep export /usr/lib/steamos/gamescope-session) +$(grep export /usr/share/gamescope-session-plus/gamescope-session-plus) + gamescope -W $SCREEN_WIDTH -H $SCREEN_HEIGHT -fe -- steam -steamos3 -steampal -steamdeck -gamepadui systemd-run --user \