]> git.rmz.io Git - dotfiles.git/blobdiff - bin/steam
lazyvim: absorb keymaps
[dotfiles.git] / bin / steam
index cc5fb249fc9b2ae2dc2c49d7a91095ef6c08c11a..e7381484e8de33c47f5e09e2556d97d2f6a953a2 100755 (executable)
--- 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.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