From b960f1903ab0080c30e0717ca32daaf85a1ded45 Mon Sep 17 00:00:00 2001 From: Dor dicke Gind Date: Sun, 24 Mar 2024 22:42:55 +0100 Subject: [PATCH] [TASK] update game-dummy with ulgwl + other stuff --- .../current_theme/plug-ins/systray/systray.conf | 2 +- .config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml | 2 +- Scripts/game-dummy.sh | 12 +++++++++--- 3 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.config/cairo-dock/current_theme/plug-ins/systray/systray.conf b/.config/cairo-dock/current_theme/plug-ins/systray/systray.conf index 168a916..b36bd2a 100644 --- a/.config/cairo-dock/current_theme/plug-ins/systray/systray.conf +++ b/.config/cairo-dock/current_theme/plug-ins/systray/systray.conf @@ -39,7 +39,7 @@ frame_pos= #{If locked, the desklet cannot be moved by simply dragging it with the left mouse button. It can still be moved with ALT + left-click.} locked=true -size=213;24 +size=186;24 #i[-2048;2048] Desklet position (x, y): #{Depending on your WindowManager, you may be able to move this with ALT + left-click.. Negative values are counted from the right/bottom of the screen} diff --git a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml index 7c1cb39..19982a5 100644 --- a/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml +++ b/.config/xfce4/xfconf/xfce-perchannel-xml/thunar.xml @@ -4,7 +4,7 @@ - + diff --git a/Scripts/game-dummy.sh b/Scripts/game-dummy.sh index f99aa62..0cf098a 100644 --- a/Scripts/game-dummy.sh +++ b/Scripts/game-dummy.sh @@ -41,8 +41,13 @@ fi if [ $# -eq 1 ]; then $command "$1" -elif [[ "$@" == *"SteamLaunch"* ]] || [[ "$@" == *"/Heroic/"* ]]; then +elif [[ "$@" == *"SteamLaunch"* ]] || [[ "$@" == *"/Heroic/"* ]] || [[ "$@" == *"/gamelauncher/"* ]]; then $command "$@" +elif [[ "$1" == "ulwgl" ]]; then + export GAMEID=123333 + cd /home/alex/git/ULWGL/ + echo $command ./gamelauncher.sh "$PROTON_PATH" "$EXECUTABLE_PATH" "$ARGUMENTS" + $command ./gamelauncher.sh "$PROTON_PATH" "$EXECUTABLE_PATH" "$ARGUMENTS" else export STEAM_COMPAT_CLIENT_INSTALL_PATH=/home/alex/.steam cd "$1" @@ -54,7 +59,6 @@ else fi fi - if [ "$4" != "true" ] && [[ "$wine" != *"proton"* ]]; then wine="$wine explorer /desktop=Game,${width}x${height}" fi @@ -73,8 +77,10 @@ else command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton8-25/proton run '$1$2'" elif [ "$wine" == "proton-ge-13" ]; then command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton8-13/proton run '$1$2'" - elif [ "$wine" == "proton-ge-32" ]; then + elif [ "$wine" == "proton-ge-32" ]; then command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton8-32/proton run '$1$2'" + elif [ "$wine" == "proton-ge-9" ]; then + command="$command /home/alex/.local/share/Steam/compatibilitytools.d/GE-Proton9-2/proton run '$1$2'" else command="$command $wine $2" fi