From 9a4d409446720850e0e3fffe3888ac3ef47680fe Mon Sep 17 00:00:00 2001 From: Daniel Flanagan Date: Sat, 5 Nov 2016 01:10:21 -0500 Subject: [PATCH] steam script, minor changes --- env/x/xinitrc | 4 ++++ os/arch_linux/3-utils.bash | 3 +++ scripts/steam.bash | 3 +++ 3 files changed, 10 insertions(+) create mode 100755 scripts/steam.bash diff --git a/env/x/xinitrc b/env/x/xinitrc index 28424fd..3580f6f 100644 --- a/env/x/xinitrc +++ b/env/x/xinitrc @@ -20,6 +20,10 @@ if [ "$BAR_ON_XINIT" -eq 1 ]; then "$BAR_PATH/start.bash" & fi +if [ -d "/usr/lib/nvidia" ]; then + export LD_LIBRARY_PATH=/usr/lib/nvidia +fi + # fire up wm unclutter & sxhkd & diff --git a/os/arch_linux/3-utils.bash b/os/arch_linux/3-utils.bash index 38475db..565065f 100755 --- a/os/arch_linux/3-utils.bash +++ b/os/arch_linux/3-utils.bash @@ -40,10 +40,13 @@ pacaur -S \ rsync \ samba \ thunar-shares-plugin \ + elementary-icon-theme \ nmap \ pulseaudio-ctl \ pavucontrol \ alsa-plugins \ + nvidia-beta \ + lib32-nvidia-beta \ --noconfirm --noedit # sudo ln -s /usr/bin/google-chrome-unstable /usr/bin/chrome diff --git a/scripts/steam.bash b/scripts/steam.bash new file mode 100755 index 0000000..8c0fc99 --- /dev/null +++ b/scripts/steam.bash @@ -0,0 +1,3 @@ +#!/usr/bin/env bash + +LD_PRELOAD='/usr/$LIB/libstdc++.so.6 /usr/$LIB/libgcc_s.so.1 /usr/$LIB/libxcb.so.1 /usr/$LIB/libgpg-error.so' /usr/bin/steam