X-Git-Url: https://git.rmz.io/dotfiles.git/blobdiff_plain/03a711523fc1e28a99d06711717d77f8be19bfa1..a59aa3f7d15dae57e2d066e47af3556c46d9dac4:/bin/steam diff --git a/bin/steam b/bin/steam index 4822d9c..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_FIX_NET_WM_NAME=1 -export STEAMWM_GROUP_WINDOWS=1 -export STEAMWM_SET_WINDOW_TYPE=1 - -export LD_PRELOAD="/home/ramsi/src/steamwm/steamwm/steamwm.so:$LD_PRELOAD" - -exec /usr/bin/steam ${1:-"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