X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/b7edf3e3cbb62efb30af958a8b58781350ae9df2..a59aa3f7d15dae57e2d066e47af3556c46d9dac4:/bin/steam?ds=inline diff --git a/bin/steam b/bin/steam index 206d8c8..e738148 100755 --- a/bin/steam +++ b/bin/steam @@ -1,11 +1,5 @@ #!/bin/bash -export STEAMWM_FORCE_BORDERS=1 -export STEAMWM_PREVENT_MOVE=1 -export STEAMWM_GROUP_WINDOWS=1 -export STEAMWM_SET_WINDOW_TYPE=1 -export STEAMWM_MANAGE_ERRORS=1 - -# 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/"}" +steam_log=$XDG_DATA_HOME/Steam/steam_stdout.txt +[[ -f "$steam_log" ]] && mv "$steam_log"{,.old} +exec /usr/lib/steam/steam "${@:-"steam://open/games/"}" &> $steam_log