From 74b340a63a43d11d73d83877926bb0dc79b9df91 Mon Sep 17 00:00:00 2001 From: tavo-wasd Date: Sun, 27 Aug 2023 16:54:58 -0600 Subject: [PATCH] gaming --- .gitignore | 2 ++ shell/xdgspec | 1 + wrappers/steam | 4 +++- 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 10dcbb6..28cc1de 100644 --- a/.gitignore +++ b/.gitignore @@ -139,3 +139,5 @@ Thunar/ kid3rc gtk-3.0/bookmarks inkscape/ +0ad/ +supertuxkart/ diff --git a/shell/xdgspec b/shell/xdgspec index 3f0f673..d98d328 100644 --- a/shell/xdgspec +++ b/shell/xdgspec @@ -18,6 +18,7 @@ export \ WGETRC="$XDG_CONFIG_HOME/wget/wgetrc" \ ELECTRUMDIR="$XDG_DATA_HOME/electrum" \ CUDA_CACHE_PATH="$XDG_CACHE_HOME/nv" \ + WINEPREFIX="$XDG_DATA_HOME/wine" \ GOPATH="$XDG_DATA_HOME/go" \ alias \ diff --git a/wrappers/steam b/wrappers/steam index da47ac8..82101b9 100755 --- a/wrappers/steam +++ b/wrappers/steam @@ -2,4 +2,6 @@ HOME=$HOME/.local/share/Steam/xdgspec mkdir -p "$HOME" -exec /usr/bin/steam "$@" + +[ -e "/usr/bin/steam" ] && exec /usr/bin/steam "$@" +[ -e "/usr/games/steam" ] && exec /usr/games/steam "$@"