]> git.rmz.io Git - dotfiles.git/commitdiff
bin: update steam wrapper
authorSamir Benmendil <me@rmz.io>
Thu, 20 Apr 2017 22:28:36 +0000 (23:28 +0100)
committerSamir Benmendil <me@rmz.io>
Thu, 20 Apr 2017 22:28:36 +0000 (23:28 +0100)
bin/steam

index 0c02d3c5c364a685be93e51e4a76987562c76ddb..206d8c87e38ed8b7ae81dd631889adf557d11b70 100755 (executable)
--- a/bin/steam
+++ b/bin/steam
@@ -6,6 +6,6 @@ export STEAMWM_GROUP_WINDOWS=1
 export STEAMWM_SET_WINDOW_TYPE=1
 export STEAMWM_MANAGE_ERRORS=1
 
-export LD_PRELOAD="/home/ramsi/src/steamwm/steamwm/64/steamwm.so:$LD_PRELOAD"
-
-exec /usr/bin/steam ${1:-"steam://open/games/"}
+# see https://chakraos.org/wiki/index.php?title=Steam#Missing_Direct_Rendering
+export LD_PRELOAD='/home/ramsi/src/steamwm/steamwm/$LIB/steamwm.so /usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so'
+exec /usr/lib/steam/steam "${@:-"steam://open/games/"}"