diff --git a/configs/shell/zsh/.gamescope/configs.sh b/configs/shell/zsh/.gamescope/configs.sh new file mode 100755 index 0000000..b0030c5 --- /dev/null +++ b/configs/shell/zsh/.gamescope/configs.sh @@ -0,0 +1,8 @@ +#!/usr/bin/env bash + +export WIDTH=1920 +export HEIGHT=1080 +export REFRESH_RATE=75 + +export PCSX2=~/Games/Pcsx2/pcsx2.AppImage +export RPCS3=~/Games/Pcsx2/rpcs3.AppImage diff --git a/configs/shell/zsh/.gamescope/pcsx2.sh b/configs/shell/zsh/.gamescope/pcsx2.sh new file mode 100755 index 0000000..fedceb9 --- /dev/null +++ b/configs/shell/zsh/.gamescope/pcsx2.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +source ~/.gamescope/utils/main.sh +source ~/.gamescope/configs.sh + +run_os() { + MANGOHUD=1 gamescope -W 1920 -H 1080 -f -F fsr -- $PCSX2 -fullscreen -bigpicture +} + +run_os diff --git a/configs/shell/zsh/.gamescope/steam.sh b/configs/shell/zsh/.gamescope/steam.sh new file mode 100755 index 0000000..0679864 --- /dev/null +++ b/configs/shell/zsh/.gamescope/steam.sh @@ -0,0 +1,10 @@ +#!/usr/bin/env bash + +source ~/.gamescope/utils/main.sh +source ~/.gamescope/configs.sh + +run_os() { + MANGOHUD=1 STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W $WIDTH -H $HEIGHT -r $REFRESH_RATE -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck +} + +run_os diff --git a/configs/shell/zsh/.steam-os/main.sh b/configs/shell/zsh/.gamescope/utils/main.sh similarity index 63% rename from configs/shell/zsh/.steam-os/main.sh rename to configs/shell/zsh/.gamescope/utils/main.sh index 926f238..4def6a7 100755 --- a/configs/shell/zsh/.steam-os/main.sh +++ b/configs/shell/zsh/.gamescope/utils/main.sh @@ -16,14 +16,4 @@ run_services() { check_and_start "wireplumber" "/usr/bin/wireplumber" } -run_steamos() { - local WIDTH=1920 - local HEIGHT=1080 - local REFRESH_RATE=75 - - MANGOHUD=1 STEAM_MULTIPLE_XWAYLANDS=1 gamescope -W $WIDTH -H $HEIGHT -r $REFRESH_RATE -e --xwayland-count 2 --adaptive-sync -- steam -gamepadui -steamdeck -} - run_services - -run_steamos