fix: steam os shell file

This commit is contained in:
hesam-init 2024-03-18 19:14:26 +03:30
parent d2b6bf1dce
commit 9315da46e4

View file

@ -1,16 +1,15 @@
#!/usr/bin/env bash #!/usr/bin/env bash
run_services() { run_services() {
exec dbus-update-activation-environment --all exec $HOME/.config/scripts/pipewire.sh
exec ~/.config/scripts/pipewire.sh
} }
run_steamos() { run_steamos() {
local width=1600 local WIDTH=1600
local height=900 local HEIGHT=900
local refresh_rate=75 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 run_services