#!/usr/bin/env bash## This is the Steam script that typically resides in /usr/bin# It will create the Steam bootstrap if necessary and then launch steam.

# Get the full name of this scriptexport STEAMSCRIPT="$(cd "${0%/*}" && echo "$PWD")/${0##*/}"

# When this version is incremented a new package will be deployed to:#http://repo.steampowered.com/steam# and an e-mail will be sent to the steam package update mailing list:#steamrepo@list.valvesoftware.com# You can subscribe to this list at:# https://list.valvesoftware.com/mailman/listinfo/steamrepoexport STEAMSCRIPT_VERSION=100049

# put the Steam icon on the user's desktop# try to read ~/.config/user-dirs.dirs to get the current desktop configuration# http://www.freedesktop.org/wiki/Software/xdg-user-dirstest -f "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs" && source "${XDG_CONFIG_HOME:-$HOME/.config}/user-dirs.dirs"DESKTOP_DIR="${XDG_DESKTOP_DIR:-$HOME/Desktop}"