From 9315da46e4502b645780015d0c9581e27e98f476 Mon Sep 17 00:00:00 2001 From: hesam-init Date: Mon, 18 Mar 2024 19:14:26 +0330 Subject: [PATCH] fix: steam os shell file --- configs/sh/.steam-os/main.sh | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/configs/sh/.steam-os/main.sh b/configs/sh/.steam-os/main.sh index e5f253b..0bd9da3 100755 --- a/configs/sh/.steam-os/main.sh +++ b/configs/sh/.steam-os/main.sh @@ -1,16 +1,15 @@ #!/usr/bin/env bash run_services() { - exec dbus-update-activation-environment --all - exec ~/.config/scripts/pipewire.sh + exec $HOME/.config/scripts/pipewire.sh } run_steamos() { - local width=1600 - local height=900 - local refresh_rate=75 + local WIDTH=1600 + local HEIGHT=900 + local REFRESH_RATE=75 - STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W "$width" -H "$height" -r "$refresh_rate" -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck + STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W $WIDTH -H $HEIGHT -r $REFRESH_RATE -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck } run_services